Class Dolphin.DolphinSwimToTreasureGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Dolphin.DolphinSwimToTreasureGoal
- Enclosing class:
- Dolphin
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
dolphin
-
stuck
private boolean stuck
-
-
Constructor Details
-
DolphinSwimToTreasureGoal
DolphinSwimToTreasureGoal(Dolphin p_28402_)
-
-
Method Details
-
isInterruptable
public boolean isInterruptable()- Overrides:
isInterruptable
in classGoal
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-