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 TypeMethodDescriptionboolean
canJump()
void
setCanJump
(boolean p_29759_) void
tick()
boolean
wantJump()
Methods inherited from class net.minecraft.world.entity.ai.control.JumpControl
jump
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.entity.ai.control.Control
rotateTowards
-
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
-