Class AdvancedPanicGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.PanicGoal
com.idark.valoria.registries.entity.ai.goals.AdvancedPanicGoal
public class AdvancedPanicGoal
extends net.minecraft.world.entity.ai.goal.PanicGoal
-
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.PanicGoal
isRunning, mob, posX, posY, posZ, speedModifier, WATER_CHECK_DISTANCE_VERTICAL
-
Constructor Summary
ConstructorDescriptionAdvancedPanicGoal
(net.minecraft.world.entity.PathfinderMob mob, double pSpeedModifier, boolean pReason) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.PanicGoal
canContinueToUse, canUse, findRandomPosition, isRunning, lookForWater, start, stop
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Constructor Details
-
AdvancedPanicGoal
public AdvancedPanicGoal(net.minecraft.world.entity.PathfinderMob mob, double pSpeedModifier, boolean pReason)
-
-
Method Details
-
shouldPanic
protected boolean shouldPanic()- Overrides:
shouldPanic
in classnet.minecraft.world.entity.ai.goal.PanicGoal
-