Class NearestPlayersSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.NearestPlayersSensor
public class NearestPlayersSensor extends Sensor<LivingEntity>
-
Field Summary
Fields Modifier and Type Field Description private static TargetPredicatefield_25161 -
Constructor Summary
Constructors Constructor Description NearestPlayersSensor() -
Method Summary
Modifier and Type Method Description Set<MemoryModuleType<?>>getOutputMemoryModules()protected voidsense(ServerWorld world, LivingEntity entity)
-
Field Details
-
Constructor Details
-
NearestPlayersSensor
public NearestPlayersSensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModulesin classSensor<LivingEntity>
-
sense
- Specified by:
sensein classSensor<LivingEntity>
-