#1070: Make Attribute an interface and align names with the new minecraft ones

By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
Bukkit/Spigot
2024-10-29 06:43:08 +11:00
parent 8ec64c4481
commit 5b78d5d8a2
3 changed files with 62 additions and 46 deletions

View File

@@ -98,6 +98,7 @@ public interface UnsafeValues {
String getTranslationKey(ItemStack itemStack);
@Deprecated(since = "1.21.3", forRemoval = true)
String getTranslationKey(Attribute attribute);
@Nullable