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 bps
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:
      Mappings:
      Namespace Name Mixin selector
      official a Lbps;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:
      Mappings:
      Namespace Name Mixin selector
      official c Lbps;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> Lbqf;<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 Lbqf;a(Laif;Lbfz;)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 Lbqf;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 Lbps;a(Lbfz;)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 Lbps;b(Lbfz;)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