Class BleakTryExitPortalGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
com.blamejared.the_breach.world.entity.ai.goal.BleakTryExitPortalGoal
public class BleakTryExitPortalGoal
extends net.minecraft.world.entity.ai.goal.MoveToBlockGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.Goal.Flag -
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleprotected net.minecraft.core.BlockPosprotected booleanisValidTarget(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos) protected intnextStartTick(net.minecraft.world.entity.PathfinderMob mob) voidstart()voidstop()Methods inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
canContinueToUse, canUse, findNearestBlock, isReachedTarget, moveMobToBlock, requiresUpdateEveryTick, shouldRecalculatePath, tickMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, setFlags, toString
-
Constructor Details
-
BleakTryExitPortalGoal
-
-
Method Details
-
start
public void start()- Overrides:
startin classnet.minecraft.world.entity.ai.goal.MoveToBlockGoal
-
stop
public void stop()- Overrides:
stopin classnet.minecraft.world.entity.ai.goal.Goal
-
getMoveToTarget
protected net.minecraft.core.BlockPos getMoveToTarget()- Overrides:
getMoveToTargetin classnet.minecraft.world.entity.ai.goal.MoveToBlockGoal
-
acceptedDistance
public double acceptedDistance()- Overrides:
acceptedDistancein classnet.minecraft.world.entity.ai.goal.MoveToBlockGoal
-
nextStartTick
protected int nextStartTick(net.minecraft.world.entity.PathfinderMob mob) - Overrides:
nextStartTickin classnet.minecraft.world.entity.ai.goal.MoveToBlockGoal
-
isValidTarget
protected boolean isValidTarget(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos) - Specified by:
isValidTargetin classnet.minecraft.world.entity.ai.goal.MoveToBlockGoal
-