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
Fields inherited from class net.minecraft.world.entity.ai.control.JumpControl
jump
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canJump()
void
setCanJump(boolean p_29759_)
void
tick()
boolean
wantJump()
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:
tick
in classJumpControl
-