Package net.minecraft.entity.ai.goal
Class WaterAvoidingRandomWalkingGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.RandomWalkingGoal
net.minecraft.entity.ai.goal.WaterAvoidingRandomWalkingGoal
- Direct Known Subclasses:
WaterAvoidingRandomFlyingGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
Constructor Summary
ConstructorDescriptionWaterAvoidingRandomWalkingGoal
(CreatureEntity p_i47301_1_, double p_i47301_2_) WaterAvoidingRandomWalkingGoal
(CreatureEntity p_i47302_1_, double p_i47302_2_, float p_i47302_4_) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
canContinueToUse, canUse, setInterval, start, stop, trigger
-
Field Details
-
probability
protected final float probability
-
-
Constructor Details
-
WaterAvoidingRandomWalkingGoal
-
WaterAvoidingRandomWalkingGoal
public WaterAvoidingRandomWalkingGoal(CreatureEntity p_i47302_1_, double p_i47302_2_, float p_i47302_4_)
-
-
Method Details
-
getPosition
- Overrides:
getPosition
in classRandomWalkingGoal
-