Package net.minecraft.entity.ai.goal
Class DoorInteractGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.DoorInteractGoal
- Direct Known Subclasses:
BreakDoorGoal,LongDoorInteractGoal
public abstract class DoorInteractGoal extends Goal
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DoorInteractGoal(MobEntity mobEntity) -
Method Summary
Modifier and Type Method Description booleancanStart()protected booleanisDoorOpen()private booleanmethod_30146()protected voidsetDoorOpen(boolean open)booleanshouldContinue()voidstart()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
Field Details
-
Constructor Details
-
Method Details
-
isDoorOpen
protected boolean isDoorOpen() -
setDoorOpen
protected void setDoorOpen(boolean open) -
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal
-
start
public void start() -
tick
public void tick() -
method_30146
private boolean method_30146()
-