Class NearestItemsSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<MobEntity>
net.minecraft.entity.ai.brain.sensor.NearestItemsSensor
public class NearestItemsSensor extends Sensor<MobEntity>
- Mappings:
Namespace Name official azy
intermediary net/minecraft/class_4833
named net/minecraft/entity/ai/brain/sensor/NearestItemsSensor
-
Constructor Summary
Constructors Constructor Description NearestItemsSensor()
-
Method Summary
Modifier and Type Method Description Set<MemoryModuleType<?>>
getOutputMemoryModules()
protected void
sense(ServerWorld serverWorld, MobEntity mobEntity)
Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
testTargetPredicate, tick
-
Constructor Details
-
NearestItemsSensor
public NearestItemsSensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<MobEntity>
- 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<MobEntity>
- Mappings:
Namespace Name Mixin selector official a
Lazy;a(Laav;Larj;)V
intermediary method_24645
Lnet/minecraft/class_4833;method_24645(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;)V
named sense
Lnet/minecraft/entity/ai/brain/sensor/NearestItemsSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;)V
-