Class Config2Brigadier
java.lang.Object
org.samo_lego.config2brigadier.common.Config2Brigadier
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends IBrigadierConfigurator>
TloadConfigFile
(File file, Class<T> clazz, Supplier<T> fallbackConstructor) Loads config file.
-
Field Details
-
MOD_ID
- See Also:
-
GSON
public static final com.google.gson.Gson GSON
-
-
Constructor Details
-
Config2Brigadier
public Config2Brigadier()
-
-
Method Details
-
loadConfigFile
public static <T extends IBrigadierConfigurator> T loadConfigFile(File file, Class<T> clazz, Supplier<T> fallbackConstructor) Loads config file.- Parameters:
file
- file to load the language file from.- Returns:
- config object
-