yarn/mappings/net/minecraft/nbt/NbtElement.mapping

77 lines
2.6 KiB
Plaintext
Raw Normal View History

Refactor the whole net.minecraft.nbt package. (#2090) * Refactor the whole net.minecraft.nbt package. * a NBT -> an NBT * -bits -> -bit * Improve javadoc and consistency. * Update mappings/net/minecraft/nbt/AbstractNbtList.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * NbtObject -> NbtCompound... * Remove last occurences of NbtObject I have no idea how I missed those... They are quite obvious. Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtCompound.mapping Co-authored-by: YanisBft <doublecraft.official@gmail.com> * Apply suggestions. * Restore addElement and setElement. * Fix some missed stuff. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: Gegy <gegy1000@gmail.com> * Reformat type value part of NBT elements javadoc. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Clarify documentation. * Apply @ChloeDawn's suggestion. * rawType -> id * Apply haykam's suggestions. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * getX -> xValue in AbstractNbtNumber. * Apply more changes from code review. * Apply suggestions from haykam's code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: YanisBft <doublecraft.official@gmail.com> Co-authored-by: Gegy <gegy1000@gmail.com>
2021-03-18 15:17:51 -04:00
CLASS net/minecraft/class_2520 net/minecraft/nbt/NbtElement
COMMENT Represents an NBT element.
FIELD field_33250 NULL_TYPE B
COMMENT The numeric ID of an NBT null value. Is {@value}.
COMMENT
COMMENT @see NbtNull
FIELD field_33251 BYTE_TYPE B
COMMENT The numeric ID of an NBT byte value. Is {@value}.
COMMENT
COMMENT @see NbtByte
FIELD field_33252 SHORT_TYPE B
COMMENT The numeric ID of an NBT short value. Is {@value}.
COMMENT
COMMENT @see NbtShort
FIELD field_33253 INT_TYPE B
COMMENT The numeric ID of an NBT integer value. Is {@value}.
COMMENT
COMMENT @see NbtInt
FIELD field_33254 LONG_TYPE B
COMMENT The numeric ID of an NBT long value. Is {@value}.
COMMENT
COMMENT @see NbtLong
FIELD field_33255 FLOAT_TYPE B
COMMENT The numeric ID of an NBT float value. Is {@value}.
COMMENT
COMMENT @see NbtFloat
FIELD field_33256 DOUBLE_TYPE B
COMMENT The numeric ID of an NBT double value. Is {@value}.
COMMENT
COMMENT @see NbtDouble
FIELD field_33257 BYTE_ARRAY_TYPE B
COMMENT The numeric ID of an NBT byte array value. Is {@value}.
COMMENT
COMMENT @see NbtByteArray
FIELD field_33258 STRING_TYPE B
COMMENT The numeric ID of an NBT string value. Is {@value}.
COMMENT
COMMENT @see NbtString
FIELD field_33259 LIST_TYPE B
COMMENT The numeric ID of an NBT list value. Is {@value}.
COMMENT
COMMENT @see NbtList
FIELD field_33260 COMPOUND_TYPE B
COMMENT The numeric ID of an NBT compound value. Is {@value}.
COMMENT
COMMENT @see NbtCompound
FIELD field_33261 INT_ARRAY_TYPE B
COMMENT The numeric ID of an NBT integer array value. Is {@value}.
COMMENT
COMMENT @see NbtIntArray
FIELD field_33262 LONG_ARRAY_TYPE B
COMMENT The numeric ID of an NBT long array value. Is {@value}.
COMMENT
COMMENT @see NbtLongArray
FIELD field_33263 NUMBER_TYPE B
COMMENT A wildcard NBT numeric ID that can be used for <i>checking</i> whether an NBT element is an {@link AbstractNbtNumber}. Is {@value}.
COMMENT
COMMENT @see NbtCompound#getType(String)
COMMENT @see NbtCompound#contains(String, int)
Refactor the whole net.minecraft.nbt package. (#2090) * Refactor the whole net.minecraft.nbt package. * a NBT -> an NBT * -bits -> -bit * Improve javadoc and consistency. * Update mappings/net/minecraft/nbt/AbstractNbtList.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * NbtObject -> NbtCompound... * Remove last occurences of NbtObject I have no idea how I missed those... They are quite obvious. Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtCompound.mapping Co-authored-by: YanisBft <doublecraft.official@gmail.com> * Apply suggestions. * Restore addElement and setElement. * Fix some missed stuff. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: Gegy <gegy1000@gmail.com> * Reformat type value part of NBT elements javadoc. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Clarify documentation. * Apply @ChloeDawn's suggestion. * rawType -> id * Apply haykam's suggestions. * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * getX -> xValue in AbstractNbtNumber. * Apply more changes from code review. * Apply suggestions from haykam's code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: YanisBft <doublecraft.official@gmail.com> Co-authored-by: Gegy <gegy1000@gmail.com>
2021-03-18 15:17:51 -04:00
METHOD method_10707 copy ()Lnet/minecraft/class_2520;
COMMENT Copies this NBT element.
COMMENT
COMMENT @return the copied element
METHOD method_10711 getType ()B
COMMENT Gets the type of this NBT element.
COMMENT
COMMENT @return the type
METHOD method_10713 write (Ljava/io/DataOutput;)V
ARG 1 output
METHOD method_10714 asString ()Ljava/lang/String;
METHOD method_23258 getNbtType ()Lnet/minecraft/class_4614;
COMMENT Gets the NBT type definition of this NBT element.
COMMENT
COMMENT @return the element type definition
METHOD method_32289 accept (Lnet/minecraft/class_5627;)V
ARG 1 visitor