Class Rabbit.RabbitMoveControl

java.lang.Object
net.minecraft.world.entity.ai.control.MoveControl
net.minecraft.world.entity.animal.Rabbit.RabbitMoveControl
All Implemented Interfaces:
Control
Enclosing class:
Rabbit

static class Rabbit.RabbitMoveControl extends MoveControl
  • Field Details

    • rabbit

      private final Rabbit rabbit
    • nextJumpSpeed

      private double nextJumpSpeed
  • Constructor Details

    • RabbitMoveControl

      public RabbitMoveControl(Rabbit pRabbit)
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class MoveControl
    • setWantedPosition

      public void setWantedPosition(double pX, double pY, double pZ, double pSpeed)
      Sets the speed and location to move to
      Overrides:
      setWantedPosition in class MoveControl