public class OpenDoorGoal extends InteractDoorGoal
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
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