Package net.minecraft.nbt
Interface NbtPrimitive
- All Superinterfaces:
NbtElement
- All Known Subinterfaces:
AbstractNbtNumber
- Mappings:
Namespace Name named net/minecraft/nbt/NbtPrimitive
intermediary net/minecraft/class_10899
official ur
-
Field Summary
Fields inherited from interface net.minecraft.nbt.NbtElement
BYTE_ARRAY_TYPE, BYTE_TYPE, COMPOUND_TYPE, DOUBLE_TYPE, END_TYPE, field_33246, field_33247, field_33248, field_33249, FLOAT_TYPE, INT_ARRAY_TYPE, INT_TYPE, LIST_TYPE, LONG_ARRAY_TYPE, LONG_TYPE, MAX_DEPTH, SHORT_TYPE, STRING_TYPE
-
Method Summary
Modifier and TypeMethodDescriptiondefault NbtElement
copy()
Returns an NBT element of equal value that won't change with this element.Methods inherited from interface net.minecraft.nbt.NbtElement
accept, accept, asBoolean, asByte, asByteArray, asCompound, asDouble, asFloat, asInt, asIntArray, asLong, asLongArray, asNbtList, asNumber, asShort, asString, doAccept, getNbtType, getSizeInBytes, getType, toString, write
-
Method Details
-
copy
Returns an NBT element of equal value that won't change with this element.- Specified by:
copy
in interfaceNbtElement
- 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;
-