接口 ServerEntityGetter
- 所有超级接口:
EntityGetter
- 所有已知实现类:
ServerLevel
-
方法概要
修饰符和类型方法说明getLevel()
default <T extends LivingEntity>
List<T> getNearbyEntities
(Class<T> p_369219_, TargetingConditions p_364644_, LivingEntity p_368357_, AABB p_361404_) getNearbyPlayers
(TargetingConditions p_362024_, LivingEntity p_363864_, AABB p_363224_) default <T extends LivingEntity>
TgetNearestEntity
(Class<? extends T> p_364887_, TargetingConditions p_361392_, LivingEntity p_363210_, double p_365809_, double p_364247_, double p_363656_, AABB p_369962_) default <T extends LivingEntity>
TgetNearestEntity
(List<? extends T> p_363565_, TargetingConditions p_366923_, LivingEntity p_362427_, double p_366460_, double p_364508_, double p_364611_) default Player
getNearestPlayer
(TargetingConditions p_364861_, double p_366090_, double p_366921_, double p_362082_) default Player
getNearestPlayer
(TargetingConditions p_368835_, LivingEntity p_369012_) default Player
getNearestPlayer
(TargetingConditions p_367520_, LivingEntity p_363007_, double p_369096_, double p_368606_, double p_362625_) 从接口继承的方法 net.minecraft.world.level.EntityGetter
getEntities, getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getEntityCollisions, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayer, isUnobstructed, players
-
方法详细资料
-
getLevel
ServerLevel getLevel() -
getNearestPlayer
-
getNearestPlayer
@Nullable default Player getNearestPlayer(TargetingConditions p_367520_, LivingEntity p_363007_, double p_369096_, double p_368606_, double p_362625_) -
getNearestPlayer
@Nullable default Player getNearestPlayer(TargetingConditions p_364861_, double p_366090_, double p_366921_, double p_362082_) -
getNearestEntity
@Nullable default <T extends LivingEntity> T getNearestEntity(Class<? extends T> p_364887_, TargetingConditions p_361392_, @Nullable LivingEntity p_363210_, double p_365809_, double p_364247_, double p_363656_, AABB p_369962_) -
getNearestEntity
@Nullable default <T extends LivingEntity> T getNearestEntity(List<? extends T> p_363565_, TargetingConditions p_366923_, @Nullable LivingEntity p_362427_, double p_366460_, double p_364508_, double p_364611_) -
getNearbyPlayers
default List<Player> getNearbyPlayers(TargetingConditions p_362024_, LivingEntity p_363864_, AABB p_363224_) -
getNearbyEntities
default <T extends LivingEntity> List<T> getNearbyEntities(Class<T> p_369219_, TargetingConditions p_364644_, LivingEntity p_368357_, AABB p_361404_)
-