Class BodyController

java.lang.Object
net.minecraft.entity.ai.controller.BodyController
Direct Known Subclasses:
PhantomEntity.BodyHelperController, ShulkerEntity.BodyHelperController

public class BodyController extends Object
  • Field Details

    • mob

      private final MobEntity mob
    • headStableTime

      private int headStableTime
    • lastStableYHeadRot

      private float lastStableYHeadRot
  • Constructor Details

    • BodyController

      public BodyController(MobEntity p_i50334_1_)
  • Method Details

    • clientTick

      public void clientTick()
    • rotateBodyIfNecessary

      private void rotateBodyIfNecessary()
    • rotateHeadIfNecessary

      private void rotateHeadIfNecessary()
    • rotateHeadTowardsFront

      private void rotateHeadTowardsFront()
    • notCarryingMobPassengers

      private boolean notCarryingMobPassengers()
    • isMoving

      private boolean isMoving()