Package paulevs.edenring.config
Class EdenPathConfig
java.lang.Object
org.betterx.bclib.config.Config
paulevs.edenring.config.EdenPathConfig
public class EdenPathConfig
extends org.betterx.bclib.config.Config
Replacement for the removed BCLib
PathConfig (path/section-style config).
BCLib 21.x kept only IdConfig and
EntryConfig (both ResourceLocation-keyed). This
class re-exposes the old getFloat(path, entry, default)-style API on top of the
Config base class, splitting dotted section paths like terrain.layers.bigIslands.
-
Field Summary
Fields inherited from class org.betterx.bclib.config.Config
CONFIG_SYNC_PREFIX, configID, keeper -
Constructor Summary
ConstructorsConstructorDescriptionEdenPathConfig(String modID, String group) EdenPathConfig(String modID, String group, boolean ignored, boolean ignored2) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBoolean(String path, String entry, boolean def) booleangetBooleanRoot(String entry, boolean def) Reads a root-level boolean entry (no section path).floatintprotected voidMethods inherited from class org.betterx.bclib.config.Config
getBoolean, getBoolean, getDefault, getEntry, getFloat, getFloat, getInt, getInt, getString, getString, getStringArray, getStringArray, reload, saveChanges, setBoolean, setFloat, setInt, setRanged, setString, setStringArray
-
Constructor Details
-
EdenPathConfig
-
EdenPathConfig
-
-
Method Details
-
registerEntries
protected void registerEntries()- Specified by:
registerEntriesin classorg.betterx.bclib.config.Config
-
getFloat
-
getInt
-
getBoolean
-
getBooleanRoot
Reads a root-level boolean entry (no section path).- Parameters:
entry- the entry name (e.g. an entity id).def- the default value.
-