Class TamableAnimal.TamableAnimalPanicGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.PanicGoal
net.minecraft.world.entity.TamableAnimal.TamableAnimalPanicGoal
- Enclosing class:
TamableAnimal
-
Nested Class Summary
-
Field Summary
Fields inherited from class PanicGoal
isRunning, mob, posX, posY, posZ, speedModifier, WATER_CHECK_DISTANCE_VERTICAL -
Constructor Summary
ConstructorsConstructorDescriptionTamableAnimalPanicGoal(double speedModifier) TamableAnimalPanicGoal(double speedModifier, TagKey<DamageType> panicCausingDamageTypes) -
Method Summary
Methods inherited from class PanicGoal
canContinueToUse, canUse, findRandomPosition, isRunning, lookForWater, shouldPanic, start, stopMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Constructor Details
-
TamableAnimalPanicGoal
-
TamableAnimalPanicGoal
public TamableAnimalPanicGoal(double speedModifier)
-
-
Method Details
-
tick
-