yarn/mappings/net/minecraft/util/math/WordPackedArray.mapping

24 lines
689 B
Plaintext

CLASS net/minecraft/class_5298 net/minecraft/util/math/WordPackedArray
COMMENT A packed array of integers. Introduced in 20w17a to represent the old
COMMENT block state storage format.
FIELD field_24641 array [J
FIELD field_24642 unitSize I
FIELD field_24643 maxValue J
FIELD field_24644 length I
METHOD <init> (II)V
ARG 1 unitSize
COMMENT the max number of bits a value can use
ARG 2 length
COMMENT the length of values
METHOD <init> (II[J)V
ARG 1 unitSize
ARG 2 length
ARG 3 array
METHOD method_28151 getAlignedArray ()[J
METHOD method_28152 get (I)I
ARG 1 index
METHOD method_28153 set (II)V
ARG 1 index
ARG 2 value
METHOD method_28154 getUnitSize ()I