mirror of https://github.com/FabricMC/yarn.git
24 lines
981 B
Plaintext
24 lines
981 B
Plaintext
CLASS net/minecraft/class_2495 net/minecraft/nbt/NbtIntArray
|
|
COMMENT Represents an NBT 32-bit integer array. This object is mutable and backed by
|
|
COMMENT {@code int[]}. Its type is {@value NbtElement#INT_ARRAY_TYPE}. Like Java arrays,
|
|
COMMENT accessing indices that are out of bounds will throw {@link ArrayIndexOutOfBoundsException}.
|
|
COMMENT The backing array can be obtained via {@link #getIntArray()}.
|
|
FIELD field_11524 value [I
|
|
FIELD field_21036 TYPE Lnet/minecraft/class_4614;
|
|
FIELD field_33195 SIZE I
|
|
METHOD <init> (Ljava/util/List;)V
|
|
ARG 1 value
|
|
METHOD <init> ([I)V
|
|
ARG 1 value
|
|
METHOD equals (Ljava/lang/Object;)Z
|
|
ARG 1 o
|
|
METHOD get (I)Ljava/lang/Object;
|
|
ARG 1 index
|
|
METHOD method_10588 getIntArray ()[I
|
|
COMMENT {@return the underlying int array}
|
|
COMMENT
|
|
COMMENT @apiNote This does not copy the array, so modifications to the returned array
|
|
COMMENT also apply to this NBT int array.
|
|
METHOD method_10590 toArray (Ljava/util/List;)[I
|
|
ARG 0 list
|