Class SensorType<U extends Sensor<?>>

java.lang.Object
net.minecraft.entity.ai.brain.sensor.SensorType<U>

public class SensorType<U extends Sensor<?>> extends Object
Mappings:
Namespace Name
official bwt
intermediary net/minecraft/class_4149
named net/minecraft/entity/ai/brain/sensor/SensorType
  • Field Details

    • DUMMY

      public static final SensorType<DummySensor> DUMMY
      Mappings:
      Namespace Name Mixin selector
      official a Lbwt;a:Lbwt;
      intermediary field_18465 Lnet/minecraft/class_4149;field_18465:Lnet/minecraft/class_4149;
      named DUMMY Lnet/minecraft/entity/ai/brain/sensor/SensorType;DUMMY:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • NEAREST_ITEMS

      public static final SensorType<NearestItemsSensor> NEAREST_ITEMS
      Mappings:
      Namespace Name Mixin selector
      official b Lbwt;b:Lbwt;
      intermediary field_22358 Lnet/minecraft/class_4149;field_22358:Lnet/minecraft/class_4149;
      named NEAREST_ITEMS Lnet/minecraft/entity/ai/brain/sensor/SensorType;NEAREST_ITEMS:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • NEAREST_LIVING_ENTITIES

      public static final SensorType<NearestLivingEntitiesSensor<LivingEntity>> NEAREST_LIVING_ENTITIES
      Mappings:
      Namespace Name Mixin selector
      official c Lbwt;c:Lbwt;
      intermediary field_18466 Lnet/minecraft/class_4149;field_18466:Lnet/minecraft/class_4149;
      named NEAREST_LIVING_ENTITIES Lnet/minecraft/entity/ai/brain/sensor/SensorType;NEAREST_LIVING_ENTITIES:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • NEAREST_PLAYERS

      public static final SensorType<NearestPlayersSensor> NEAREST_PLAYERS
      Mappings:
      Namespace Name Mixin selector
      official d Lbwt;d:Lbwt;
      intermediary field_18467 Lnet/minecraft/class_4149;field_18467:Lnet/minecraft/class_4149;
      named NEAREST_PLAYERS Lnet/minecraft/entity/ai/brain/sensor/SensorType;NEAREST_PLAYERS:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • NEAREST_BED

      public static final SensorType<NearestBedSensor> NEAREST_BED
      Mappings:
      Namespace Name Mixin selector
      official e Lbwt;e:Lbwt;
      intermediary field_19010 Lnet/minecraft/class_4149;field_19010:Lnet/minecraft/class_4149;
      named NEAREST_BED Lnet/minecraft/entity/ai/brain/sensor/SensorType;NEAREST_BED:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • HURT_BY

      public static final SensorType<HurtBySensor> HURT_BY
      Mappings:
      Namespace Name Mixin selector
      official f Lbwt;f:Lbwt;
      intermediary field_18469 Lnet/minecraft/class_4149;field_18469:Lnet/minecraft/class_4149;
      named HURT_BY Lnet/minecraft/entity/ai/brain/sensor/SensorType;HURT_BY:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • VILLAGER_HOSTILES

      public static final SensorType<VillagerHostilesSensor> VILLAGER_HOSTILES
      Mappings:
      Namespace Name Mixin selector
      official g Lbwt;g:Lbwt;
      intermediary field_18470 Lnet/minecraft/class_4149;field_18470:Lnet/minecraft/class_4149;
      named VILLAGER_HOSTILES Lnet/minecraft/entity/ai/brain/sensor/SensorType;VILLAGER_HOSTILES:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • VILLAGER_BABIES

      public static final SensorType<VillagerBabiesSensor> VILLAGER_BABIES
      Mappings:
      Namespace Name Mixin selector
      official h Lbwt;h:Lbwt;
      intermediary field_19011 Lnet/minecraft/class_4149;field_19011:Lnet/minecraft/class_4149;
      named VILLAGER_BABIES Lnet/minecraft/entity/ai/brain/sensor/SensorType;VILLAGER_BABIES:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • SECONDARY_POIS

      public static final SensorType<SecondaryPointsOfInterestSensor> SECONDARY_POIS
      Mappings:
      Namespace Name Mixin selector
      official i Lbwt;i:Lbwt;
      intermediary field_18875 Lnet/minecraft/class_4149;field_18875:Lnet/minecraft/class_4149;
      named SECONDARY_POIS Lnet/minecraft/entity/ai/brain/sensor/SensorType;SECONDARY_POIS:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • GOLEM_DETECTED

      public static final SensorType<GolemLastSeenSensor> GOLEM_DETECTED
      Mappings:
      Namespace Name Mixin selector
      official j Lbwt;j:Lbwt;
      intermediary field_25756 Lnet/minecraft/class_4149;field_25756:Lnet/minecraft/class_4149;
      named GOLEM_DETECTED Lnet/minecraft/entity/ai/brain/sensor/SensorType;GOLEM_DETECTED:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • PIGLIN_SPECIFIC_SENSOR

      public static final SensorType<PiglinSpecificSensor> PIGLIN_SPECIFIC_SENSOR
      Mappings:
      Namespace Name Mixin selector
      official k Lbwt;k:Lbwt;
      intermediary field_22359 Lnet/minecraft/class_4149;field_22359:Lnet/minecraft/class_4149;
      named PIGLIN_SPECIFIC_SENSOR Lnet/minecraft/entity/ai/brain/sensor/SensorType;PIGLIN_SPECIFIC_SENSOR:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • PIGLIN_BRUTE_SPECIFIC_SENSOR

      public static final SensorType<PiglinBruteSpecificSensor> PIGLIN_BRUTE_SPECIFIC_SENSOR
      Mappings:
      Namespace Name Mixin selector
      official l Lbwt;l:Lbwt;
      intermediary field_25757 Lnet/minecraft/class_4149;field_25757:Lnet/minecraft/class_4149;
      named PIGLIN_BRUTE_SPECIFIC_SENSOR Lnet/minecraft/entity/ai/brain/sensor/SensorType;PIGLIN_BRUTE_SPECIFIC_SENSOR:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • HOGLIN_SPECIFIC_SENSOR

      public static final SensorType<HoglinSpecificSensor> HOGLIN_SPECIFIC_SENSOR
      Mappings:
      Namespace Name Mixin selector
      official m Lbwt;m:Lbwt;
      intermediary field_22360 Lnet/minecraft/class_4149;field_22360:Lnet/minecraft/class_4149;
      named HOGLIN_SPECIFIC_SENSOR Lnet/minecraft/entity/ai/brain/sensor/SensorType;HOGLIN_SPECIFIC_SENSOR:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • NEAREST_ADULT

      public static final SensorType<NearestVisibleAdultSensor> NEAREST_ADULT
      Mappings:
      Namespace Name Mixin selector
      official n Lbwt;n:Lbwt;
      intermediary field_25362 Lnet/minecraft/class_4149;field_25362:Lnet/minecraft/class_4149;
      named NEAREST_ADULT Lnet/minecraft/entity/ai/brain/sensor/SensorType;NEAREST_ADULT:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • AXOLOTL_ATTACKABLES

      public static final SensorType<AxolotlAttackablesSensor> AXOLOTL_ATTACKABLES
      Mappings:
      Namespace Name Mixin selector
      official o Lbwt;o:Lbwt;
      intermediary field_30260 Lnet/minecraft/class_4149;field_30260:Lnet/minecraft/class_4149;
      named AXOLOTL_ATTACKABLES Lnet/minecraft/entity/ai/brain/sensor/SensorType;AXOLOTL_ATTACKABLES:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • AXOLOTL_TEMPTATIONS

      public static final SensorType<TemptationsSensor> AXOLOTL_TEMPTATIONS
      Mappings:
      Namespace Name Mixin selector
      official p Lbwt;p:Lbwt;
      intermediary field_28329 Lnet/minecraft/class_4149;field_28329:Lnet/minecraft/class_4149;
      named AXOLOTL_TEMPTATIONS Lnet/minecraft/entity/ai/brain/sensor/SensorType;AXOLOTL_TEMPTATIONS:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • GOAT_TEMPTATIONS

      public static final SensorType<TemptationsSensor> GOAT_TEMPTATIONS
      Mappings:
      Namespace Name Mixin selector
      official q Lbwt;q:Lbwt;
      intermediary field_30261 Lnet/minecraft/class_4149;field_30261:Lnet/minecraft/class_4149;
      named GOAT_TEMPTATIONS Lnet/minecraft/entity/ai/brain/sensor/SensorType;GOAT_TEMPTATIONS:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • FROG_TEMPTATIONS

      public static final SensorType<TemptationsSensor> FROG_TEMPTATIONS
      Mappings:
      Namespace Name Mixin selector
      official r Lbwt;r:Lbwt;
      intermediary field_37445 Lnet/minecraft/class_4149;field_37445:Lnet/minecraft/class_4149;
      named FROG_TEMPTATIONS Lnet/minecraft/entity/ai/brain/sensor/SensorType;FROG_TEMPTATIONS:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • CAMEL_TEMPTATIONS

      public static final SensorType<TemptationsSensor> CAMEL_TEMPTATIONS
      Mappings:
      Namespace Name Mixin selector
      official s Lbwt;s:Lbwt;
      intermediary field_40128 Lnet/minecraft/class_4149;field_40128:Lnet/minecraft/class_4149;
      named CAMEL_TEMPTATIONS Lnet/minecraft/entity/ai/brain/sensor/SensorType;CAMEL_TEMPTATIONS:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • FROG_ATTACKABLES

      public static final SensorType<FrogAttackablesSensor> FROG_ATTACKABLES
      Mappings:
      Namespace Name Mixin selector
      official t Lbwt;t:Lbwt;
      intermediary field_37446 Lnet/minecraft/class_4149;field_37446:Lnet/minecraft/class_4149;
      named FROG_ATTACKABLES Lnet/minecraft/entity/ai/brain/sensor/SensorType;FROG_ATTACKABLES:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • IS_IN_WATER

      public static final SensorType<IsInWaterSensor> IS_IN_WATER
      Mappings:
      Namespace Name Mixin selector
      official u Lbwt;u:Lbwt;
      intermediary field_37447 Lnet/minecraft/class_4149;field_37447:Lnet/minecraft/class_4149;
      named IS_IN_WATER Lnet/minecraft/entity/ai/brain/sensor/SensorType;IS_IN_WATER:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • WARDEN_ENTITY_SENSOR

      public static final SensorType<WardenAttackablesSensor> WARDEN_ENTITY_SENSOR
      Mappings:
      Namespace Name Mixin selector
      official v Lbwt;v:Lbwt;
      intermediary field_38114 Lnet/minecraft/class_4149;field_38114:Lnet/minecraft/class_4149;
      named WARDEN_ENTITY_SENSOR Lnet/minecraft/entity/ai/brain/sensor/SensorType;WARDEN_ENTITY_SENSOR:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • SNIFFER_TEMPTATIONS

      public static final SensorType<TemptationsSensor> SNIFFER_TEMPTATIONS
      Mappings:
      Namespace Name Mixin selector
      official w Lbwt;w:Lbwt;
      intermediary field_44475 Lnet/minecraft/class_4149;field_44475:Lnet/minecraft/class_4149;
      named SNIFFER_TEMPTATIONS Lnet/minecraft/entity/ai/brain/sensor/SensorType;SNIFFER_TEMPTATIONS:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • BREEZE_ATTACK_ENTITY_SENSOR

      public static final SensorType<BreezeAttackablesSensor> BREEZE_ATTACK_ENTITY_SENSOR
      Mappings:
      Namespace Name Mixin selector
      official x Lbwt;x:Lbwt;
      intermediary field_47261 Lnet/minecraft/class_4149;field_47261:Lnet/minecraft/class_4149;
      named BREEZE_ATTACK_ENTITY_SENSOR Lnet/minecraft/entity/ai/brain/sensor/SensorType;BREEZE_ATTACK_ENTITY_SENSOR:Lnet/minecraft/entity/ai/brain/sensor/SensorType;
    • factory

      private final Supplier<U extends Sensor<?>> factory
      Mappings:
      Namespace Name Mixin selector
      official y Lbwt;y:Ljava/util/function/Supplier;
      intermediary field_18471 Lnet/minecraft/class_4149;field_18471:Ljava/util/function/Supplier;
      named factory Lnet/minecraft/entity/ai/brain/sensor/SensorType;factory:Ljava/util/function/Supplier;
  • Constructor Details

    • SensorType

      private SensorType(Supplier<U> factory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbwt;<init>(Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_4149;<init>(Ljava/util/function/Supplier;)V
      named <init> Lnet/minecraft/entity/ai/brain/sensor/SensorType;<init>(Ljava/util/function/Supplier;)V
  • Method Details

    • create

      public U create()
      Mappings:
      Namespace Name Mixin selector
      official a Lbwt;a()Lbws;
      intermediary method_19102 Lnet/minecraft/class_4149;method_19102()Lnet/minecraft/class_4148;
      named create Lnet/minecraft/entity/ai/brain/sensor/SensorType;create()Lnet/minecraft/entity/ai/brain/sensor/Sensor;
    • register

      private static <U extends Sensor<?>> SensorType<U> register(String id, Supplier<U> factory)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwt;a(Ljava/lang/String;Ljava/util/function/Supplier;)Lbwt;
      intermediary method_19103 Lnet/minecraft/class_4149;method_19103(Ljava/lang/String;Ljava/util/function/Supplier;)Lnet/minecraft/class_4149;
      named register Lnet/minecraft/entity/ai/brain/sensor/SensorType;register(Ljava/lang/String;Ljava/util/function/Supplier;)Lnet/minecraft/entity/ai/brain/sensor/SensorType;