Class ArmadilloScareDetectedSensor<T extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<T>
net.minecraft.entity.ai.brain.sensor.ArmadilloScareDetectedSensor<T>
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/sensor/ArmadilloScareDetectedSensor
intermediary net/minecraft/class_9068
official cdq
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final MemoryModuleType
<Boolean> private final BiPredicate
<T, LivingEntity> Fields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE
-
Constructor Summary
ConstructorDescriptionArmadilloScareDetectedSensor
(int senseInterval, BiPredicate<T, LivingEntity> threateningEntityPredicate, Predicate<T> canRollUpPredicate, MemoryModuleType<Boolean> memoryModuleType, int expiry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Set
<MemoryModuleType<?>> void
onDetected
(T entity) protected void
sense
(ServerWorld world, T entity) void
tryDetectThreat
(T entity) Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
testAttackableTargetPredicate, testAttackableTargetPredicateIgnoreVisibility, testTargetPredicate, tick
-
Field Details
-
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
Lcdq;a:Ljava/util/function/BiPredicate;
-
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
Lcdq;c:Ljava/util/function/Predicate;
-
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
Lcdq;d:Lccu;
-
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
Lcdq;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>
Lcdq;<init>(ILjava/util/function/BiPredicate;Ljava/util/function/Predicate;Lccu;I)V
-
-
Method Details
-
sense
- Specified by:
sense
in classSensor<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
Lcea;a(Larf;Lbtq;)V
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<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
Lcea;a()Ljava/util/Set;
-
tryDetectThreat
- 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
Lcdq;a(Lbtq;)V
-
onDetected
- 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
Lcdq;b(Lbtq;)V
-
clear
- 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
Lcdq;c(Lbtq;)V
-