Package net.minecraft.entity.passive
Class DolphinEntity.SwimWithPlayerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.DolphinEntity.SwimWithPlayerGoal
- Enclosing class:
- DolphinEntity
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DolphinEntity
private PlayerEntity
private final double
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
dolphin
-
speedModifier
private final double speedModifier -
player
-
-
Constructor Details
-
SwimWithPlayerGoal
SwimWithPlayerGoal(DolphinEntity p_i48994_1_, double p_i48994_2_)
-
-
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()
-