We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bc6085 commit 8349d1fCopy full SHA for 8349d1f
src/main/java/org/spongepowered/api/data/Keys.java
@@ -2038,6 +2038,12 @@ public final class Keys {
2038
*/
2039
public static final Key<Value<Integer>> ITEM_DURABILITY = Keys.key(ResourceKey.sponge("item_durability"), Integer.class);
2040
2041
+ /**
2042
+ * The default item name of an {@link ItemStack}.
2043
+ * <p>May be overridden by {@link #CUSTOM_NAME}</p>
2044
+ */
2045
+ public static final Key<Value<Component>> ITEM_NAME = Keys.key(ResourceKey.sponge("item_name"), Component.class);
2046
+
2047
/**
2048
* The rarity of an item.
2049
0 commit comments