Class HoglinSpecificSensor

java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<HoglinEntity>
net.minecraft.entity.ai.brain.sensor.HoglinSpecificSensor

public class HoglinSpecificSensor extends Sensor<HoglinEntity>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/sensor/HoglinSpecificSensor
intermediary net/minecraft/class_4832
official cdj
  • Constructor Details

    • HoglinSpecificSensor

      public HoglinSpecificSensor()
  • Method Details

    • getOutputMemoryModules

      public Set<MemoryModuleType<?>> getOutputMemoryModules()
      Specified by:
      getOutputMemoryModules in class Sensor<HoglinEntity>
      Mappings:
      Namespace Name Mixin selector
      named getOutputMemoryModules Lnet/minecraft/entity/ai/brain/sensor/Sensor;getOutputMemoryModules()Ljava/util/Set;
      intermediary method_19099 Lnet/minecraft/class_4148;method_19099()Ljava/util/Set;
      official a Lcdw;a()Ljava/util/Set;
    • sense

      protected void sense(ServerWorld serverWorld, HoglinEntity hoglinEntity)
      Specified by:
      sense in class Sensor<HoglinEntity>
      Mappings:
      Namespace Name Mixin selector
      named sense Lnet/minecraft/entity/ai/brain/sensor/HoglinSpecificSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/HoglinEntity;)V
      intermediary method_24639 Lnet/minecraft/class_4832;method_24639(Lnet/minecraft/class_3218;Lnet/minecraft/class_4760;)V
      official a Lcdj;a(Laqt;Lclf;)V
    • findNearestWarpedFungus

      private Optional<BlockPos> findNearestWarpedFungus(ServerWorld world, HoglinEntity hoglin)
      Mappings:
      Namespace Name Mixin selector
      named findNearestWarpedFungus Lnet/minecraft/entity/ai/brain/sensor/HoglinSpecificSensor;findNearestWarpedFungus(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/HoglinEntity;)Ljava/util/Optional;
      intermediary method_24641 Lnet/minecraft/class_4832;method_24641(Lnet/minecraft/class_3218;Lnet/minecraft/class_4760;)Ljava/util/Optional;
      official b Lcdj;b(Laqt;Lclf;)Ljava/util/Optional;