Class Rabbit.RabbitJumpControl
java.lang.Object
net.minecraft.world.entity.ai.control.JumpControl
net.minecraft.world.entity.animal.Rabbit.RabbitJumpControl
- All Implemented Interfaces:
Control
- Enclosing class:
Rabbit
-
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.ai.control.JumpControl
jump -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanJump()voidsetCanJump(boolean p_29759_) voidtick()booleanwantJump()Methods inherited from class net.minecraft.world.entity.ai.control.JumpControl
jump
-
Field Details
-
rabbit
-
canJump
private boolean canJump
-
-
Constructor Details
-
RabbitJumpControl
-
-
Method Details
-
wantJump
public boolean wantJump() -
canJump
public boolean canJump() -
setCanJump
public void setCanJump(boolean p_29759_) -
tick
public void tick()- Overrides:
tickin classJumpControl
-