Package net.minecraft.entity.ai.goal
Class WaterAvoidingRandomFlyingGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.RandomWalkingGoal
-
- net.minecraft.entity.ai.goal.WaterAvoidingRandomWalkingGoal
-
- net.minecraft.entity.ai.goal.WaterAvoidingRandomFlyingGoal
-
public class WaterAvoidingRandomFlyingGoal extends WaterAvoidingRandomWalkingGoal
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.WaterAvoidingRandomWalkingGoal
probability
-
Fields inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
-
Constructor Summary
Constructors Constructor Description WaterAvoidingRandomFlyingGoal(CreatureEntity p_i47413_1_, double p_i47413_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Vector3d
getPosition()
private Vector3d
getTreePos()
-
Methods inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
canContinueToUse, canUse, setInterval, start, stop, trigger
-
-
-
-
Constructor Detail
-
WaterAvoidingRandomFlyingGoal
public WaterAvoidingRandomFlyingGoal(CreatureEntity p_i47413_1_, double p_i47413_2_)
-
-
Method Detail
-
getPosition
@Nullable protected Vector3d getPosition()
- Overrides:
getPosition
in classWaterAvoidingRandomWalkingGoal
-
getTreePos
@Nullable private Vector3d getTreePos()
-
-