java.lang.Object
net.minecraft.world.entity.monster.warden.WardenAi

public class WardenAi extends Object
  • Field Details

    • SPEED_MULTIPLIER_WHEN_IDLING

      private static final float SPEED_MULTIPLIER_WHEN_IDLING
      See Also:
    • SPEED_MULTIPLIER_WHEN_INVESTIGATING

      private static final float SPEED_MULTIPLIER_WHEN_INVESTIGATING
      See Also:
    • SPEED_MULTIPLIER_WHEN_FIGHTING

      private static final float SPEED_MULTIPLIER_WHEN_FIGHTING
      See Also:
    • MELEE_ATTACK_COOLDOWN

      private static final int MELEE_ATTACK_COOLDOWN
      See Also:
    • DIGGING_DURATION

      private static final int DIGGING_DURATION
    • EMERGE_DURATION

      public static final int EMERGE_DURATION
    • ROAR_DURATION

      public static final int ROAR_DURATION
    • SNIFFING_DURATION

      private static final int SNIFFING_DURATION
    • DIGGING_COOLDOWN

      public static final int DIGGING_COOLDOWN
      See Also:
    • DISTURBANCE_LOCATION_EXPIRY_TIME

      private static final int DISTURBANCE_LOCATION_EXPIRY_TIME
      See Also:
    • SENSOR_TYPES

      private static final List<SensorType<? extends Sensor<? super Warden>>> SENSOR_TYPES
    • MEMORY_TYPES

      private static final List<MemoryModuleType<?>> MEMORY_TYPES
    • DIG_COOLDOWN_SETTER

      private static final BehaviorControl<Warden> DIG_COOLDOWN_SETTER
  • Constructor Details

    • WardenAi

      public WardenAi()
  • Method Details

    • updateActivity

      public static void updateActivity(Warden p_219513_)
    • makeBrain

      protected static Brain<?> makeBrain(Warden p_219521_, com.mojang.serialization.Dynamic<?> p_219522_)
    • initCoreActivity

      private static void initCoreActivity(Brain<Warden> p_219511_)
    • initEmergeActivity

      private static void initEmergeActivity(Brain<Warden> p_219527_)
    • initDiggingActivity

      private static void initDiggingActivity(Brain<Warden> p_219532_)
    • initIdleActivity

      private static void initIdleActivity(Brain<Warden> p_219537_)
    • initInvestigateActivity

      private static void initInvestigateActivity(Brain<Warden> p_219542_)
    • initSniffingActivity

      private static void initSniffingActivity(Brain<Warden> p_219544_)
    • initRoarActivity

      private static void initRoarActivity(Brain<Warden> p_219546_)
    • initFightActivity

      private static void initFightActivity(Warden p_219518_, Brain<Warden> p_219519_)
    • isTarget

      private static boolean isTarget(Warden p_219515_, LivingEntity p_219516_)
    • onTargetInvalid

      private static void onTargetInvalid(Warden p_219529_, LivingEntity p_219530_)
    • setDigCooldown

      public static void setDigCooldown(LivingEntity p_219506_)
    • setDisturbanceLocation

      public static void setDisturbanceLocation(Warden p_219524_, BlockPos p_219525_)