Adds support for data-driven enchantment namespaced keys.
Fixes Magic Items being incorrectly split by | in the wearinginslot modifier condition and the following passive listeners: anvil, craft, dropitem, enchant, equip, foodlevelchange, givedamage, grindstone, hitarrow, hotbardeselect, hotbarselect, leftclickitem, missarrow, pickupitem, playeranimate, prepareenchant, rightclickitem, smith, takedamage, and unequip.
|
in thewearinginslot
modifier condition and the following passive listeners:anvil
,craft
,dropitem
,enchant
,equip
,foodlevelchange
,givedamage
,grindstone
,hitarrow
,hotbardeselect
,hotbarselect
,leftclickitem
,missarrow
,pickupitem
,playeranimate
,prepareenchant
,rightclickitem
,smith
,takedamage
, andunequip
.