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
Modifier and TypeFieldDescriptionprotected final float
static final float
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
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Field Details
-
PROBABILITY
public static final float PROBABILITY- See Also:
-
probability
protected final float probability
-
-
Constructor Details
-
WaterAvoidingRandomStrollGoal
-
WaterAvoidingRandomStrollGoal
-
-
Method Details
-
getPosition
- Overrides:
getPosition
in classRandomStrollGoal
-