public class FleeSunGoal extends Goal
Modifier and Type | Field and Description |
---|---|
protected CreatureEntity |
creature |
private double |
movementSpeed |
private double |
shelterX |
private double |
shelterY |
private double |
shelterZ |
private World |
world |
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, toString
protected final CreatureEntity creature
private double shelterX
private double shelterY
private double shelterZ
private final double movementSpeed
private final World world
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()