Package net.minecraft.entity.ai.goal
Class RandomSwimmingGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.RandomWalkingGoal
net.minecraft.entity.ai.goal.RandomSwimmingGoal
- Direct Known Subclasses:
AbstractFishEntity.SwimGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
Constructor Summary
ConstructorDescriptionRandomSwimmingGoal
(CreatureEntity p_i48937_1_, double p_i48937_2_, int p_i48937_4_) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
canContinueToUse, canUse, setInterval, start, stop, trigger
-
Constructor Details
-
RandomSwimmingGoal
-
-
Method Details
-
getPosition
- Overrides:
getPosition
in classRandomWalkingGoal
-