Package net.minecraft.entity.monster
Class DrownedEntity.SwimUpGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.monster.DrownedEntity.SwimUpGoal
-
- Enclosing class:
- DrownedEntity
static class DrownedEntity.SwimUpGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private DrownedEntity
drowned
private int
seaLevel
private double
speedModifier
private boolean
stuck
-
Constructor Summary
Constructors Constructor Description SwimUpGoal(DrownedEntity p_i48908_1_, double p_i48908_2_, int p_i48908_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
void
start()
void
stop()
void
tick()
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
drowned
private final DrownedEntity drowned
-
speedModifier
private final double speedModifier
-
seaLevel
private final int seaLevel
-
stuck
private boolean stuck
-
-
Constructor Detail
-
SwimUpGoal
public SwimUpGoal(DrownedEntity p_i48908_1_, double p_i48908_2_, int p_i48908_4_)
-
-
Method Detail
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classGoal
-
-