Changes:
-
Bump version
-
Added a double and float config option
-
Fixed #3
API Additions:
- Created a new interface named
NumberConfigOption
that all number-based config options implement. - Created a new class named
AbstractSliderEntry
that all slider entries extend.
Breaking Changes:
AbstractConfigScreen
getTabs
is now a protected method (was public).
ConfigEntryWidgetHolder
- Renamed the field
list
toentryWidget
.
ListWidget
- Removed
ListWidget
in favor forSimpleLayoutWidget
(see below changes forAbstractEntry
).
CategoryTab
- The
CategoryTab
constructor no longer takes aScreen
. - The field
category
is now private.
ConfigCategory
-
Renamed the field
text
tocategoryTitle
. -
Renamed the method
add(AbstractEntry entry)
toaddEntry(AbstractEntry entry)
. -
Renamed the method
getText()
togetCategoryName()
. -
Removed the method
add(int index, AbstractEntry entry)
.
AbstractEntry
- Replaced the field
listWidget
withlayout
. - Replaced the method
getListWidget
withgetLayoutWidget
.
Changes:
-
Bump version
-
Added a double and float config option
-
Fixed #3
API Additions:
- Created a new interface named
NumberConfigOption
that all number-based config options implement. - Created a new class named
AbstractSliderEntry
that all slider entries extend.
Breaking Changes:
AbstractConfigScreen
getTabs
is now a protected method (was public).
ConfigEntryWidgetHolder
- Renamed the field
list
toentryWidget
.
ListWidget
- Removed
ListWidget
in favor forSimpleLayoutWidget
(see below changes forAbstractEntry
).
CategoryTab
- The
CategoryTab
constructor no longer takes aScreen
. - The field
category
is now private.
ConfigCategory
-
Renamed the field
text
tocategoryTitle
. -
Renamed the method
add(AbstractEntry entry)
toaddEntry(AbstractEntry entry)
. -
Renamed the method
getText()
togetCategoryName()
. -
Removed the method
add(int index, AbstractEntry entry)
.
AbstractEntry
- Replaced the field
listWidget
withlayout
. - Replaced the method
getListWidget
withgetLayoutWidget
.
- Opening a config screen with mod menu now renders a blank background instead of the dirt background
- Port 1.21.1 to & 1.21.2, .3, & .4
- Port 1.20.5 & 1.21 & .1
- Port 1.20.3 -> 1.20.5 & .6
- Port 1.20.2 -> 1.20.3 & .4
- Port 1.20 -> 1.20.2
- Bump version to release
- Added a way in the config manager to update a config value
- Added a helper method in the EnumSpecification class
- Changed how an enum class is given to the EnumSpecification class
Majorify of commits, spanning 2+ months
773e51d
- Added the config manager, holder, and manager
- Added a test mod
c98fca6
- Added logic for the serialization and deserialization of a config class
5ac6762
- Added different config option types
- Created a ConfigScreenProvider.java which will return a ConfigScreen, loaded with all the GUI elements
842f774
-
Added a GuiRegistry which will check if a config class was registered and will populate a LinkedHashMap of BaseConfigOption
-
Simplified the creation of the ConfigScreen
-
Simplified the ConfigWidgetEntry
f5ed0e5
- Added an IntSlider
- Added an annotation for sections
6c78ceb
- Improved the serialization and deserialization of the config
- Added the ability to name the config file, making it possible to specify multiple config files
ebcec85
- Changed the spacing between the options
- Changed the reset button to my own custom button class
b24ea00
- Configs are now serialized using the key-pair values instead of field variables.
28e2a00
- Added an API for migrated config files from one file to another
- Added a method to get the config definition from a class
017cbc2
- Added exceptions that will be thrown to notify that a key does not exist in the old config file
9c7c6b7
- Changed what the translation keys are in TranslationUtil.java
- Added a methods to have a 1:1 key translation for the config migration
299a26a
- Implementation of categories, with bugs
e70e7cd
- Fixed a bug where widgets in a config screen with categories were not clickable
- Fixed a rendering issue with buttons in a config screen with categories
79ebce3
- Fixed a bug where you couldn't drag the scroll bar
- Added a way to manually build a screen with categories
- Small refactoring here and there
303448d
- Split sources
- Slightly changed the textures of the tab button
08f9399
- Bump version to beta
- Add Modrinth publishing
- Move sections from README to GitHub wiki