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

45 lines
1.8 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_4614 net/minecraft/nbt/NbtType
COMMENT Represents an NBT type.
METHOD method_23259 getCrashReportName ()Ljava/lang/String;
METHOD method_23260 createInvalid (I)Lnet/minecraft/class_4614;
COMMENT {@return an invalid NBT type}
COMMENT
COMMENT <p>Operations with an invalid NBT type always throws {@link IOException}.
COMMENT
COMMENT @see NbtTypes#byId(int)
ARG 0 type
METHOD method_23261 getCommandFeedbackName ()Ljava/lang/String;
2023-09-12 09:17:57 -04:00
METHOD method_23262 read (Ljava/io/DataInput;Lnet/minecraft/class_2505;)Lnet/minecraft/class_2520;
ARG 1 input
2023-09-12 10:39:11 -04:00
ARG 2 tracker
METHOD method_23263 isImmutable ()Z
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
COMMENT Determines the immutability of this type.
COMMENT <p>
COMMENT The mutability of an NBT type means the held value can be modified
COMMENT after the NBT element is instantiated.
COMMENT
COMMENT @return {@code true} if this NBT type is immutable, else {@code false}
2023-09-12 09:17:57 -04:00
METHOD method_39851 skip (Ljava/io/DataInput;Lnet/minecraft/class_2505;)V
ARG 1 input
2023-09-12 10:39:11 -04:00
ARG 2 tracker
2023-09-12 09:17:57 -04:00
METHOD method_39852 doAccept (Ljava/io/DataInput;Lnet/minecraft/class_6836;Lnet/minecraft/class_2505;)Lnet/minecraft/class_6836$class_6838;
ARG 1 input
ARG 2 visitor
2023-09-12 10:39:11 -04:00
ARG 3 tracker
2023-09-12 09:17:57 -04:00
METHOD method_39854 skip (Ljava/io/DataInput;ILnet/minecraft/class_2505;)V
ARG 1 input
ARG 2 count
2023-09-12 10:39:11 -04:00
ARG 3 tracker
2023-09-12 09:17:57 -04:00
METHOD method_39877 accept (Ljava/io/DataInput;Lnet/minecraft/class_6836;Lnet/minecraft/class_2505;)V
ARG 1 input
ARG 2 visitor
2023-09-12 10:39:11 -04:00
ARG 3 tracker
CLASS 1
METHOD method_39878 createException ()Ljava/io/IOException;
CLASS class_6839 OfFixedSize
COMMENT Represents an NBT type whose elements have a fixed size, such as primitives.
METHOD method_39853 getSizeInBytes ()I
COMMENT {@return the size of the elements in bytes}
CLASS class_6840 OfVariableSize
COMMENT Represents an NBT type whose elements can have a variable size, such as lists.