Class NearestLivingEntitiesSensor<T extends LivingEntity>

java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<T>
net.minecraft.entity.ai.brain.sensor.NearestLivingEntitiesSensor<T>
Direct Known Subclasses:
WardenAttackablesSensor

public class NearestLivingEntitiesSensor<T extends LivingEntity> extends Sensor<T>
Mappings:
Namespace Name
official bte
intermediary net/minecraft/class_4146
named net/minecraft/entity/ai/brain/sensor/NearestLivingEntitiesSensor
  • Constructor Details

    • NearestLivingEntitiesSensor

      public NearestLivingEntitiesSensor()
  • Method Details

    • sense

      protected void sense(ServerWorld world, T entity)
      Specified by:
      sense in class Sensor<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbtl;a(Lakq;Lbjg;)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
    • getHorizontalExpansion

      protected int getHorizontalExpansion()
      Mappings:
      Namespace Name Mixin selector
      official b Lbte;b()I
      intermediary method_43081 Lnet/minecraft/class_4146;method_43081()I
      named getHorizontalExpansion Lnet/minecraft/entity/ai/brain/sensor/NearestLivingEntitiesSensor;getHorizontalExpansion()I
    • getHeightExpansion

      protected int getHeightExpansion()
      Mappings:
      Namespace Name Mixin selector
      official c Lbte;c()I
      intermediary method_43082 Lnet/minecraft/class_4146;method_43082()I
      named getHeightExpansion Lnet/minecraft/entity/ai/brain/sensor/NearestLivingEntitiesSensor;getHeightExpansion()I
    • getOutputMemoryModules

      public Set<MemoryModuleType<?>> getOutputMemoryModules()
      Specified by:
      getOutputMemoryModules in class Sensor<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbtl;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;