Added Flying Code / Corrected Hidden Parts not Saving

Added a ton of code regarding Flying doesn't work correctly. Please Uncomment them by searching for

Comment: // Fly Change

Fixed Hidden Parts not Saving
This commit is contained in:
KAMKEEL committed 2021-07-10 00:48:03 -04:00
1 parent 7e7aaa805b
commit 3727d1af7a
18 files changed
+1365 -101

No files matched your search

@@ -50,6 +50,9 @@ public class EntityAIWander extends EntityAIBase
else{
this.xPosition = vec.xCoord;
this.yPosition = vec.yCoord;
// FLY CHANGE
if(entity.canFly())
this.yPosition = entity.getStartYPos() + entity.getRNG().nextFloat() * 0.75 * entity.ai.walkingRange;
this.zPosition = vec.zCoord;
}
}