Class DoorInteractGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.DoorInteractGoal
- Direct Known Subclasses:
BreakDoorGoal
,OpenDoorGoal
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, stop, toString
-
Field Details
-
mob
-
doorPos
-
hasDoor
protected boolean hasDoor -
passed
private boolean passed -
doorOpenDirX
private float doorOpenDirX -
doorOpenDirZ
private float doorOpenDirZ
-
-
Constructor Details
-
DoorInteractGoal
-
-
Method Details
-
isOpen
protected boolean isOpen() -
setOpen
protected void setOpen(boolean p_25196_) -
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
requiresUpdateEveryTick
public boolean requiresUpdateEveryTick()- Overrides:
requiresUpdateEveryTick
in classGoal
-
tick
public void tick()
-