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

34 lines
1.2 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_2514 net/minecraft/nbt/AbstractNbtNumber
COMMENT Represents an NBT number.
COMMENT <p>
COMMENT The type {@link NbtElement#NUMBER_TYPE NUMBER_TYPE} can be used to
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 {@linkplain NbtCompound#contains check for the existence of any numeric element in a NBT compound object}.
METHOD method_10696 shortValue ()S
COMMENT Gets the value as a 16-bit integer.
COMMENT
COMMENT @return the value as a short
METHOD method_10697 doubleValue ()D
COMMENT Gets the value as a 64-bit floating-point number.
COMMENT
COMMENT @return the value as a double
METHOD method_10698 byteValue ()B
COMMENT Gets the value as an 8-bit integer.
COMMENT
COMMENT @return the value as a byte
METHOD method_10699 longValue ()J
COMMENT Gets the value as a 64-bit integer.
COMMENT
COMMENT @return the value as a long
METHOD method_10700 floatValue ()F
COMMENT Gets the value as a 32-bit floating-point number.
COMMENT
COMMENT @return the value as a float
METHOD method_10701 intValue ()I
COMMENT Gets the value as a 32-bit integer.
COMMENT
COMMENT @return the value as an int
METHOD method_10702 numberValue ()Ljava/lang/Number;
COMMENT Gets the value as a generic number.
COMMENT
COMMENT @return the value as a {@link Number}