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

10 lines
470 B
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_4615 net/minecraft/nbt/NbtTypes
FIELD field_21048 VALUES [Lnet/minecraft/class_4614;
METHOD method_23265 byId (I)Lnet/minecraft/class_4614;
COMMENT Gets the associated {@linkplain NbtType NBT type} for a given {@code id}.
COMMENT <p>
COMMENT This method does not support id aliases.
COMMENT
COMMENT @return the NBT type, or {@linkplain NbtType#createInvalid an invalid type} if there is no type with the given {@code id}
ARG 0 id