diff options
author | Jake Potrebic <[email protected]> | 2024-09-23 17:36:29 -0700 |
---|---|---|
committer | Jake Potrebic <[email protected]> | 2024-09-23 17:36:32 -0700 |
commit | 9b1ee0d87db2867e1c2e8a7b0f02686de81f9826 (patch) | |
tree | 5a442085cdeb6f83ce590094c7bb9bf033301c89 /patches/api/0474-Introduce-registry-entry-and-builders.patch | |
parent | acdd6d35ad448f5ad06f834c7ef8b0a1a1ab89d9 (diff) | |
download | Paper-9b1ee0d87db2867e1c2e8a7b0f02686de81f9826.tar.gz Paper-9b1ee0d87db2867e1c2e8a7b0f02686de81f9826.zip |
Add missing key files and cleanup registry definition order
Diffstat (limited to 'patches/api/0474-Introduce-registry-entry-and-builders.patch')
-rw-r--r-- | patches/api/0474-Introduce-registry-entry-and-builders.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/api/0474-Introduce-registry-entry-and-builders.patch b/patches/api/0474-Introduce-registry-entry-and-builders.patch index 89d0b4973e..e2e4937863 100644 --- a/patches/api/0474-Introduce-registry-entry-and-builders.patch +++ b/patches/api/0474-Introduce-registry-entry-and-builders.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Introduce registry entry and builders diff --git a/src/main/java/io/papermc/paper/registry/RegistryKey.java b/src/main/java/io/papermc/paper/registry/RegistryKey.java -index 7763ea28a00c25ffd8ba8941cff29bae5ae117a2..ccbe3fa2e01a80abb801d14891dce34ed179b5ee 100644 +index 1e2765d296decbb3e61b8434e78b5e0214f8fee0..5e580649578d25f567b0f7d40bcdc68f62701f0a 100644 --- a/src/main/java/io/papermc/paper/registry/RegistryKey.java +++ b/src/main/java/io/papermc/paper/registry/RegistryKey.java @@ -77,9 +77,10 @@ public sealed interface RegistryKey<T> extends Keyed permits RegistryKeyImpl { @@ -19,8 +19,8 @@ index 7763ea28a00c25ffd8ba8941cff29bae5ae117a2..ccbe3fa2e01a80abb801d14891dce34e - @ApiStatus.Internal + @ApiStatus.Experimental // Paper - already required for registry builders RegistryKey<ItemType> ITEM = create("item"); - - + /** + * Built-in registry for cat variants. diff --git a/src/main/java/io/papermc/paper/registry/data/EnchantmentRegistryEntry.java b/src/main/java/io/papermc/paper/registry/data/EnchantmentRegistryEntry.java new file mode 100644 index 0000000000000000000000000000000000000000..6c7d8b98103909428bb4dcf14825fe188db6d12f |