Package net.minecraft.entity.passive
Class RabbitEntity.JumpHelperController
- java.lang.Object
-
- net.minecraft.entity.ai.controller.JumpController
-
- net.minecraft.entity.passive.RabbitEntity.JumpHelperController
-
- Enclosing class:
- RabbitEntity
public class RabbitEntity.JumpHelperController extends JumpController
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
canJump
private RabbitEntity
rabbit
-
Fields inherited from class net.minecraft.entity.ai.controller.JumpController
jump
-
-
Constructor Summary
Constructors Constructor Description JumpHelperController(RabbitEntity p_i45863_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canJump()
void
setCanJump(boolean p_180066_1_)
void
tick()
boolean
wantJump()
-
Methods inherited from class net.minecraft.entity.ai.controller.JumpController
jump
-
-
-
-
Field Detail
-
rabbit
private final RabbitEntity rabbit
-
canJump
private boolean canJump
-
-
Constructor Detail
-
JumpHelperController
public JumpHelperController(RabbitEntity p_i45863_2_)
-
-
Method Detail
-
wantJump
public boolean wantJump()
-
canJump
public boolean canJump()
-
setCanJump
public void setCanJump(boolean p_180066_1_)
-
tick
public void tick()
- Overrides:
tick
in classJumpController
-
-