Package ml.pluto7073.pdapi.config
Class BaseConfig
java.lang.Object
ml.pluto7073.pdapi.config.BaseConfig
Deprecated, for removal: This API element is subject to removal in a future version.
Use
ServerConfig
and ClientConfig
and optionally add to PDCommonConfig using
JointServerConfig.addManagedConfig(ml.pluto7073.plutonium.config.ServerConfigType<?>...)-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.logging.log4j.LoggerDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected PropertiesDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionBaseConfig(String modid, String name, org.apache.logging.log4j.Logger logger) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleangetBoolean(String key) Deprecated, for removal: This API element is subject to removal in a future version.protected <T extends Enum<T>>
TDeprecated, for removal: This API element is subject to removal in a future version.protected floatDeprecated, for removal: This API element is subject to removal in a future version.protected intDeprecated, for removal: This API element is subject to removal in a future version.abstract voidDeprecated, for removal: This API element is subject to removal in a future version.voidload()Deprecated, for removal: This API element is subject to removal in a future version.voidsave()Deprecated, for removal: This API element is subject to removal in a future version.protected voidsetBoolean(String key, boolean b) Deprecated, for removal: This API element is subject to removal in a future version.protected <T extends Enum<T>>
voidDeprecated, for removal: This API element is subject to removal in a future version.protected voidDeprecated, for removal: This API element is subject to removal in a future version.protected voidDeprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
properties
Deprecated, for removal: This API element is subject to removal in a future version. -
modid
Deprecated, for removal: This API element is subject to removal in a future version. -
name
Deprecated, for removal: This API element is subject to removal in a future version. -
logger
protected org.apache.logging.log4j.Logger loggerDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
BaseConfig
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
initConfig
public abstract void initConfig()Deprecated, for removal: This API element is subject to removal in a future version. -
load
public void load()Deprecated, for removal: This API element is subject to removal in a future version. -
save
public void save()Deprecated, for removal: This API element is subject to removal in a future version. -
setInt
Deprecated, for removal: This API element is subject to removal in a future version. -
setFloat
Deprecated, for removal: This API element is subject to removal in a future version. -
setBoolean
Deprecated, for removal: This API element is subject to removal in a future version. -
setEnum
Deprecated, for removal: This API element is subject to removal in a future version. -
getInt
Deprecated, for removal: This API element is subject to removal in a future version. -
getFloat
Deprecated, for removal: This API element is subject to removal in a future version. -
getBoolean
Deprecated, for removal: This API element is subject to removal in a future version. -
getEnum
Deprecated, for removal: This API element is subject to removal in a future version.
-