2021-02-10 14:35:29 -05:00
|
|
|
CLASS net/minecraft/class_5573 net/minecraft/world/entity/SectionedEntityCache
|
|
|
|
COMMENT Stores entities with the chunk sections they are in.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see EntityTrackingSection
|
|
|
|
FIELD field_27250 entityClass Ljava/lang/Class;
|
|
|
|
FIELD field_27251 posToStatus Lit/unimi/dsi/fastutil/longs/Long2ObjectFunction;
|
|
|
|
FIELD field_27252 trackingSections Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
|
|
|
|
FIELD field_27253 trackedPositions Lit/unimi/dsi/fastutil/longs/LongSortedSet;
|
|
|
|
METHOD <init> (Ljava/lang/Class;Lit/unimi/dsi/fastutil/longs/Long2ObjectFunction;)V
|
|
|
|
ARG 1 entityClass
|
|
|
|
ARG 2 chunkStatusDiscriminator
|
|
|
|
METHOD method_31770 getChunkPositions ()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
|
2022-11-16 10:12:55 -05:00
|
|
|
METHOD method_31773 forEachIntersects (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
2021-02-10 14:35:29 -05:00
|
|
|
ARG 1 filter
|
|
|
|
ARG 2 box
|
2022-11-18 12:15:10 -05:00
|
|
|
ARG 3 consumer
|
2022-11-16 10:12:55 -05:00
|
|
|
METHOD method_31777 forEachInBox (Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
2021-02-10 14:35:29 -05:00
|
|
|
COMMENT Runs the given action on each collection of entities in the chunk sections within the given box.
|
|
|
|
ARG 1 box
|
2022-11-18 12:15:10 -05:00
|
|
|
ARG 2 consumer
|
2022-11-16 10:12:55 -05:00
|
|
|
METHOD method_31778 (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Lnet/minecraft/class_7927;Lnet/minecraft/class_5572;)Lnet/minecraft/class_7927$class_7928;
|
2021-11-22 10:30:43 -05:00
|
|
|
ARG 3 section
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31780 (Lit/unimi/dsi/fastutil/longs/LongSet;J)V
|
2022-11-18 12:15:10 -05:00
|
|
|
ARG 0 trackingSection
|
2021-02-10 14:35:29 -05:00
|
|
|
ARG 1 sectionPos
|
|
|
|
METHOD method_31781 sectionCount ()I
|
|
|
|
METHOD method_31782 getTrackingSections (J)Ljava/util/stream/Stream;
|
|
|
|
ARG 1 chunkPos
|
2022-11-16 10:12:55 -05:00
|
|
|
METHOD method_31783 forEachIntersects (Lnet/minecraft/class_238;Lnet/minecraft/class_7927;)V
|
2021-02-10 14:35:29 -05:00
|
|
|
ARG 1 box
|
2022-11-18 12:15:10 -05:00
|
|
|
ARG 2 consumer
|
2021-02-10 14:35:29 -05:00
|
|
|
METHOD method_31784 getTrackingSection (J)Lnet/minecraft/class_5572;
|
|
|
|
ARG 1 sectionPos
|
|
|
|
METHOD method_31785 findTrackingSection (J)Lnet/minecraft/class_5572;
|
|
|
|
ARG 1 sectionPos
|
|
|
|
METHOD method_31786 removeSection (J)V
|
|
|
|
ARG 1 sectionPos
|
|
|
|
METHOD method_31787 chunkPosFromSectionPos (J)J
|
|
|
|
ARG 0 sectionPos
|
|
|
|
METHOD method_31788 addSection (J)Lnet/minecraft/class_5572;
|
|
|
|
ARG 1 sectionPos
|
2022-11-16 10:12:55 -05:00
|
|
|
METHOD method_39465 (Lnet/minecraft/class_238;Lnet/minecraft/class_7927;Lnet/minecraft/class_5572;)Lnet/minecraft/class_7927$class_7928;
|
2021-11-22 10:30:43 -05:00
|
|
|
ARG 2 section
|