Class GolemLastSeenSensor

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

public class GolemLastSeenSensor extends Sensor<LivingEntity>
Mappings:
Namespace Name
official bch
intermediary net/minecraft/class_4307
named net/minecraft/entity/ai/brain/sensor/GolemLastSeenSensor
  • Field Details

    • RUN_TIME

      private static final int RUN_TIME
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lbch;a:I
      intermediary field_30249 Lnet/minecraft/class_4307;field_30249:I
      named RUN_TIME Lnet/minecraft/entity/ai/brain/sensor/GolemLastSeenSensor;RUN_TIME:I
    • GOLEM_DETECTED_WARMUP

      private static final int GOLEM_DETECTED_WARMUP
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Lbch;c:I
      intermediary field_30250 Lnet/minecraft/class_4307;field_30250:I
      named GOLEM_DETECTED_WARMUP Lnet/minecraft/entity/ai/brain/sensor/GolemLastSeenSensor;GOLEM_DETECTED_WARMUP:I
  • Constructor Details

    • GolemLastSeenSensor

      public GolemLastSeenSensor()
    • GolemLastSeenSensor

      public GolemLastSeenSensor(int senseInterval)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbct;<init>(I)V
      intermediary <init> Lnet/minecraft/class_4148;<init>(I)V
      named <init> Lnet/minecraft/entity/ai/brain/sensor/Sensor;<init>(I)V
  • Method Details

    • sense

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

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

      public static void senseIronGolem(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbch;a(Latt;)V
      intermediary method_20656 Lnet/minecraft/class_4307;method_20656(Lnet/minecraft/class_1309;)V
      named senseIronGolem Lnet/minecraft/entity/ai/brain/sensor/GolemLastSeenSensor;senseIronGolem(Lnet/minecraft/entity/LivingEntity;)V
    • rememberIronGolem

      public static void rememberIronGolem(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lbch;b(Latt;)V
      intermediary method_30233 Lnet/minecraft/class_4307;method_30233(Lnet/minecraft/class_1309;)V
      named rememberIronGolem Lnet/minecraft/entity/ai/brain/sensor/GolemLastSeenSensor;rememberIronGolem(Lnet/minecraft/entity/LivingEntity;)V