Enchant System

Enchant System 1.1.1

When reading what an item can enchant using the can_enchant tag, Minecraft takes the category of the enchantment into consideration. In 85% of cases, that's fine, but there is no wildcard category, nor are there any categories for non tool/armor items. So if you wanted to put an enchantment onto a stick, it simply would not work, as the category would exclude the stick, and the tag would always read as false, regardless of what you put in the can_enchant key. This change now circumvents that entirely, so that the category is no longer taken into account when enchanting an item; only the can_enchant key is considered. This may mean that you will need to rewrite some enchantments, as they will suddenly be able to be applied to everything, but on the upside, this means your enchantments will now be able to be applied all items, not just tools and armor. This only applies to anvil enchantments, the enchanting table still uses categories

The second part of this update now has curses show up as expected in lore. This means an enchantment called "Roughness", if it had the is_curse key set to true, would be read as "Curse of Roughness", in red, instead of in grey.