Class BundleConfig
java.lang.Object
de.luckymcdev.foundryengine.common.bundle.config.BundleConfig
Holds the configuration for a single Bundle.
Values are defined programmatically via
BundleConfigSpec and persisted to
FoundryEngine/config/<bundleId>.toml.-
Constructor Details
-
BundleConfig
-
-
Method Details
-
load
public void load()Loads values from the TOML file on disk. Missing keys are filled with defaults. Should be called once after all values have been registered. -
save
public void save()Saves all current values back to the TOML file. -
getBundleId
-
getConfigPath
-
isLoaded
public boolean isLoaded()
-