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

    Constructors
    Constructor
    Description
    AdvancedPanicGoal(net.minecraft.world.entity.PathfinderMob mob, double pSpeedModifier, boolean pReason)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AdvancedPanicGoal

      public AdvancedPanicGoal(net.minecraft.world.entity.PathfinderMob mob, double pSpeedModifier, boolean pReason)
  • Method Details

    • shouldPanic

      protected boolean shouldPanic()
      Overrides:
      shouldPanic in class net.minecraft.world.entity.ai.goal.PanicGoal