Interface IEntityReader

    • Method Detail

      • getEntities

        java.util.List<Entity> getEntities​(@Nullable
                                           Entity p_175674_1_,
                                           AxisAlignedBB p_175674_2_,
                                           @Nullable
                                           java.util.function.Predicate<? super Entity> p_175674_3_)
      • getEntitiesOfClass

        <T extends Entity> java.util.List<T> getEntitiesOfClass​(java.lang.Class<? extends T> p_175647_1_,
                                                                AxisAlignedBB p_175647_2_,
                                                                @Nullable
                                                                java.util.function.Predicate<? super T> p_175647_3_)
      • getLoadedEntitiesOfClass

        default <T extends Entity> java.util.List<T> getLoadedEntitiesOfClass​(java.lang.Class<? extends T> p_225316_1_,
                                                                              AxisAlignedBB p_225316_2_,
                                                                              @Nullable
                                                                              java.util.function.Predicate<? super T> p_225316_3_)
      • isUnobstructed

        default boolean isUnobstructed​(@Nullable
                                       Entity p_195585_1_,
                                       VoxelShape p_195585_2_)
      • getEntitiesOfClass

        default <T extends Entity> java.util.List<T> getEntitiesOfClass​(java.lang.Class<? extends T> p_217357_1_,
                                                                        AxisAlignedBB p_217357_2_)
      • getLoadedEntitiesOfClass

        default <T extends Entity> java.util.List<T> getLoadedEntitiesOfClass​(java.lang.Class<? extends T> p_225317_1_,
                                                                              AxisAlignedBB p_225317_2_)
      • getEntityCollisions

        default java.util.stream.Stream<VoxelShape> getEntityCollisions​(@Nullable
                                                                        Entity p_230318_1_,
                                                                        AxisAlignedBB p_230318_2_,
                                                                        java.util.function.Predicate<Entity> p_230318_3_)
      • getNearestPlayer

        @Nullable
        default PlayerEntity getNearestPlayer​(double p_190525_1_,
                                              double p_190525_3_,
                                              double p_190525_5_,
                                              double p_190525_7_,
                                              @Nullable
                                              java.util.function.Predicate<Entity> p_190525_9_)
      • getNearestPlayer

        @Nullable
        default PlayerEntity getNearestPlayer​(Entity p_217362_1_,
                                              double p_217362_2_)
      • getNearestPlayer

        @Nullable
        default PlayerEntity getNearestPlayer​(double p_217366_1_,
                                              double p_217366_3_,
                                              double p_217366_5_,
                                              double p_217366_7_,
                                              boolean p_217366_9_)
      • hasNearbyAlivePlayer

        default boolean hasNearbyAlivePlayer​(double p_217358_1_,
                                             double p_217358_3_,
                                             double p_217358_5_,
                                             double p_217358_7_)
      • getNearestPlayer

        @Nullable
        default PlayerEntity getNearestPlayer​(EntityPredicate p_217359_1_,
                                              double p_217359_2_,
                                              double p_217359_4_,
                                              double p_217359_6_)
      • getNearestEntity

        @Nullable
        default <T extends LivingEntity> T getNearestEntity​(java.lang.Class<? extends T> p_217360_1_,
                                                            EntityPredicate p_217360_2_,
                                                            @Nullable
                                                            LivingEntity p_217360_3_,
                                                            double p_217360_4_,
                                                            double p_217360_6_,
                                                            double p_217360_8_,
                                                            AxisAlignedBB p_217360_10_)
      • getNearestLoadedEntity

        @Nullable
        default <T extends LivingEntity> T getNearestLoadedEntity​(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_)
      • getNearestEntity

        @Nullable
        default <T extends LivingEntity> T getNearestEntity​(java.util.List<? extends T> p_217361_1_,
                                                            EntityPredicate p_217361_2_,
                                                            @Nullable
                                                            LivingEntity p_217361_3_,
                                                            double p_217361_4_,
                                                            double p_217361_6_,
                                                            double p_217361_8_)
      • getPlayerByUUID

        @Nullable
        default PlayerEntity getPlayerByUUID​(java.util.UUID p_217371_1_)