Class Dolphin.DolphinSwimWithPlayerGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Dolphin.DolphinSwimWithPlayerGoal
- Enclosing class:
- Dolphin
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
dolphin
-
speedModifier
private final double speedModifier -
player
-
-
Constructor Details
-
DolphinSwimWithPlayerGoal
DolphinSwimWithPlayerGoal(Dolphin p_28413_, double p_28414_)
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-