Class NearestVisibleLivingEntities
java.lang.Object
net.minecraft.world.entity.ai.memory.NearestVisibleLivingEntities
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final NearestVisibleLivingEntities
private final Predicate<LivingEntity>
private final List<LivingEntity>
-
Constructor Summary
ModifierConstructorDescriptionprivate
NearestVisibleLivingEntities
(LivingEntity p_186104_, List<LivingEntity> p_186105_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(Predicate<LivingEntity> p_186131_) boolean
contains
(LivingEntity p_186108_) static NearestVisibleLivingEntities
empty()
find
(Predicate<LivingEntity> p_186129_) findAll
(Predicate<LivingEntity> p_186124_) findClosest
(Predicate<LivingEntity> p_186117_)
-
Field Details
-
EMPTY
-
nearbyEntities
-
lineOfSightTest
-
-
Constructor Details
-
NearestVisibleLivingEntities
private NearestVisibleLivingEntities() -
NearestVisibleLivingEntities
-
-
Method Details
-
empty
-
findClosest
-
findAll
-
find
-
contains
-
contains
-