Class WaterAvoidingRandomStrollGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RandomStrollGoal
net.minecraft.world.entity.ai.goal.WaterAvoidingRandomStrollGoal
- Direct Known Subclasses:
WaterAvoidingRandomFlyingGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoal
DEFAULT_INTERVAL, forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
Constructor Summary
ConstructorDescriptionWaterAvoidingRandomStrollGoal(PathfinderMob p_25987_, double p_25988_)
WaterAvoidingRandomStrollGoal(PathfinderMob p_25990_, double p_25991_, float p_25992_)
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoal
canContinueToUse, canUse, setInterval, start, stop, trigger
-
Field Details
-
PROBABILITY
public static final float PROBABILITY- See Also:
- Constant Field Values
-
probability
protected final float probability
-
-
Constructor Details
-
WaterAvoidingRandomStrollGoal
-
WaterAvoidingRandomStrollGoal
-
-
Method Details
-
getPosition
- Overrides:
getPosition
in classRandomStrollGoal
-