Reading the Config
Do the following wherever you want to use your config. This must be called after registration.
ModConfig config = AutoConfig.getConfigHolder(ModConfig.class).getConfig();
Last updated
Was this helpful?
Do the following wherever you want to use your config. This must be called after registration.
ModConfig config = AutoConfig.getConfigHolder(ModConfig.class).getConfig();
Last updated
Was this helpful?