yarn/mappings/net/minecraft/world/entity/SectionedEntityCache.mapping

46 lines
2.1 KiB
Plaintext

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
METHOD method_31773 forEachIntersects (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 forEachInBox (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_31780 (Lit/unimi/dsi/fastutil/longs/LongSet;J)V
ARG 1 sectionPos
METHOD method_31781 sectionCount ()I
METHOD method_31782 getTrackingSections (J)Ljava/util/stream/Stream;
ARG 1 chunkPos
METHOD method_31783 forEachIntersects (Lnet/minecraft/class_238;Ljava/util/function/Consumer;)V
ARG 1 box
ARG 2 action
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