Class NearestItemsSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<MobEntity>
net.minecraft.entity.ai.brain.sensor.NearestItemsSensor
- Mappings:
- Namespace - Name - named - net/minecraft/entity/ai/brain/sensor/NearestItemsSensor- intermediary - net/minecraft/class_4833- official - cfk
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final longstatic final intprivate static final long
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSet<MemoryModuleType<?>> protected voidsense(ServerWorld serverWorld, MobEntity mobEntity) Methods inherited from class net.minecraft.entity.ai.brain.sensor.SensorhasPredicatePassedRecently, hasTargetBeenAttackableRecently, testAttackableTargetPredicate, testAttackableTargetPredicateIgnoreVisibility, testTargetPredicate, tick
- 
Field Details- 
HORIZONTAL_RANGEprivate static final long HORIZONTAL_RANGE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - HORIZONTAL_RANGE- Lnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;HORIZONTAL_RANGE:J- intermediary - field_30255- Lnet/minecraft/class_4833;field_30255:J- official - b- Lcfk;b:J
 
- 
VERTICAL_RANGEprivate static final long VERTICAL_RANGE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - VERTICAL_RANGE- Lnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;VERTICAL_RANGE:J- intermediary - field_30256- Lnet/minecraft/class_4833;field_30256:J- official - c- Lcfk;c:J
 
- 
MAX_RANGEpublic static final int MAX_RANGE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - MAX_RANGE- Lnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;MAX_RANGE:I- intermediary - field_30254- Lnet/minecraft/class_4833;field_30254:I- official - a- Lcfk;a:I
 
 
- 
- 
Constructor Details- 
NearestItemsSensorpublic NearestItemsSensor()
 
- 
- 
Method Details- 
getOutputMemoryModules- Specified by:
- getOutputMemoryModulesin class- Sensor<MobEntity>
- 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- Lcfs;a()Ljava/util/Set;
 
- 
sense- Specified by:
- sensein class- Sensor<MobEntity>
- Mappings:
- Namespace - Name - Mixin selector - named - sense- Lnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;)V- intermediary - method_24645- Lnet/minecraft/class_4833;method_24645(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;)V- official - a- Lcfk;a(Lard;Lbvk;)V
 
 
-