deprecate adventure key() methods where applicable

This commit is contained in:
Jake Potrebic
2024-11-28 13:51:48 -08:00
parent 57ab68f4ee
commit b207266c7d
3 changed files with 102 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/org/bukkit/Art.java
+++ b/src/main/java/org/bukkit/Art.java
@@ -0,0 +0,0 @@ public interface Art extends OldEnum<Art>, Keyed {
@NotNull NamespacedKey getKey();
}
// Paper end - deprecate getKey
+ // Paper start - name and author components, assetId key