Class TemptationsSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<PathAwareEntity>
net.minecraft.entity.ai.brain.sensor.TemptationsSensor
- Mappings:
Namespace Name official bma
intermediary net/minecraft/class_5760
named net/minecraft/entity/ai/brain/sensor/TemptationsSensor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Ingredient
static final int
private static final TargetPredicate
Fields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE
-
Constructor Summary
Constructors -
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
testAttackableTargetPredicate, testAttackableTargetPredicateIgnoreVisibility, testTargetPredicate, tick
-
Field Details
-
MAX_DISTANCE
public static final int MAX_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbma;a:I
intermediary field_30262
Lnet/minecraft/class_5760;field_30262:I
named MAX_DISTANCE
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;MAX_DISTANCE:I
-
TEMPTER_PREDICATE
- Mappings:
Namespace Name Mixin selector official c
Lbma;c:Lbmf;
intermediary field_28330
Lnet/minecraft/class_5760;field_28330:Lnet/minecraft/class_4051;
named TEMPTER_PREDICATE
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;TEMPTER_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
-
ingredient
- Mappings:
Namespace Name Mixin selector official d
Lbma;d:Lcdm;
intermediary field_28331
Lnet/minecraft/class_5760;field_28331:Lnet/minecraft/class_1856;
named ingredient
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;ingredient:Lnet/minecraft/recipe/Ingredient;
-
-
Constructor Details
-
TemptationsSensor
- Mappings:
Namespace Name Mixin selector official <init>
Lbma;<init>(Lcdm;)V
intermediary <init>
Lnet/minecraft/class_5760;<init>(Lnet/minecraft/class_1856;)V
named <init>
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;<init>(Lnet/minecraft/recipe/Ingredient;)V
-
-
Method Details
-
sense
- Specified by:
sense
in classSensor<PathAwareEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbma;a(Lagg;Lbcl;)V
intermediary method_33213
Lnet/minecraft/class_5760;method_33213(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;)V
named sense
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;)V
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbma;a(Lbuc;)Z
intermediary method_33215
Lnet/minecraft/class_5760;method_33215(Lnet/minecraft/class_1657;)Z
named test
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;test(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbma;a(Lcax;)Z
intermediary method_33216
Lnet/minecraft/class_5760;method_33216(Lnet/minecraft/class_1799;)Z
named test
Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;test(Lnet/minecraft/item/ItemStack;)Z
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<PathAwareEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbly;a()Ljava/util/Set;
intermediary method_19099
Lnet/minecraft/class_4148;method_19099()Ljava/util/Set;
named getOutputMemoryModules
Lnet/minecraft/entity/ai/brain/sensor/Sensor;getOutputMemoryModules()Ljava/util/Set;
-