public class LongDoorInteractGoal extends DoorInteractGoal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private boolean |
delayedClose |
private int |
ticksLeft |
doorPos, doorValid, mob
Constructor and Description |
---|
LongDoorInteractGoal(MobEntity mob,
boolean delayedClose) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldContinue() |
void |
start() |
void |
stop() |
void |
tick() |
canStart, isDoorOpen, setDoorOpen
canStop, getControls, setControls, toString
public LongDoorInteractGoal(MobEntity mob, boolean delayedClose)
public boolean shouldContinue()
shouldContinue
in class DoorInteractGoal
public void start()
start
in class DoorInteractGoal
public void tick()
tick
in class DoorInteractGoal