public class FleeSunGoal extends Goal
Modifier and Type | Field and Description |
---|---|
protected CreatureEntity |
creature |
Constructor and Description |
---|
FleeSunGoal(CreatureEntity theCreatureIn,
double movementSpeedIn) |
Modifier and Type | Method and Description |
---|---|
protected Vec3d |
findPossibleShelter() |
protected boolean |
func_220702_g() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, resetTask, setMutexFlags, tick
protected final CreatureEntity creature
public FleeSunGoal(CreatureEntity theCreatureIn, double movementSpeedIn)
public boolean shouldExecute()
shouldExecute
in class Goal
protected boolean func_220702_g()
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public void startExecuting()
startExecuting
in class Goal
@Nullable protected Vec3d findPossibleShelter()