Class NearestItemsSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<MobEntity>
net.minecraft.entity.ai.brain.sensor.NearestItemsSensor
- Mappings:
Namespace Name official bkt
intermediary net/minecraft/class_4833
named net/minecraft/entity/ai/brain/sensor/NearestItemsSensor
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final long
static final int
private static final long
Fields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet<MemoryModuleType<?>>
protected void
sense
(ServerWorld serverWorld, MobEntity mobEntity) Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
testAttackableTargetPredicate, testAttackableTargetPredicateIgnoreVisibility, testTargetPredicate, tick
-
Field Details
-
HORIZONTAL_RANGE
private static final long HORIZONTAL_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbkt;c:J
intermediary field_30255
Lnet/minecraft/class_4833;field_30255:J
named HORIZONTAL_RANGE
Lnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;HORIZONTAL_RANGE:J
-
VERTICAL_RANGE
private static final long VERTICAL_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lbkt;d:J
intermediary field_30256
Lnet/minecraft/class_4833;field_30256:J
named VERTICAL_RANGE
Lnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;VERTICAL_RANGE:J
-
MAX_RANGE
public static final int MAX_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbkt;a:I
intermediary field_30254
Lnet/minecraft/class_4833;field_30254:I
named MAX_RANGE
Lnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;MAX_RANGE:I
-
-
Constructor Details
-
NearestItemsSensor
public NearestItemsSensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<MobEntity>
- Mappings:
Namespace Name Mixin selector official a
Lblb;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;
-
sense
- Specified by:
sense
in classSensor<MobEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbkt;a(Lafo;Lbbh;)V
intermediary method_24645
Lnet/minecraft/class_4833;method_24645(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;)V
named sense
Lnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;)V
-