Class HoglinSpecificSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<HoglinEntity>
net.minecraft.entity.ai.brain.sensor.HoglinSpecificSensor
- Mappings:
Namespace Name official bci
intermediary net/minecraft/class_4832
named net/minecraft/entity/ai/brain/sensor/HoglinSpecificSensor
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindNearestWarpedFungus
(ServerWorld world, HoglinEntity hoglin) Set<MemoryModuleType<?>>
protected void
sense
(ServerWorld serverWorld, HoglinEntity hoglinEntity) Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
method_36982, testTargetPredicate, tick
-
Constructor Details
-
HoglinSpecificSensor
public HoglinSpecificSensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<HoglinEntity>
- 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;
-
sense
- Specified by:
sense
in classSensor<HoglinEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbci;a(Labr;Lbit;)V
intermediary method_24639
Lnet/minecraft/class_4832;method_24639(Lnet/minecraft/class_3218;Lnet/minecraft/class_4760;)V
named sense
Lnet/minecraft/entity/ai/brain/sensor/HoglinSpecificSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/HoglinEntity;)V
-
findNearestWarpedFungus
- Mappings:
Namespace Name Mixin selector official b
Lbci;b(Labr;Lbit;)Ljava/util/Optional;
intermediary method_24641
Lnet/minecraft/class_4832;method_24641(Lnet/minecraft/class_3218;Lnet/minecraft/class_4760;)Ljava/util/Optional;
named findNearestWarpedFungus
Lnet/minecraft/entity/ai/brain/sensor/HoglinSpecificSensor;findNearestWarpedFungus(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/HoglinEntity;)Ljava/util/Optional;
-