public class DolphinJumpGoal extends JumpGoal
Modifier and Type | Field and Description |
---|---|
private DolphinEntity |
field_220711_b |
private int |
field_220712_c |
private boolean |
field_220713_d |
private static int[] |
JUMP_DISTANCES |
Constructor and Description |
---|
DolphinJumpGoal(DolphinEntity p_i50329_1_,
int p_i50329_2_) |
Modifier and Type | Method and Description |
---|---|
private boolean |
canJumpTo(BlockPos pos,
int dx,
int dz,
int scale) |
private boolean |
isAirAbove(BlockPos pos,
int dx,
int dz,
int scale) |
boolean |
isPreemptible() |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, setMutexFlags, toString
private static final int[] JUMP_DISTANCES
private final DolphinEntity field_220711_b
private final int field_220712_c
private boolean field_220713_d
public DolphinJumpGoal(DolphinEntity p_i50329_1_, int p_i50329_2_)
public boolean shouldExecute()
shouldExecute
in class Goal
private boolean canJumpTo(BlockPos pos, int dx, int dz, int scale)
private boolean isAirAbove(BlockPos pos, int dx, int dz, int scale)
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public boolean isPreemptible()
isPreemptible
in class Goal
public void startExecuting()
startExecuting
in class Goal