Class PolarBear.PolarBearPanicGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.PanicGoal
net.minecraft.world.entity.animal.PolarBear.PolarBearPanicGoal
- Enclosing class:
- PolarBear
-
Nested Class Summary
-
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
-
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
-
PolarBearPanicGoal
public PolarBearPanicGoal()
-
-
Method Details
-
shouldPanic
protected boolean shouldPanic()- Overrides:
shouldPanic
in classPanicGoal
-