Class Drowned.DrownedGoToBeachGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
net.minecraft.world.entity.monster.Drowned.DrownedGoToBeachGoal
- Enclosing class:
Drowned
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
protected boolean
isValidTarget
(LevelReader p_32413_, BlockPos p_32414_) void
start()
void
stop()
Methods inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
acceptedDistance, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, nextStartTick, requiresUpdateEveryTick, shouldRecalculatePath, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, toString
-
Field Details
-
drowned
-
-
Constructor Details
-
DrownedGoToBeachGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classMoveToBlockGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classMoveToBlockGoal
-
isValidTarget
- Specified by:
isValidTarget
in classMoveToBlockGoal
-
start
public void start()- Overrides:
start
in classMoveToBlockGoal
-
stop
public void stop()
-