java.lang.Object
net.minecraft.world.entity.animal.sniffer.SnifferAi

public class SnifferAi extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • MAX_LOOK_DISTANCE

      private static final int MAX_LOOK_DISTANCE
      See Also:
    • SENSOR_TYPES

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

      static final List<MemoryModuleType<?>> MEMORY_TYPES
    • SNIFFING_COOLDOWN_TICKS

      private static final int SNIFFING_COOLDOWN_TICKS
      See Also:
    • SPEED_MULTIPLIER_WHEN_IDLING

      private static final float SPEED_MULTIPLIER_WHEN_IDLING
      See Also:
    • SPEED_MULTIPLIER_WHEN_PANICKING

      private static final float SPEED_MULTIPLIER_WHEN_PANICKING
      See Also:
    • SPEED_MULTIPLIER_WHEN_SNIFFING

      private static final float SPEED_MULTIPLIER_WHEN_SNIFFING
      See Also:
    • SPEED_MULTIPLIER_WHEN_TEMPTED

      private static final float SPEED_MULTIPLIER_WHEN_TEMPTED
      See Also:
  • Constructor Details

    • SnifferAi

      public SnifferAi()
  • Method Details

    • getTemptations

      public static Predicate<ItemStack> getTemptations()
    • makeBrain

      protected static Brain<?> makeBrain(Brain<Sniffer> p_273175_)
    • resetSniffing

      static Sniffer resetSniffing(Sniffer p_279301_)
    • initCoreActivity

      private static void initCoreActivity(Brain<Sniffer> p_273185_)
    • initSniffingActivity

      private static void initSniffingActivity(Brain<Sniffer> p_273183_)
    • initDigActivity

      private static void initDigActivity(Brain<Sniffer> p_273677_)
    • initIdleActivity

      private static void initIdleActivity(Brain<Sniffer> p_273750_)
    • updateActivity

      static void updateActivity(Sniffer p_273301_)