A feature-complete, useful configuration library, designed with customization and scalability in mind.
A config option may be a field, or a composite of different options, an option often consists of different properties.
A config serializer will handle converting to/from different formats.
A custom JSON5 serializer will be written for this.
On fabric: the different serializers will be provided as separate binaries.
- GSON
- Json5
- Byte
- Short
- Double
- Float
- Int
- Long
- BigInteger
- BigDecimal
- Boolean
- Character
- String
- Identifier
- Instant (Time Selector)
- Tag
- Text (Rich Text Editor)
- Enum<?>
Compound (Object/Map), Array (List) may be supported with nested option types.
Clothbit will offer an annotation based, java JOJO-like way to construct configs, similar to Auto Config.
// Drafted annotations
@Config
@Comment
@Sync // applied to the whole class or fields
Config Screens have always been a big part of Cloth Config, Clothbit is no different. Clothbit this time is offering some essential changes:
- Option type based GUI entry constructor
- Easy registration for option types
- Tooltips for simple stuff, collapsible descriptions for the actual detailed explanation with possible for links and images
- Rich Text WYSIWYG editors Clothbit.md 3 KB