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, toggleDoor
getMutexFlags, isPreemptible, setMutexFlags, toString
private final boolean closeDoor
private int closeDoorTemporisation
public OpenDoorGoal(MobEntity entitylivingIn, boolean shouldClose)
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class InteractDoorGoal
public void startExecuting()
startExecuting
in class InteractDoorGoal
public void tick()
tick
in class InteractDoorGoal