90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Changelog
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
.
Dependencies
Details
Licensed ARR
Published a month ago
Updated 17 days ago