LibJF/docs/config/libjf-config-reflect-v1.md

579 B

libjf-config-reflect-v1

This module uses reflection to register configs from files using the annotations as presented here In order to register a config, simply add the class annotated as @JfConfig to the libjf:config entrypoint. Please be aware that this module may load your config class before the game classes are available. Using them there WILL result in problems!

Instead of using this implementation, you should use the compiler plugin, which removes the runtime overhead of this implementation.