Class TemptationsSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<PathAwareEntity>
net.minecraft.entity.ai.brain.sensor.TemptationsSensor
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/sensor/TemptationsSensor
intermediary net/minecraft/class_5760
official cgr
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet
<MemoryModuleType<?>> protected void
sense
(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) private boolean
test
(PlayerEntity player) private boolean
Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
hasPredicatePassedRecently, hasTargetBeenAttackableRecently, testAttackableTargetPredicate, testAttackableTargetPredicateIgnoreVisibility, testTargetPredicate, tick
-
Field Details
-
TEMPTER_PREDICATE
- Mappings:
Namespace Name Mixin selector named TEMPTER_PREDICATE
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;TEMPTER_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
intermediary field_28330
Lnet/minecraft/class_5760;field_28330:Lnet/minecraft/class_4051;
official a
Lcgr;a:Lcgw;
-
predicate
- Mappings:
Namespace Name Mixin selector named predicate
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;predicate:Ljava/util/function/Predicate;
intermediary field_28331
Lnet/minecraft/class_5760;field_28331:Ljava/util/function/Predicate;
official b
Lcgr;b:Ljava/util/function/Predicate;
-
-
Constructor Details
-
TemptationsSensor
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;<init>(Ljava/util/function/Predicate;)V
intermediary <init>
Lnet/minecraft/class_5760;<init>(Ljava/util/function/Predicate;)V
official <init>
Lcgr;<init>(Ljava/util/function/Predicate;)V
-
-
Method Details
-
sense
- Specified by:
sense
in classSensor<PathAwareEntity>
- Mappings:
Namespace Name Mixin selector named sense
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;)V
intermediary method_33213
Lnet/minecraft/class_5760;method_33213(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;)V
official a
Lcgr;a(Lash;Lbwn;)V
-
test
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;test(Lnet/minecraft/entity/player/PlayerEntity;)Z
intermediary method_33215
Lnet/minecraft/class_5760;method_33215(Lnet/minecraft/class_1657;)Z
official a
Lcgr;a(Lcpw;)Z
-
test
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;test(Lnet/minecraft/item/ItemStack;)Z
intermediary method_33216
Lnet/minecraft/class_5760;method_33216(Lnet/minecraft/class_1799;)Z
official a
Lcgr;a(Lcxo;)Z
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<PathAwareEntity>
- 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
Lcgp;a()Ljava/util/Set;
-