Class VillagerBabiesSensor

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

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

    • VillagerBabiesSensor

      public VillagerBabiesSensor()
  • Method Details

    • getOutputMemoryModules

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

      protected void sense(ServerWorld world, LivingEntity entity)
      Specified by:
      sense in class Sensor<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbly;a(Lagg;Lbcc;)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
    • getVisibleVillagerBabies

      private List<LivingEntity> getVisibleVillagerBabies(LivingEntity entities)
      Mappings:
      Namespace Name Mixin selector
      official a Lbmb;a(Lbcc;)Ljava/util/List;
      intermediary method_20000 Lnet/minecraft/class_4257;method_20000(Lnet/minecraft/class_1309;)Ljava/util/List;
      named getVisibleVillagerBabies Lnet/minecraft/entity/ai/brain/sensor/VillagerBabiesSensor;getVisibleVillagerBabies(Lnet/minecraft/entity/LivingEntity;)Ljava/util/List;
    • isVillagerBaby

      private boolean isVillagerBaby(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lbmb;b(Lbcc;)Z
      intermediary method_20001 Lnet/minecraft/class_4257;method_20001(Lnet/minecraft/class_1309;)Z
      named isVillagerBaby Lnet/minecraft/entity/ai/brain/sensor/VillagerBabiesSensor;isVillagerBaby(Lnet/minecraft/entity/LivingEntity;)Z
    • getVisibleMobs

      private LivingTargetCache getVisibleMobs(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official c Lbmb;c(Lbcc;)Lbkw;
      intermediary method_20002 Lnet/minecraft/class_4257;method_20002(Lnet/minecraft/class_1309;)Lnet/minecraft/class_6670;
      named getVisibleMobs Lnet/minecraft/entity/ai/brain/sensor/VillagerBabiesSensor;getVisibleMobs(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/ai/brain/LivingTargetCache;