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

21 lines
736 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_2483 net/minecraft/nbt/AbstractNbtList
COMMENT Represents an abstraction of a mutable NBT list which holds elements of the same type.
METHOD add (ILjava/lang/Object;)V
ARG 1 index
ARG 2 value
METHOD method_10533 addElement (ILnet/minecraft/class_2520;)Z
ARG 1 index
ARG 2 element
METHOD method_10535 setElement (ILnet/minecraft/class_2520;)Z
ARG 1 index
ARG 2 element
METHOD method_10601 getHeldType ()B
COMMENT Gets the {@linkplain NbtElement#getType type} of element that this list holds.
COMMENT
COMMENT @return the type of element that this list holds
METHOD remove (I)Ljava/lang/Object;
ARG 1 index
METHOD set (ILjava/lang/Object;)Ljava/lang/Object;
ARG 1 index
ARG 2 value