mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 08:46:44 +01:00
20b9d3de7b
First, Enchantment order would blow away seeing 2 items as the same, however the Client forces enchantment list in a certain order, as well as does the /enchant command. Anvils can insert it into forced order, causing 2 same items to be considered different. This change makes unhandled NBT Tags and Enchantments use a sorted tree map, so they will always be in a consistent order. Additionally, the old enchantment API was never updated when ItemMeta was added, resulting in 2 different ways to modify an items enchantments. For consistency, the old API methods now forward to use the ItemMeta API equivalents, and should deprecate the old API's. |
||
---|---|---|
.. | ||
damagesource | ||
effect | ||
entity | ||
food | ||
inventory | ||
item | ||
level | ||
BossEvent.java.patch | ||
CompoundContainer.java.patch | ||
Container.java.patch | ||
SimpleContainer.java.patch |