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
public class WaterAvoidingRandomWalkingGoal extends RandomWalkingGoal
-
-
Field Summary
Fields Modifier and Type Field Description protected float
probability
-
Fields inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
-
Constructor Summary
Constructors Constructor Description WaterAvoidingRandomWalkingGoal(CreatureEntity p_i47301_1_, double p_i47301_2_)
WaterAvoidingRandomWalkingGoal(CreatureEntity p_i47302_1_, double p_i47302_2_, float p_i47302_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
-
WaterAvoidingRandomWalkingGoal
public WaterAvoidingRandomWalkingGoal(CreatureEntity p_i47301_1_, double p_i47301_2_)
-
WaterAvoidingRandomWalkingGoal
public WaterAvoidingRandomWalkingGoal(CreatureEntity p_i47302_1_, double p_i47302_2_, float p_i47302_4_)
-
-
Method Detail
-
getPosition
@Nullable protected Vector3d getPosition()
- Overrides:
getPosition
in classRandomWalkingGoal
-
-