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/NearestItemsSensorintermediary net/minecraft/class_4833official cdq
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longstatic final intprivate static final longFields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionSet<MemoryModuleType<?>> protected voidsense(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 named HORIZONTAL_RANGELnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;HORIZONTAL_RANGE:Jintermediary field_30255Lnet/minecraft/class_4833;field_30255:Jofficial cLcdq;c:J
 - 
VERTICAL_RANGE
private static final long VERTICAL_RANGE- See Also:
 - Mappings:
 Namespace Name Mixin selector named VERTICAL_RANGELnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;VERTICAL_RANGE:Jintermediary field_30256Lnet/minecraft/class_4833;field_30256:Jofficial dLcdq;d:J
 - 
MAX_RANGE
public static final int MAX_RANGE- See Also:
 - Mappings:
 Namespace Name Mixin selector named MAX_RANGELnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;MAX_RANGE:Iintermediary field_30254Lnet/minecraft/class_4833;field_30254:Iofficial aLcdq;a:I
 
 - 
 - 
Constructor Details
- 
NearestItemsSensor
public NearestItemsSensor() 
 - 
 - 
Method Details
- 
getOutputMemoryModules
- Specified by:
 getOutputMemoryModulesin classSensor<MobEntity>- Mappings:
 Namespace Name Mixin selector named getOutputMemoryModulesLnet/minecraft/entity/ai/brain/sensor/Sensor;getOutputMemoryModules()Ljava/util/Set;intermediary method_19099Lnet/minecraft/class_4148;method_19099()Ljava/util/Set;official aLcdy;a()Ljava/util/Set;
 - 
sense
- Specified by:
 sensein classSensor<MobEntity>- Mappings:
 Namespace Name Mixin selector named senseLnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;)Vintermediary method_24645Lnet/minecraft/class_4833;method_24645(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;)Vofficial aLcdq;a(Laqu;Lbtp;)V
 
 -