Another branch that got way out of hand. I can't decide how to construct settings most naturally so I'm holding off on that for now. Next comes using a file for the default config so all the default code can be removed, then the menu switch to a pair of element lists with add/remove. Then I should be able to remove the reorder gui and the sort buttons. All working towards simplicity in the end ready for stable 1.12.2 and future.
Config translation responsibility done in config class instead of setting class
Introduced new extensible context class for overlays
Reverted optional name using setter (back to constructor)
Encapsulated priority
Removed percentage class
Simplified DirectionOptions
Setting get/setters (and type parameter) removed from base class
Removed categories
getGuiParts never returns null
Removed bloaty interfaces
TODO after this is fix all the settings that just do nothing instead of throwing an error when loading a bad value
Another branch that got way out of hand. I can't decide how to construct settings most naturally so I'm holding off on that for now. Next comes using a file for the default config so all the default code can be removed, then the menu switch to a pair of element lists with add/remove. Then I should be able to remove the reorder gui and the sort buttons. All working towards simplicity in the end ready for stable 1.12.2 and future.
getGuiParts
never returnsnull
TODO
after this is fix all the settings that just do nothing instead of throwing an error when loading a bad value