public class ConfigHolder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addConfig(Config<?> config) |
static ConfigHolder |
create() |
<T> Config<T> |
getConfig(Config<T> defaultValue) |
java.util.Map<java.lang.String,Config<?>> |
getConfigs() |
net.kyori.text.Component |
replace(net.kyori.text.Component input)
Deprecated.
Use
ConfigRenderer instead |
public static ConfigHolder create()
public java.util.Map<java.lang.String,Config<?>> getConfigs()
public void addConfig(Config<?> config)
@Deprecated public net.kyori.text.Component replace(net.kyori.text.Component input)
ConfigRenderer
insteadinput
- the component to replace placeholders in