CLASS net/minecraft/class_5573 net/minecraft/world/entity/SectionedEntityCache COMMENT Stores entities with the chunk sections they are in. FIELD field_27250 entityClass Ljava/lang/Class; FIELD field_27251 chunkStatusDescriminator Lit/unimi/dsi/fastutil/longs/Long2ObjectFunction; FIELD field_27252 entitySetsBySection Lit/unimi/dsi/fastutil/longs/Long2ObjectMap; FIELD field_27253 chunkSectionPositions Lit/unimi/dsi/fastutil/longs/LongSortedSet; METHOD (Ljava/lang/Class;Lit/unimi/dsi/fastutil/longs/Long2ObjectFunction;)V ARG 1 entityClass ARG 2 chunkStatusDiscriminator METHOD method_31770 chunkPositions ()Lit/unimi/dsi/fastutil/longs/LongSet; METHOD method_31771 getSections (II)Lit/unimi/dsi/fastutil/longs/LongSortedSet; ARG 1 chunkX ARG 2 chunkZ METHOD method_31772 getSections (J)Ljava/util/stream/LongStream; ARG 1 chunkPos METHOD method_31773 forEachFilteredEntity (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Consumer;)V ARG 1 filter ARG 2 box ARG 3 action METHOD method_31775 intersecting (Lnet/minecraft/class_238;)Ljava/util/function/Predicate; ARG 0 box METHOD method_31777 forEachEntityBySection (Lnet/minecraft/class_238;Ljava/util/function/Consumer;)V COMMENT Runs the given action on each collection of entities in the chunk sections within the given box. ARG 1 box ARG 2 action METHOD method_31779 toPackedSectionPos (Lnet/minecraft/class_2338;)J ARG 0 pos METHOD method_31781 sectionCount ()I METHOD method_31782 getEntitiesInChunkBySection (J)Ljava/util/stream/Stream; ARG 1 chunkPos METHOD method_31783 forEachEntity (Lnet/minecraft/class_238;Ljava/util/function/Consumer;)V ARG 1 box ARG 2 action METHOD method_31784 getEntities (J)Lnet/minecraft/class_5572; ARG 1 sectionPos METHOD method_31785 getEntitiesIfPresent (J)Lnet/minecraft/class_5572; ARG 1 sectionPos METHOD method_31786 removeChunkSection (J)V ARG 1 sectionPos METHOD method_31787 chunkPosFromSectionPos (J)J ARG 0 sectionPos METHOD method_31788 addChunkSection (J)Lnet/minecraft/class_5572; ARG 1 sectionPos