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, toStringprivate final CreatureEntity entity
public RestrictSunGoal(CreatureEntity creature)
public boolean shouldExecute()
shouldExecute in class Goalpublic void startExecuting()
startExecuting in class Goal