ShadowHunter22's Config Library

ShadowHunter22's Config Library

Mod

A config library to fit the needs of ShadowHunter22's mods.

Client LibraryManagementUtility

742 downloads
2 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

2.1.0+1.20.2 for 1.20.2

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 to entryWidget.

ListWidget

  • Removed ListWidget in favor for SimpleLayoutWidget (see below changes for AbstractEntry).

CategoryTab

  • The CategoryTab constructor no longer takes a Screen.
  • The field category is now private.

ConfigCategory

  • Renamed the field text to categoryTitle.

  • Renamed the method add(AbstractEntry entry) to addEntry(AbstractEntry entry).

  • Renamed the method getText() to getCategoryName().

  • Removed the method add(int index, AbstractEntry entry).

AbstractEntry

  • Replaced the field listWidget with layout.
  • Replaced the method getListWidget with getLayoutWidget.

Dependencies

Files

shadowhunter22s-config-library-2.1.0+1.20.2.jar(112.86 KiB) Primary Download
shadowhunter22s-config-library-2.1.0+1.20.2-sources.jar(61.75 KiB) Download

Project members

shadowhunter22

Owner

Details

Licensed ARR
Published a month ago
Updated 18 days ago