
ShadowHunter22's Config Library
A config library to fit the needs of ShadowHunter22's mods.
6.1.0+1.21.2 for 1.21.2-1.21.4
release22 декабря 2024 г.Changes:
-
Bump version
-
Added a double and float config option
-
Fixed #3
API Additions:
- Created a new interface named
NumberConfigOptionthat all number-based config options implement. - Created a new class named
AbstractSliderEntrythat all slider entries extend.
Breaking Changes:
AbstractConfigScreen
getTabsis now a protected method (was public).
ConfigEntryWidgetHolder
- Renamed the field
listtoentryWidget.
ListWidget
- Removed
ListWidgetin favor forSimpleLayoutWidget(see below changes forAbstractEntry).
CategoryTab
- The
CategoryTabconstructor no longer takes aScreen. - The field
categoryis now private.
ConfigCategory
-
Renamed the field
texttocategoryTitle. -
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
listWidgetwithlayout. - Replaced the method
getListWidgetwithgetLayoutWidget.
5.1.0+1.21 for 1.21-1.21.1
release22 декабря 2024 г.Changes:
-
Bump version
-
Added a double and float config option
-
Fixed #3
API Additions:
- Created a new interface named
NumberConfigOptionthat all number-based config options implement. - Created a new class named
AbstractSliderEntrythat all slider entries extend.
Breaking Changes:
AbstractConfigScreen
getTabsis now a protected method (was public).
ConfigEntryWidgetHolder
- Renamed the field
listtoentryWidget.
ListWidget
- Removed
ListWidgetin favor forSimpleLayoutWidget(see below changes forAbstractEntry).
CategoryTab
- The
CategoryTabconstructor no longer takes aScreen. - The field
categoryis now private.
ConfigCategory
-
Renamed the field
texttocategoryTitle. -
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
listWidgetwithlayout. - Replaced the method
getListWidgetwithgetLayoutWidget.
4.1.0+1.20.5 for 1.20.5-1.20.6
release22 декабря 2024 г.Changes:
-
Bump version
-
Added a double and float config option
-
Fixed #3
API Additions:
- Created a new interface named
NumberConfigOptionthat all number-based config options implement. - Created a new class named
AbstractSliderEntrythat all slider entries extend.
Breaking Changes:
AbstractConfigScreen
getTabsis now a protected method (was public).
ConfigEntryWidgetHolder
- Renamed the field
listtoentryWidget.
ListWidget
- Removed
ListWidgetin favor forSimpleLayoutWidget(see below changes forAbstractEntry).
CategoryTab
- The
CategoryTabconstructor no longer takes aScreen. - The field
categoryis now private.
ConfigCategory
-
Renamed the field
texttocategoryTitle. -
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
listWidgetwithlayout. - Replaced the method
getListWidgetwithgetLayoutWidget.
3.1.0+1.20.3 for 1.20.3-1.20.4
release22 декабря 2024 г.Changes:
-
Bump version
-
Added a double and float config option
-
Fixed #3
API Additions:
- Created a new interface named
NumberConfigOptionthat all number-based config options implement. - Created a new class named
AbstractSliderEntrythat all slider entries extend.
Breaking Changes:
AbstractConfigScreen
getTabsis now a protected method (was public).
ConfigEntryWidgetHolder
- Renamed the field
listtoentryWidget.
ListWidget
- Removed
ListWidgetin favor forSimpleLayoutWidget(see below changes forAbstractEntry).
CategoryTab
- The
CategoryTabconstructor no longer takes aScreen. - The field
categoryis now private.
ConfigCategory
-
Renamed the field
texttocategoryTitle. -
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
listWidgetwithlayout. - Replaced the method
getListWidgetwithgetLayoutWidget.
2.1.0+1.20.2 for 1.20.2
release22 декабря 2024 г.Changes:
-
Bump version
-
Added a double and float config option
-
Fixed #3
API Additions:
- Created a new interface named
NumberConfigOptionthat all number-based config options implement. - Created a new class named
AbstractSliderEntrythat all slider entries extend.
Breaking Changes:
AbstractConfigScreen
getTabsis now a protected method (was public).
ConfigEntryWidgetHolder
- Renamed the field
listtoentryWidget.
ListWidget
- Removed
ListWidgetin favor forSimpleLayoutWidget(see below changes forAbstractEntry).
CategoryTab
- The
CategoryTabconstructor no longer takes aScreen. - The field
categoryis now private.
ConfigCategory
-
Renamed the field
texttocategoryTitle. -
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
listWidgetwithlayout. - Replaced the method
getListWidgetwithgetLayoutWidget.
