The ModManager Class is way too bloated. As the name suggests it should handle all Modifiers. But it handles almost everything related to Items. That should not be task of the ModManager
Tasks of the ModManager:
- Register and unregister Modifiers
- Manage enabled and disabled Modifiers
- Apply Modifiers to Tools and Armor
- Manage Modifiers on Items (Levels, Application, Removal)
- Settings are in Modifiers.yml
Tasks of the ItemManager:
- Convert ItemStacks
- Manage ItemStacks (Exp, Level, Identifier, Core-Tags, Rewrite Lore)
- Manage Lore (layout.yml)
- Manage Item-Upgrades (the three methods)
ItemManager and ModManager should work hand in hand like two modules but separated enough that they are two separate classes that do not overlap in function.
The ModManager Class is way too bloated. As the name suggests it should handle all Modifiers. But it handles almost everything related to Items. That should not be task of the ModManager
Tasks of the ModManager:
Tasks of the ItemManager:
ItemManager and ModManager should work hand in hand like two modules but separated enough that they are two separate classes that do not overlap in function.