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
-
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() -
tick
public void tick()
-