net.minecraft.world.entity.ai.memory

public class NearestVisibleLivingEntities

bfi
net.minecraft.world.entity.ai.memory.NearestVisibleLivingEntities
net.minecraft.class_6670
net.minecraft.entity.ai.brain.LivingTargetCache
net.minecraft.src.C_182844_
net.minecraft.world.entity.ai.memory.NearestVisibleLivingEntities

Field summary

Modifier and TypeField
private static final NearestVisibleLivingEntities
a
EMPTY
field_35104
EMPTY
f_186098_
private final List<LivingEntity>
b
nearbyEntities
field_35105
entities
f_186099_
private final Predicate<LivingEntity>
c
lineOfSightTest
field_35106
targetPredicate
f_186100_

Constructor summary

ModifierConstructor
private ()
public (LivingEntity owner, List<LivingEntity> entities)

Method summary

Modifier and TypeMethod
public static NearestVisibleLivingEntities
a()
empty()
method_38971()
empty()
m_186106_()
public Optional<LivingEntity>
a(Predicate<axh> arg0)
findClosest(Predicate<LivingEntity> arg0)
method_38975(Predicate<class_1309> arg0)
findFirst(Predicate<LivingEntity> predicate)
m_186116_(Predicate<C_524_> arg0)
public Iterable<LivingEntity>
b(Predicate<axh> arg0)
findAll(Predicate<LivingEntity> arg0)
method_38978(Predicate<class_1309> arg0)
iterate(Predicate<LivingEntity> predicate)
m_186123_(Predicate<C_524_> arg0)
public Stream<LivingEntity>
c(Predicate<axh> arg0)
find(Predicate<LivingEntity> arg0)
method_38980(Predicate<class_1309> arg0)
stream(Predicate<LivingEntity> predicate)
m_186128_(Predicate<C_524_> arg0)
public boolean
a(axh arg0)
contains(LivingEntity arg0)
method_38972(class_1309 arg0)
contains(LivingEntity entity)
m_186107_(C_524_ arg0)
public boolean
d(Predicate<axh> arg0)
contains(Predicate<LivingEntity> arg0)
method_38981(Predicate<class_1309> arg0)
anyMatch(Predicate<LivingEntity> predicate)
m_186130_(Predicate<C_524_> arg0)