Package net.minecraft.entity.ai.goal
Class InteractDoorGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.InteractDoorGoal
- 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
-
InteractDoorGoal
-
-
Method Details
-
isOpen
protected boolean isOpen() -
setOpen
protected void setOpen(boolean p_195921_1_) -
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
tick
public void tick()
-