Class NearestLivingEntitiesSensor<T extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<T>
net.minecraft.entity.ai.brain.sensor.NearestLivingEntitiesSensor<T>
- Direct Known Subclasses:
BreezeAttackablesSensor
,WardenAttackablesSensor
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/sensor/NearestLivingEntitiesSensor
intermediary net/minecraft/class_4146
official cdf
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
BASE_MAX_DISTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
protected int
Set
<MemoryModuleType<?>> protected void
sense
(ServerWorld world, T entity) Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
testAttackableTargetPredicate, testAttackableTargetPredicateIgnoreVisibility, testTargetPredicate, tick
-
Constructor Details
-
NearestLivingEntitiesSensor
public NearestLivingEntitiesSensor()
-
-
Method Details
-
sense
- Specified by:
sense
in classSensor<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector named sense
Lnet/minecraft/entity/ai/brain/sensor/Sensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V
intermediary method_19101
Lnet/minecraft/class_4148;method_19101(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)V
official a
Lcdm;a(Laqm;Lbtc;)V
-
getHorizontalExpansion
protected int getHorizontalExpansion()- Mappings:
Namespace Name Mixin selector named getHorizontalExpansion
Lnet/minecraft/entity/ai/brain/sensor/NearestLivingEntitiesSensor;getHorizontalExpansion()I
intermediary method_43081
Lnet/minecraft/class_4146;method_43081()I
official b
Lcdf;b()I
-
getHeightExpansion
protected int getHeightExpansion()- Mappings:
Namespace Name Mixin selector named getHeightExpansion
Lnet/minecraft/entity/ai/brain/sensor/NearestLivingEntitiesSensor;getHeightExpansion()I
intermediary method_43082
Lnet/minecraft/class_4146;method_43082()I
official c
Lcdf;c()I
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<T extends LivingEntity>
- 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
Lcdm;a()Ljava/util/Set;
-