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
public class RandomSwimmingGoal extends RandomWalkingGoal
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
-
Constructor Summary
Constructors Constructor Description RandomSwimmingGoal(CreatureEntity p_i48937_1_, double p_i48937_2_, int p_i48937_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Vector3d
getPosition()
-
Methods inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
canContinueToUse, canUse, setInterval, start, stop, trigger
-
-
-
-
Constructor Detail
-
RandomSwimmingGoal
public RandomSwimmingGoal(CreatureEntity p_i48937_1_, double p_i48937_2_, int p_i48937_4_)
-
-
Method Detail
-
getPosition
@Nullable protected Vector3d getPosition()
- Overrides:
getPosition
in classRandomWalkingGoal
-
-