diff --git a/common/src/main/java/dev/greenhouseteam/rapscallionsandrockhoppers/entity/behaviour/LeaveBoat.java b/common/src/main/java/dev/greenhouseteam/rapscallionsandrockhoppers/entity/behaviour/LeaveBoat.java index ded8eca..e0470e4 100644 --- a/common/src/main/java/dev/greenhouseteam/rapscallionsandrockhoppers/entity/behaviour/LeaveBoat.java +++ b/common/src/main/java/dev/greenhouseteam/rapscallionsandrockhoppers/entity/behaviour/LeaveBoat.java @@ -28,7 +28,7 @@ protected List, MemoryStatus>> getMemoryRequirements() @Override public boolean checkExtraStartConditions(ServerLevel level, Penguin penguin) { - if (penguin.tickCount < BrainUtils.getMemory(penguin, RockhoppersMemoryModuleTypes.HUNGRY_TIME) && penguin.getBoatToFollow().distanceTo(penguin) < 128.0) { + if (penguin.tickCount < BrainUtils.getMemory(penguin, RockhoppersMemoryModuleTypes.HUNGRY_TIME) && penguin.getBoatToFollow().distanceTo(penguin) < 32.0) { return false; } @@ -38,13 +38,13 @@ public boolean checkExtraStartConditions(ServerLevel level, Penguin penguin) { @Override public boolean shouldKeepRunning(Penguin penguin) { - return penguin.distanceToSqr(this.leavingBoatPos) < 64.0 * 64.0; + return penguin.distanceToSqr(this.leavingBoatPos) < 32.0 * 32.0; } @Override protected void start(Penguin penguin) { BrainUtils.setMemory(penguin, RockhoppersMemoryModuleTypes.BOAT_TO_FOLLOW, null); - Vec3 posAway = DefaultRandomPos.getPosAway(penguin, 14, 8, leavingBoatPos); + Vec3 posAway = DefaultRandomPos.getPosAway(penguin, 32, 8, leavingBoatPos); if (posAway != null) { BrainUtils.setMemory(penguin, MemoryModuleType.WALK_TARGET, new WalkTarget(posAway, 1.0F, 0)); }