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, toStringprivate 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 Goalprivate 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 Goalpublic boolean isPreemptible()
isPreemptible in class Goalpublic void startExecuting()
startExecuting in class Goal