public class OpenDoorGoal extends InteractDoorGoal
| Modifier and Type | Field and Description |
|---|---|
private boolean |
closeDoor |
private int |
closeDoorTemporisation |
doorInteract, doorPosition, entity| Constructor and Description |
|---|
OpenDoorGoal(MobEntity entitylivingIn,
boolean shouldClose) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
void |
startExecuting() |
void |
tick() |
canDestroy, canOpenDoor, shouldExecute, toggleDoorgetMutexFlags, isPreemptible, setMutexFlags, toStringprivate final boolean closeDoor
private int closeDoorTemporisation
public OpenDoorGoal(MobEntity entitylivingIn, boolean shouldClose)
public boolean shouldContinueExecuting()
shouldContinueExecuting in class InteractDoorGoalpublic void startExecuting()
startExecuting in class InteractDoorGoalpublic void tick()
tick in class InteractDoorGoal