public abstract class InteractDoorGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
doorInteract |
protected BlockPos |
doorPosition |
protected MobEntity |
entity |
| Constructor and Description |
|---|
InteractDoorGoal(MobEntity entityIn) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canDestroy() |
static boolean |
func_220695_a(World p_220695_0_,
BlockPos p_220695_1_) |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
protected void |
toggleDoor(boolean open) |
getMutexFlags, isPreemptible, resetTask, setMutexFlagsprotected MobEntity entity
protected BlockPos doorPosition
protected boolean doorInteract
public InteractDoorGoal(MobEntity entityIn)
protected boolean canDestroy()
protected void toggleDoor(boolean open)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal