Interface NbtPrimitive

All Superinterfaces:
NbtElement
All Known Subinterfaces:
AbstractNbtNumber
All Known Implementing Classes:
NbtByte, NbtDouble, NbtFloat, NbtInt, NbtLong, NbtShort, NbtString

public non-sealed interface NbtPrimitive extends NbtElement
Mappings:
Namespace Name
named net/minecraft/nbt/NbtPrimitive
intermediary net/minecraft/class_10899
official ur
  • Method Details Link icon

    • copy Link icon

      default NbtElement copy()
      Returns an NBT element of equal value that won't change with this element.
      Specified by:
      copy in interface NbtElement
      Returns:
      an NBT element of equal value that won't change with this element
      Mappings:
      Namespace Name Mixin selector
      named copy Lnet/minecraft/nbt/NbtElement;copy()Lnet/minecraft/nbt/NbtElement;
      intermediary method_10707 Lnet/minecraft/class_2520;method_10707()Lnet/minecraft/class_2520;
      official d Lva;d()Lva;