Class OpenDoorGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.DoorInteractGoal
net.minecraft.world.entity.ai.goal.OpenDoorGoal
- Direct Known Subclasses:
AbstractIllager.RaiderOpenDoorGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.DoorInteractGoal
doorPos, hasDoor, mob
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.DoorInteractGoal
canUse, isOpen, requiresUpdateEveryTick, setOpen
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, 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 classDoorInteractGoal
-
start
public void start()- Overrides:
start
in classDoorInteractGoal
-
stop
public void stop() -
tick
public void tick()- Overrides:
tick
in classDoorInteractGoal
-