Class NearestPlayersSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.NearestPlayersSensor
- Mappings:
Namespace Name official bfx
intermediary net/minecraft/class_4147
named net/minecraft/entity/ai/brain/sensor/NearestPlayersSensor
-
Field Summary
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 world, LivingEntity entity) Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
testAttackableTargetPredicate, testAttackableTargetPredicateIgnoreVisibility, testTargetPredicate, tick
-
Constructor Details
-
NearestPlayersSensor
public NearestPlayersSensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbga;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<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbga;a(Ladc;Laxa;)V
intermediary method_19101
Lnet/minecraft/class_4148;method_19101(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)V
named sense
Lnet/minecraft/entity/ai/brain/sensor/Sensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V
-