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 World
level
private CreatureEntity
mob
private double
speedModifier
private double
wantedX
private double
wantedY
private double
wantedZ
-
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 boolean
canContinueToUse()
boolean
canUse()
private Vector3d
getWaterPos()
void
start()
-
-
-
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_)
-
-