Class Drowned.DrownedSwimUpGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.Drowned.DrownedSwimUpGoal
- Enclosing class:
- Drowned
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Drowned
private final int
private final double
private boolean
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
drowned
-
speedModifier
private final double speedModifier -
seaLevel
private final int seaLevel -
stuck
private boolean stuck
-
-
Constructor Details
-
DrownedSwimUpGoal
-
-
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()
-