Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Endor H edited this page Dec 10, 2022 · 3 revisions

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.

Recommendations

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.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.