类 NearestVisibleLivingEntities
java.lang.Object
net.minecraft.world.entity.ai.memory.NearestVisibleLivingEntities
-
字段概要
字段修饰符和类型字段说明private static final NearestVisibleLivingEntities
private final Predicate<LivingEntity>
private final List<LivingEntity>
-
构造器概要
构造器限定符构造器说明private
NearestVisibleLivingEntities
(LivingEntity pLivingEntity, List<LivingEntity> pNearbyLivingEntities) -
方法概要
修饰符和类型方法说明boolean
contains
(Predicate<LivingEntity> pPredicate) boolean
contains
(LivingEntity pEntity) static NearestVisibleLivingEntities
empty()
find
(Predicate<LivingEntity> pPredicate) findAll
(Predicate<LivingEntity> pPredicate) findClosest
(Predicate<LivingEntity> pPredicate)
-
字段详细资料
-
EMPTY
-
nearbyEntities
-
lineOfSightTest
-
-
构造器详细资料
-
NearestVisibleLivingEntities
private NearestVisibleLivingEntities() -
NearestVisibleLivingEntities
public NearestVisibleLivingEntities(LivingEntity pLivingEntity, List<LivingEntity> pNearbyLivingEntities)
-
-
方法详细资料
-
empty
-
findClosest
-
findAll
-
find
-
contains
-
contains
-