-
Notifications
You must be signed in to change notification settings - Fork 1
API
Simple Config has a base API for declaring configuration files based on a hierarchy of generic builders for config entries.
On top of this builder-based API, Simple Config creates two other APIs. One based in annotations to define config files declaratively from Java, and other based in property delegates for Kotlin mods:
The Annotation and the Kotlin APIs are merely wrappers around the base Builder API, but both have full feature parity with it.
For new users, it's recommended you use the Kotlin API if you have the luck of using Kotlin in your mod.
If you're stuck with Java, it's recommended you use Kotlin use the Annotation API, as it's easier and faster to setup than the Builder API,
and can be easily extended to achieve anything the builder API can.
If you have any doubts, feel free to drop by the official Discord Server.