mirror of https://github.com/FabricMC/yarn.git
104 lines
4.1 KiB
Plaintext
104 lines
4.1 KiB
Plaintext
CLASS net/minecraft/class_3560 net/minecraft/world/chunk/light/LightStorage
|
|
COMMENT LightStorage handles the access, storage and propagation of a specific kind of light within the world.
|
|
COMMENT For example, separate instances will be used to store block light as opposed to sky light.
|
|
COMMENT
|
|
COMMENT <p>The smallest unit within LightStorage is the section. Sections represent a cube of 16x16x16 blocks and their lighting data.
|
|
COMMENT In turn, 16 sections stacked on top of each other form a column, which are analogous to the standard 16x256x16 world chunks.
|
|
COMMENT
|
|
COMMENT <p>To avoid allocations, LightStorage packs all the coordinate arguments into single long values. Extra care should be taken
|
|
COMMENT to ensure that the relevant types are being used where appropriate.
|
|
COMMENT
|
|
COMMENT @see SkyLightStorage
|
|
COMMENT @see BlockLightStorage
|
|
FIELD field_15796 storage Lnet/minecraft/class_3556;
|
|
FIELD field_15798 sectionsToRemove Lit/unimi/dsi/fastutil/longs/LongSet;
|
|
FIELD field_15802 dirtySections Lit/unimi/dsi/fastutil/longs/LongSet;
|
|
FIELD field_15803 chunkProvider Lnet/minecraft/class_2823;
|
|
FIELD field_15805 lightType Lnet/minecraft/class_1944;
|
|
FIELD field_15806 uncachedStorage Lnet/minecraft/class_3556;
|
|
FIELD field_15807 queuedSections Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
|
|
FIELD field_16448 notifySections Lit/unimi/dsi/fastutil/longs/LongSet;
|
|
FIELD field_19342 columnsToRetain Lit/unimi/dsi/fastutil/longs/LongSet;
|
|
FIELD field_44716 sectionPropagations Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
|
|
FIELD field_44717 hasLightUpdates Z
|
|
FIELD field_44718 enabledColumns Lit/unimi/dsi/fastutil/longs/LongSet;
|
|
METHOD <init> (Lnet/minecraft/class_1944;Lnet/minecraft/class_2823;Lnet/minecraft/class_3556;)V
|
|
ARG 1 lightType
|
|
ARG 2 chunkProvider
|
|
ARG 3 lightData
|
|
METHOD method_15522 getLightSection (JZ)Lnet/minecraft/class_2804;
|
|
ARG 1 sectionPos
|
|
ARG 3 cached
|
|
METHOD method_15523 onLoadSection (J)V
|
|
ARG 1 sectionPos
|
|
METHOD method_15524 hasSection (J)Z
|
|
ARG 1 sectionPos
|
|
METHOD method_15525 set (JI)V
|
|
ARG 1 blockPos
|
|
ARG 3 value
|
|
METHOD method_15526 setSectionStatus (JZ)V
|
|
ARG 1 sectionPos
|
|
ARG 3 notReady
|
|
METHOD method_15527 updateLight (Lnet/minecraft/class_3558;)V
|
|
ARG 1 lightProvider
|
|
METHOD method_15528 hasLightUpdates ()Z
|
|
METHOD method_15529 createSection (J)Lnet/minecraft/class_2804;
|
|
ARG 1 sectionPos
|
|
METHOD method_15530 notifyChanges ()V
|
|
METHOD method_15532 enqueueSectionData (JLnet/minecraft/class_2804;)V
|
|
ARG 1 sectionPos
|
|
ARG 3 array
|
|
METHOD method_15533 getLightSection (Lnet/minecraft/class_3556;J)Lnet/minecraft/class_2804;
|
|
ARG 1 storage
|
|
ARG 2 sectionPos
|
|
METHOD method_15534 onUnloadSection (J)V
|
|
ARG 1 sectionPos
|
|
METHOD method_15535 setColumnEnabled (JZ)V
|
|
ARG 1 columnPos
|
|
ARG 3 enabled
|
|
METHOD method_15537 get (J)I
|
|
ARG 1 blockPos
|
|
METHOD method_15538 getLight (J)I
|
|
ARG 1 blockPos
|
|
METHOD method_20533 getLightSection (J)Lnet/minecraft/class_2804;
|
|
ARG 1 sectionPos
|
|
METHOD method_20600 setRetainColumn (JZ)V
|
|
ARG 1 sectionPos
|
|
ARG 3 retain
|
|
METHOD method_51415 addNotifySections (J)V
|
|
ARG 1 id
|
|
METHOD method_51546 setSectionPropagation (JB)V
|
|
ARG 1 sectionPos
|
|
ARG 3 flags
|
|
METHOD method_51547 (J)Lnet/minecraft/class_2804;
|
|
ARG 1 sectionPos
|
|
METHOD method_51548 isSectionInEnabledColumn (J)Z
|
|
ARG 1 sectionPos
|
|
METHOD method_51549 getStatus (J)Lnet/minecraft/class_3560$class_8530;
|
|
ARG 1 sectionPos
|
|
METHOD method_51550 queueForUpdate (J)V
|
|
ARG 1 sectionPos
|
|
METHOD method_51551 queueForRemoval (J)V
|
|
ARG 1 sectionPos
|
|
CLASS class_8529 PropagationFlags
|
|
FIELD field_44720 MIN_NEIGHBOR_COUNT I
|
|
FIELD field_44721 MAX_NEIGHBOR_COUNT I
|
|
FIELD field_44723 NEIGHBOR_COUNT_MASK B
|
|
METHOD method_51552 isReady (B)Z
|
|
ARG 0 packed
|
|
METHOD method_51553 withNeighborCount (BI)B
|
|
ARG 0 packed
|
|
ARG 1 neighborCount
|
|
METHOD method_51554 setReady (BZ)B
|
|
ARG 0 packed
|
|
ARG 1 ready
|
|
METHOD method_51555 getNeighborCount (B)I
|
|
ARG 0 packed
|
|
METHOD method_51556 getStatus (B)Lnet/minecraft/class_3560$class_8530;
|
|
ARG 0 packed
|
|
CLASS class_8530 Status
|
|
FIELD field_44727 sigil Ljava/lang/String;
|
|
METHOD <init> (Ljava/lang/String;ILjava/lang/String;)V
|
|
ARG 3 sigil
|
|
METHOD method_51557 getSigil ()Ljava/lang/String;
|