Polyfrost / OneConfig

Next generation configuration library for Minecraft
https://polyfrost.org/projects/oneconfig
Other
232 stars 24 forks source link

new: `preload` method #264

Closed Wyvest closed 1 year ago

Wyvest commented 1 year ago

Description

The preload method's purpose is to call the static initializer of the config class. As explained in the java-doc:

As configs HAVE to be initialized before your mod loader's post-init, instances need to be created before that.
Hence, this method exists so config instances which are located in the actual class instead of the main mod class can be created.

Related Issue(s)

Checklist