Class ConfigurateLoader
java.lang.Object
org.screamingsandals.simpleinventories.loaders.ConfigurateLoader
- All Implemented Interfaces:
ILoader
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidloadConfigurationNodeInto(SubInventory subInventory, org.spongepowered.configurate.ConfigurationNode configurationNode) voidloadPathInto(SubInventory subInventory, Path path, String configPath) static ConfigurateLoaderof(Supplier<org.spongepowered.configurate.loader.AbstractConfigurationLoader.Builder<?, ?>> configurationLoaderBuilder)
-
Method Details
-
loadPathInto
- Specified by:
loadPathIntoin interfaceILoader- Throws:
Exception
-
loadConfigurationNodeInto
public static void loadConfigurationNodeInto(SubInventory subInventory, org.spongepowered.configurate.ConfigurationNode configurationNode) -
of
public static ConfigurateLoader of(Supplier<org.spongepowered.configurate.loader.AbstractConfigurationLoader.Builder<?, ?>> configurationLoaderBuilder)
-