Update to 1.20.6
Fix config not being written from the chat (second time)
Add the TPUtils#getRequiredXpLevelsToTp function
Fix config not being written from the chat
Fix translations when using the CyanLibConfigCommands + the config screen for each mod now only has a 'Done' button, the options are automatically saved when exiting the screen
The functions that were rewritten for each type of option are now a single function.
This was made using a new interface called Option<T>
, where T
is the type of object the options will store
Use classes instead of a HashMap to store the options