Class NearestVisibleAdultSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<PassiveEntity>
net.minecraft.entity.ai.brain.sensor.NearestVisibleAdultSensor
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/sensor/NearestVisibleAdultSensor
intermediary net/minecraft/class_5356
official cdh
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
findNearestVisibleAdult
(PassiveEntity entity, LivingTargetCache livingTargetCache) Set
<MemoryModuleType<?>> protected void
sense
(ServerWorld serverWorld, PassiveEntity passiveEntity) Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
testAttackableTargetPredicate, testAttackableTargetPredicateIgnoreVisibility, testTargetPredicate, tick
-
Constructor Details
-
NearestVisibleAdultSensor
public NearestVisibleAdultSensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<PassiveEntity>
- 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
Lcea;a()Ljava/util/Set;
-
sense
- Specified by:
sense
in classSensor<PassiveEntity>
- Mappings:
Namespace Name Mixin selector named sense
Lnet/minecraft/entity/ai/brain/sensor/NearestVisibleAdultSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)V
intermediary method_29531
Lnet/minecraft/class_5356;method_29531(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)V
official a
Lcdh;a(Larf;Lbsp;)V
-
findNearestVisibleAdult
- Mappings:
Namespace Name Mixin selector named findNearestVisibleAdult
Lnet/minecraft/entity/ai/brain/sensor/NearestVisibleAdultSensor;findNearestVisibleAdult(Lnet/minecraft/entity/passive/PassiveEntity;Lnet/minecraft/entity/ai/brain/LivingTargetCache;)V
intermediary method_29529
Lnet/minecraft/class_5356;method_29529(Lnet/minecraft/class_1296;Lnet/minecraft/class_6670;)V
official a
Lcdh;a(Lbsp;Lccw;)V
-