Commit Graph

6 Commits

Author SHA1 Message Date
Jason 453c7f05c7
Add ItemStack#displayName to get the formatted display name of an ItemStack (#5628)
The display name includes formatting such as item hover event, display name (in italics if renamed in anvil), and color based on rarity.

This is what vanilla uses for give command feedback, and when an item is shown in a death message.
2021-05-12 23:16:33 -07:00
Jake Potrebic e0a021ccc6
Add ItemStack#getTranslationKey() (#5616) 2021-05-12 13:12:28 +02:00
Jake Potrebic f50171f3bb
Add missing rarity method on ItemStack (#5594) 2021-05-10 07:25:35 +00:00
Jake Potrebic aeb6e7dd25
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5601) 2021-05-09 21:50:09 +01:00
Aikar 7259c32bac
[CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-03-23 10:57:27 -04:00
Jake Potrebic cdbf2578c0
Add Item Rarity API (#5352) 2021-03-13 01:27:48 +00:00