public interface IEntityReader
Modifier and Type | Method and Description |
---|---|
default boolean |
checkNoEntityCollision(Entity entityIn,
VoxelShape shape) |
default <T extends LivingEntity> |
func_225318_b(java.lang.Class<? extends T> p_225318_1_,
EntityPredicate p_225318_2_,
LivingEntity p_225318_3_,
double p_225318_4_,
double p_225318_6_,
double p_225318_8_,
AxisAlignedBB p_225318_10_) |
default <T extends LivingEntity> |
getClosestEntity(java.util.List<? extends T> entities,
EntityPredicate predicate,
LivingEntity target,
double x,
double y,
double z) |
default <T extends LivingEntity> |
getClosestEntityWithinAABB(java.lang.Class<? extends T> entityClazz,
EntityPredicate p_217360_2_,
LivingEntity target,
double x,
double y,
double z,
AxisAlignedBB boundingBox) |
default PlayerEntity |
getClosestPlayer(double x,
double y,
double z) |
default PlayerEntity |
getClosestPlayer(double x,
double y,
double z,
double distance,
boolean creativePlayers) |
default PlayerEntity |
getClosestPlayer(double x,
double y,
double z,
double distance,
java.util.function.Predicate<Entity> predicate) |
default PlayerEntity |
getClosestPlayer(Entity entityIn,
double distance) |
default PlayerEntity |
getClosestPlayer(EntityPredicate predicate,
double x,
double y,
double z) |
default PlayerEntity |
getClosestPlayer(EntityPredicate predicate,
LivingEntity target) |
default PlayerEntity |
getClosestPlayer(EntityPredicate predicate,
LivingEntity target,
double p_217372_3_,
double p_217372_5_,
double p_217372_7_) |
default java.util.stream.Stream<VoxelShape> |
getEmptyCollisionShapes(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
java.util.List<Entity> |
getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
default <T extends Entity> |
getEntitiesWithinAABB(java.lang.Class<? extends T> p_217357_1_,
AxisAlignedBB p_217357_2_) |
<T extends Entity> |
getEntitiesWithinAABB(java.lang.Class<? extends T> clazz,
AxisAlignedBB aabb,
java.util.function.Predicate<? super T> filter) |
default java.util.List<Entity> |
getEntitiesWithinAABBExcludingEntity(Entity entityIn,
AxisAlignedBB bb) |
default <T extends Entity> |
getLoadedEntitiesWithinAABB(java.lang.Class<? extends T> p_225317_1_,
AxisAlignedBB p_225317_2_) |
default <T extends Entity> |
getLoadedEntitiesWithinAABB(java.lang.Class<? extends T> p_225316_1_,
AxisAlignedBB p_225316_2_,
java.util.function.Predicate<? super T> p_225316_3_) |
default PlayerEntity |
getPlayerByUuid(java.util.UUID uniqueIdIn) |
java.util.List<? extends PlayerEntity> |
getPlayers() |
default <T extends LivingEntity> |
getTargettableEntitiesWithinAABB(java.lang.Class<? extends T> p_217374_1_,
EntityPredicate p_217374_2_,
LivingEntity p_217374_3_,
AxisAlignedBB p_217374_4_) |
default java.util.List<PlayerEntity> |
getTargettablePlayersWithinAABB(EntityPredicate predicate,
LivingEntity target,
AxisAlignedBB box) |
default boolean |
isPlayerWithin(double x,
double y,
double z,
double distance) |
java.util.List<Entity> getEntitiesInAABBexcluding(@Nullable Entity entityIn, AxisAlignedBB boundingBox, @Nullable java.util.function.Predicate<? super Entity> predicate)
<T extends Entity> java.util.List<T> getEntitiesWithinAABB(java.lang.Class<? extends T> clazz, AxisAlignedBB aabb, @Nullable java.util.function.Predicate<? super T> filter)
default <T extends Entity> java.util.List<T> getLoadedEntitiesWithinAABB(java.lang.Class<? extends T> p_225316_1_, AxisAlignedBB p_225316_2_, @Nullable java.util.function.Predicate<? super T> p_225316_3_)
java.util.List<? extends PlayerEntity> getPlayers()
default java.util.List<Entity> getEntitiesWithinAABBExcludingEntity(@Nullable Entity entityIn, AxisAlignedBB bb)
default boolean checkNoEntityCollision(@Nullable Entity entityIn, VoxelShape shape)
default <T extends Entity> java.util.List<T> getEntitiesWithinAABB(java.lang.Class<? extends T> p_217357_1_, AxisAlignedBB p_217357_2_)
default <T extends Entity> java.util.List<T> getLoadedEntitiesWithinAABB(java.lang.Class<? extends T> p_225317_1_, AxisAlignedBB p_225317_2_)
default java.util.stream.Stream<VoxelShape> getEmptyCollisionShapes(@Nullable Entity entityIn, AxisAlignedBB aabb, java.util.Set<Entity> entitiesToIgnore)
@Nullable default PlayerEntity getClosestPlayer(double x, double y, double z, double distance, @Nullable java.util.function.Predicate<Entity> predicate)
@Nullable default PlayerEntity getClosestPlayer(Entity entityIn, double distance)
@Nullable default PlayerEntity getClosestPlayer(double x, double y, double z, double distance, boolean creativePlayers)
@Nullable default PlayerEntity getClosestPlayer(double x, double y, double z)
default boolean isPlayerWithin(double x, double y, double z, double distance)
@Nullable default PlayerEntity getClosestPlayer(EntityPredicate predicate, LivingEntity target)
@Nullable default PlayerEntity getClosestPlayer(EntityPredicate predicate, LivingEntity target, double p_217372_3_, double p_217372_5_, double p_217372_7_)
@Nullable default PlayerEntity getClosestPlayer(EntityPredicate predicate, double x, double y, double z)
@Nullable default <T extends LivingEntity> T getClosestEntityWithinAABB(java.lang.Class<? extends T> entityClazz, EntityPredicate p_217360_2_, @Nullable LivingEntity target, double x, double y, double z, AxisAlignedBB boundingBox)
@Nullable default <T extends LivingEntity> T func_225318_b(java.lang.Class<? extends T> p_225318_1_, EntityPredicate p_225318_2_, @Nullable LivingEntity p_225318_3_, double p_225318_4_, double p_225318_6_, double p_225318_8_, AxisAlignedBB p_225318_10_)
@Nullable default <T extends LivingEntity> T getClosestEntity(java.util.List<? extends T> entities, EntityPredicate predicate, @Nullable LivingEntity target, double x, double y, double z)
default java.util.List<PlayerEntity> getTargettablePlayersWithinAABB(EntityPredicate predicate, LivingEntity target, AxisAlignedBB box)
default <T extends LivingEntity> java.util.List<T> getTargettableEntitiesWithinAABB(java.lang.Class<? extends T> p_217374_1_, EntityPredicate p_217374_2_, LivingEntity p_217374_3_, AxisAlignedBB p_217374_4_)
@Nullable default PlayerEntity getPlayerByUuid(java.util.UUID uniqueIdIn)