Class NearestPlayersSensor

java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.NearestPlayersSensor

public class NearestPlayersSensor extends Sensor<LivingEntity>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/sensor/NearestPlayersSensor
intermediary net/minecraft/class_4147
official cdx
  • Constructor Details

    • NearestPlayersSensor

      public NearestPlayersSensor()
  • Method Details

    • getOutputMemoryModules

      public Set<MemoryModuleType<?>> getOutputMemoryModules()
      Specified by:
      getOutputMemoryModules in class Sensor<LivingEntity>
      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 Lcea;a()Ljava/util/Set;
    • sense

      protected void sense(ServerWorld world, LivingEntity entity)
      Specified by:
      sense in class Sensor<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named sense Lnet/minecraft/entity/ai/brain/sensor/Sensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_19101 Lnet/minecraft/class_4148;method_19101(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)V
      official a Lcea;a(Larf;Lbtq;)V