Class Strider.StriderGoToLavaGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
net.minecraft.world.entity.monster.Strider.StriderGoToLavaGoal
- Enclosing class:
- Strider
-
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_33963_, BlockPos p_33964_)
boolean
Methods inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
acceptedDistance, findNearestBlock, isReachedTarget, moveMobToBlock, nextStartTick, start, tick
-
Field Details
-
strider
-
-
Constructor Details
-
StriderGoToLavaGoal
StriderGoToLavaGoal(Strider p_33955_, double p_33956_)
-
-
Method Details
-
getMoveToTarget
- Overrides:
getMoveToTarget
in classMoveToBlockGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classMoveToBlockGoal
-
canUse
public boolean canUse()- Overrides:
canUse
in classMoveToBlockGoal
-
shouldRecalculatePath
public boolean shouldRecalculatePath()- Overrides:
shouldRecalculatePath
in classMoveToBlockGoal
-
isValidTarget
- Specified by:
isValidTarget
in classMoveToBlockGoal
-