Class NearestVisibleAdultSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<PassiveEntity>
net.minecraft.entity.ai.brain.sensor.NearestVisibleAdultSensor
public class NearestVisibleAdultSensor extends Sensor<PassiveEntity>
- Mappings:
Namespace Name official azq
intermediary net/minecraft/class_5356
named net/minecraft/entity/ai/brain/sensor/NearestVisibleAdultSensor
-
Constructor Summary
Constructors Constructor Description NearestVisibleAdultSensor()
-
Method Summary
Modifier and Type Method Description private void
findNearestVisibleAdult(PassiveEntity entity, List<LivingEntity> visibleMobs)
Set<MemoryModuleType<?>>
getOutputMemoryModules()
protected void
sense(ServerWorld serverWorld, PassiveEntity passiveEntity)
Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
testTargetPredicate, tick
-
Constructor Details
-
NearestVisibleAdultSensor
public NearestVisibleAdultSensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<PassiveEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbaf;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<PassiveEntity>
- Mappings:
Namespace Name Mixin selector official a
Lazq;a(Laav;Laqt;)V
intermediary method_29531
Lnet/minecraft/class_5356;method_29531(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)V
named sense
Lnet/minecraft/entity/ai/brain/sensor/NearestVisibleAdultSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)V
-
findNearestVisibleAdult
- Mappings:
Namespace Name Mixin selector official a
Lazq;a(Laqt;Ljava/util/List;)V
intermediary method_29529
Lnet/minecraft/class_5356;method_29529(Lnet/minecraft/class_1296;Ljava/util/List;)V
named findNearestVisibleAdult
Lnet/minecraft/entity/ai/brain/sensor/NearestVisibleAdultSensor;findNearestVisibleAdult(Lnet/minecraft/entity/passive/PassiveEntity;Ljava/util/List;)V
-