static class DrownedEntity.SwimUpGoal extends Goal
Modifier and Type | Field and Description |
---|---|
private DrownedEntity |
field_204736_a |
private double |
field_204737_b |
private boolean |
obstructed |
private int |
targetY |
Constructor and Description |
---|
SwimUpGoal(DrownedEntity p_i48908_1_,
double p_i48908_2_,
int p_i48908_4_) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, isPreemptible, setMutexFlags, toString
private final DrownedEntity field_204736_a
private final double field_204737_b
private final int targetY
private boolean obstructed
public SwimUpGoal(DrownedEntity p_i48908_1_, double p_i48908_2_, int p_i48908_4_)
public boolean shouldExecute()
shouldExecute
in class Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public void startExecuting()
startExecuting
in class Goal