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 cdo
-
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
Lcdo;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
Lcdo;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
Lcdo;d:Lccs;
-
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
Lcdo;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>
Lcdo;<init>(ILjava/util/function/BiPredicate;Ljava/util/function/Predicate;Lccs;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
Lcdy;a(Laqu;Lbtn;)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
Lcdy;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
Lcdo;a(Lbtn;)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
Lcdo;b(Lbtn;)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
Lcdo;c(Lbtn;)V
-