Class AxolotlHostilesSensor


public class AxolotlHostilesSensor
extends NearestHostileSensor
Mappings:
Namespace Name
official azr
intermediary net/minecraft/class_5758
named net/minecraft/entity/ai/brain/sensor/AxolotlHostilesSensor
  • Constructor Details

    • AxolotlHostilesSensor

      public AxolotlHostilesSensor()
  • Method Details

    • getNearestHostile

      protected Optional<LivingEntity> getNearestHostile​(LivingEntity entity)
      Specified by:
      getNearestHostile in class NearestHostileSensor
      Mappings:
      Namespace Name Mixin selector
      official a Lazv;a(Lari;)Ljava/util/Optional;
      intermediary method_19618 Lnet/minecraft/class_5759;method_19618(Lnet/minecraft/class_1309;)Ljava/util/Optional;
      named getNearestHostile Lnet/minecraft/entity/ai/brain/sensor/NearestHostileSensor;getNearestHostile(Lnet/minecraft/entity/LivingEntity;)Ljava/util/Optional;
    • shouldTarget

      private boolean shouldTarget​(LivingEntity axolotl, LivingEntity hostile)
      Mappings:
      Namespace Name Mixin selector
      official c Lazr;c(Lari;Lari;)Z
      intermediary method_33208 Lnet/minecraft/class_5758;method_33208(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
      named shouldTarget Lnet/minecraft/entity/ai/brain/sensor/AxolotlHostilesSensor;shouldTarget(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
    • isCloseEnoughForDanger

      protected boolean isCloseEnoughForDanger​(LivingEntity entity, LivingEntity target)
      Specified by:
      isCloseEnoughForDanger in class NearestHostileSensor
      Mappings:
      Namespace Name Mixin selector
      official a Lazv;a(Lari;Lari;)Z
      intermediary method_19105 Lnet/minecraft/class_5759;method_19105(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
      named isCloseEnoughForDanger Lnet/minecraft/entity/ai/brain/sensor/NearestHostileSensor;isCloseEnoughForDanger(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z