net.minecraft.world.entity.ai.sensing

public abstract class NearestVisibleLivingEntitySensor

extends Sensor<LivingEntity>

cgk
net.minecraft.world.entity.ai.sensing.NearestVisibleLivingEntitySensor
net.minecraft.class_6045
net.minecraft.entity.ai.brain.sensor.NearestVisibleLivingEntitySensor
net.minecraft.world.entity.ai.sensing.NearestVisibleLivingEntitySensor

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected abstract boolean
a(ash arg0, bwg arg1, bwg arg2)
isMatchingEntity(ServerLevel arg0, LivingEntity arg1, LivingEntity arg2)
method_35148(class_3218 arg0, class_1309 arg1, class_1309 arg2)
matches(ServerWorld world, LivingEntity entity, LivingEntity target)
protected abstract MemoryModuleType<LivingEntity>
b()
getMemory()
method_35150()
getOutputMemoryModule()
public Set<MemoryModuleType<?>>
a()
requires()
method_19099()
getOutputMemoryModules()
protected void
a(ash arg0, bwg arg1)
doTick(ServerLevel arg0, LivingEntity arg1)
method_19101(class_3218 arg0, class_1309 arg1)
sense(ServerWorld arg0, LivingEntity arg1)
private Optional<LivingEntity>
c(ash arg0, bwg arg1)
getNearestEntity(ServerLevel arg0, LivingEntity arg1)
method_35151(class_3218 arg0, class_1309 arg1)
getNearestVisibleLivingEntity(ServerWorld world, LivingEntity entity)
protected Optional<NearestVisibleLivingEntities>
a(bwg arg0)
getVisibleEntities(LivingEntity arg0)
method_35147(class_1309 arg0)
getVisibleLivingEntities(LivingEntity entity)