Package net.minecraft.entity.ai.goal
Class OpenDoorGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.InteractDoorGoal
net.minecraft.entity.ai.goal.OpenDoorGoal
- Direct Known Subclasses:
AbstractIllagerEntity.RaidOpenDoorGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.InteractDoorGoal
doorPos, hasDoor, mob
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.InteractDoorGoal
canUse, isOpen, setOpen
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
closeDoor
private final boolean closeDoor -
forgetTime
private int forgetTime
-
-
Constructor Details
-
OpenDoorGoal
-
-
Method Details
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classInteractDoorGoal
-
start
public void start()- Overrides:
start
in classInteractDoorGoal
-
stop
public void stop() -
tick
public void tick()- Overrides:
tick
in classInteractDoorGoal
-