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, tickprotected final CreatureEntity creature
public FleeSunGoal(CreatureEntity theCreatureIn, double movementSpeedIn)
public boolean shouldExecute()
shouldExecute in class Goalprotected boolean func_220702_g()
public boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal@Nullable protected Vec3d findPossibleShelter()