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
FieldsFields inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanUse()protected booleanisValidTarget(LevelReader p_33963_, BlockPos p_33964_) booleanMethods inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
acceptedDistance, findNearestBlock, isReachedTarget, moveMobToBlock, nextStartTick, requiresUpdateEveryTick, start, tickMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, stop, toString
-
Field Details
-
strider
-
-
Constructor Details
-
StriderGoToLavaGoal
StriderGoToLavaGoal(Strider p_33955_, double p_33956_)
-
-
Method Details
-
getMoveToTarget
- Overrides:
getMoveToTargetin classMoveToBlockGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classMoveToBlockGoal
-
canUse
public boolean canUse()- Overrides:
canUsein classMoveToBlockGoal
-
shouldRecalculatePath
public boolean shouldRecalculatePath()- Overrides:
shouldRecalculatePathin classMoveToBlockGoal
-
isValidTarget
- Specified by:
isValidTargetin classMoveToBlockGoal
-