Package net.minecraft.entity.monster
Class DrownedEntity.GoToWaterGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.monster.DrownedEntity.GoToWaterGoal
-
- Enclosing class:
- DrownedEntity
static class DrownedEntity.GoToWaterGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private Worldlevelprivate CreatureEntitymobprivate doublespeedModifierprivate doublewantedXprivate doublewantedYprivate doublewantedZ
-
Constructor Summary
Constructors Constructor Description GoToWaterGoal(CreatureEntity p_i48910_1_, double p_i48910_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()booleancanUse()private Vector3dgetWaterPos()voidstart()
-
-
-
Field Detail
-
mob
private final CreatureEntity mob
-
wantedX
private double wantedX
-
wantedY
private double wantedY
-
wantedZ
private double wantedZ
-
speedModifier
private final double speedModifier
-
level
private final World level
-
-
Constructor Detail
-
GoToWaterGoal
public GoToWaterGoal(CreatureEntity p_i48910_1_, double p_i48910_2_)
-
-