ShadowHunter22's Config Library

ShadowHunter22's Config Library

Mod

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

Client LibraryManagementUtility

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

0.1.0-beta+1.20 for 1.20-1.20.1

Changelog

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

Dependencies

Files

shadowhunter22s-config-library-0.1.0-beta+1.20.jar(91.52 KiB) Primary Download
shadowhunter22s-config-library-0.1.0-beta+1.20-sources.jar(49.95 KiB) Download

Project members

shadowhunter22

Owner

Details

Licensed ARR
Published a month ago
Updated 18 days ago