public abstract class DoorInteractGoal extends Goal
Goal.Control
Modifier and Type | Field and Description |
---|---|
protected BlockPos |
doorPos |
protected boolean |
doorValid |
protected MobEntity |
mob |
private boolean |
shouldStop |
private float |
xOffset |
private float |
zOffset |
Constructor and Description |
---|
DoorInteractGoal(MobEntity mob) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
protected boolean |
isDoorOpen() |
protected void |
setDoorOpen(boolean open) |
boolean |
shouldContinue() |
void |
start() |
void |
tick() |
canStop, getControls, setControls, stop, toString
protected MobEntity mob
protected BlockPos doorPos
protected boolean doorValid
private boolean shouldStop
private float xOffset
private float zOffset
public DoorInteractGoal(MobEntity mob)
protected boolean isDoorOpen()
protected void setDoorOpen(boolean open)
public boolean shouldContinue()
shouldContinue
in class Goal