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
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DrownedEntity
private final int
private final double
private boolean
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
drowned
-
speedModifier
private final double speedModifier -
seaLevel
private final int seaLevel -
stuck
private boolean stuck
-
-
Constructor Details
-
SwimUpGoal
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
tick
public void tick() -
start
public void start() -
stop
public void stop()
-