Class ArmadilloScareDetectedSensor<T extends LivingEntity>

java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<T>
net.minecraft.entity.ai.brain.sensor.ArmadilloScareDetectedSensor<T>

public class ArmadilloScareDetectedSensor<T extends LivingEntity> extends Sensor<T>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/sensor/ArmadilloScareDetectedSensor
intermediary net/minecraft/class_9068
official cdm
  • Field Details

    • threateningEntityPredicate

      private final BiPredicate<T extends LivingEntity,LivingEntity> threateningEntityPredicate
      Mappings:
      Namespace Name Mixin selector
      named threateningEntityPredicate Lnet/minecraft/entity/ai/brain/sensor/ArmadilloScareDetectedSensor;threateningEntityPredicate:Ljava/util/function/BiPredicate;
      intermediary field_47764 Lnet/minecraft/class_9068;field_47764:Ljava/util/function/BiPredicate;
      official a Lcdm;a:Ljava/util/function/BiPredicate;
    • canRollUpPredicate

      private final Predicate<T extends LivingEntity> canRollUpPredicate
      Mappings:
      Namespace Name Mixin selector
      named canRollUpPredicate Lnet/minecraft/entity/ai/brain/sensor/ArmadilloScareDetectedSensor;canRollUpPredicate:Ljava/util/function/Predicate;
      intermediary field_47765 Lnet/minecraft/class_9068;field_47765:Ljava/util/function/Predicate;
      official c Lcdm;c:Ljava/util/function/Predicate;
    • memoryModuleType

      private final MemoryModuleType<Boolean> memoryModuleType
      Mappings:
      Namespace Name Mixin selector
      named memoryModuleType Lnet/minecraft/entity/ai/brain/sensor/ArmadilloScareDetectedSensor;memoryModuleType:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
      intermediary field_47766 Lnet/minecraft/class_9068;field_47766:Lnet/minecraft/class_4140;
      official d Lcdm;d:Lccq;
    • expiry

      private final int expiry
      Mappings:
      Namespace Name Mixin selector
      named expiry Lnet/minecraft/entity/ai/brain/sensor/ArmadilloScareDetectedSensor;expiry:I
      intermediary field_47767 Lnet/minecraft/class_9068;field_47767:I
      official e Lcdm;e:I
  • Constructor Details

    • ArmadilloScareDetectedSensor

      public ArmadilloScareDetectedSensor(int senseInterval, BiPredicate<T,LivingEntity> threateningEntityPredicate, Predicate<T> canRollUpPredicate, MemoryModuleType<Boolean> memoryModuleType, int expiry)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/sensor/ArmadilloScareDetectedSensor;<init>(ILjava/util/function/BiPredicate;Ljava/util/function/Predicate;Lnet/minecraft/entity/ai/brain/MemoryModuleType;I)V
      intermediary <init> Lnet/minecraft/class_9068;<init>(ILjava/util/function/BiPredicate;Ljava/util/function/Predicate;Lnet/minecraft/class_4140;I)V
      official <init> Lcdm;<init>(ILjava/util/function/BiPredicate;Ljava/util/function/Predicate;Lccq;I)V
  • Method Details

    • sense

      protected void sense(ServerWorld world, T entity)
      Specified by:
      sense in class Sensor<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named sense Lnet/minecraft/entity/ai/brain/sensor/Sensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_19101 Lnet/minecraft/class_4148;method_19101(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)V
      official a Lcdw;a(Laqt;Lbtl;)V
    • getOutputMemoryModules

      public Set<MemoryModuleType<?>> getOutputMemoryModules()
      Specified by:
      getOutputMemoryModules in class Sensor<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named getOutputMemoryModules Lnet/minecraft/entity/ai/brain/sensor/Sensor;getOutputMemoryModules()Ljava/util/Set;
      intermediary method_19099 Lnet/minecraft/class_4148;method_19099()Ljava/util/Set;
      official a Lcdw;a()Ljava/util/Set;
    • tryDetectThreat

      public void tryDetectThreat(T entity)
      Mappings:
      Namespace Name Mixin selector
      named tryDetectThreat Lnet/minecraft/entity/ai/brain/sensor/ArmadilloScareDetectedSensor;tryDetectThreat(Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_55702 Lnet/minecraft/class_9068;method_55702(Lnet/minecraft/class_1309;)V
      official a Lcdm;a(Lbtl;)V
    • onDetected

      public void onDetected(T entity)
      Mappings:
      Namespace Name Mixin selector
      named onDetected Lnet/minecraft/entity/ai/brain/sensor/ArmadilloScareDetectedSensor;onDetected(Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_55704 Lnet/minecraft/class_9068;method_55704(Lnet/minecraft/class_1309;)V
      official b Lcdm;b(Lbtl;)V
    • clear

      public void clear(T entity)
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/entity/ai/brain/sensor/ArmadilloScareDetectedSensor;clear(Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_55705 Lnet/minecraft/class_9068;method_55705(Lnet/minecraft/class_1309;)V
      official c Lcdm;c(Lbtl;)V