public class RestrictSunGoal extends Goal
Modifier and Type | Field and Description |
---|---|
private CreatureEntity |
entity |
Constructor and Description |
---|
RestrictSunGoal(CreatureEntity creature) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, setMutexFlags, shouldContinueExecuting, tick, toString
private final CreatureEntity entity
public RestrictSunGoal(CreatureEntity creature)
public boolean shouldExecute()
shouldExecute
in class Goal
public void startExecuting()
startExecuting
in class Goal