Add ItemStack#copyDataFrom (#12224)

This commit is contained in:
TonytheMacaroni
2025-03-23 20:12:57 -04:00
committed by GitHub
parent 5a6ab97be6
commit c467df95a2
3 changed files with 54 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ public sealed interface RegistryKey<T> extends Keyed permits RegistryKeyImpl {
RegistryKey<BlockType> BLOCK = create("block");
/**
* @apiNote use preferably only in the context of registry entries.
* @see io.papermc.paper.registry.data
* @see io.papermc.paper.registry.keys.ItemTypeKeys
*/
@ApiStatus.Experimental // Paper - already required for registry builders
RegistryKey<ItemType> ITEM = create("item");