Class AxolotlAttackablesSensor


public class AxolotlAttackablesSensor extends NearestVisibleLivingEntitySensor
Mappings:
Namespace Name
official bcf
intermediary net/minecraft/class_6044
named net/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor
  • Field Details

    • field_30248

      public static final float field_30248
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lbcf;a:F
      intermediary field_30248 Lnet/minecraft/class_6044;field_30248:F
      named field_30248 Lnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;field_30248:F
  • Constructor Details

    • AxolotlAttackablesSensor

      public AxolotlAttackablesSensor()
  • Method Details

    • matches

      protected boolean matches(LivingEntity entity, LivingEntity target)
      Specified by:
      matches in class NearestVisibleLivingEntitySensor
      Mappings:
      Namespace Name Mixin selector
      official a Lbcn;a(Latt;Latt;)Z
      intermediary method_35148 Lnet/minecraft/class_6045;method_35148(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
      named matches Lnet/minecraft/entity/ai/brain/sensor/NearestVisibleLivingEntitySensor;matches(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
    • canHunt

      private boolean canHunt(LivingEntity axolotl, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official d Lbcf;d(Latt;Latt;)Z
      intermediary method_35144 Lnet/minecraft/class_6044;method_35144(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
      named canHunt Lnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;canHunt(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
    • isAlwaysHostileTo

      private boolean isAlwaysHostileTo(LivingEntity axolotl)
      Mappings:
      Namespace Name Mixin selector
      official b Lbcf;b(Latt;)Z
      intermediary method_35145 Lnet/minecraft/class_6044;method_35145(Lnet/minecraft/class_1309;)Z
      named isAlwaysHostileTo Lnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;isAlwaysHostileTo(Lnet/minecraft/entity/LivingEntity;)Z
    • isInRange

      private boolean isInRange(LivingEntity axolotl, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official e Lbcf;e(Latt;Latt;)Z
      intermediary method_35146 Lnet/minecraft/class_6044;method_35146(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
      named isInRange Lnet/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor;isInRange(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
    • getOutputMemoryModule

      protected MemoryModuleType<LivingEntity> getOutputMemoryModule()
      Specified by:
      getOutputMemoryModule in class NearestVisibleLivingEntitySensor
      Mappings:
      Namespace Name Mixin selector
      official b Lbcn;b()Lbbt;
      intermediary method_35150 Lnet/minecraft/class_6045;method_35150()Lnet/minecraft/class_4140;
      named getOutputMemoryModule Lnet/minecraft/entity/ai/brain/sensor/NearestVisibleLivingEntitySensor;getOutputMemoryModule()Lnet/minecraft/entity/ai/brain/MemoryModuleType;