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 DrownedEntitydrownedprivate intseaLevelprivate doublespeedModifierprivate booleanstuck
-
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 booleancanContinueToUse()booleancanUse()voidstart()voidstop()voidtick()-
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:
canContinueToUsein classGoal
-
-