Package | Description |
---|---|
net.glowstone.util.config |
Modifier and Type | Method and Description |
---|---|
static WorldConfig.Key |
WorldConfig.Key.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorldConfig.Key[] |
WorldConfig.Key.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WorldConfig.getBoolean(WorldConfig.Key key) |
double |
WorldConfig.getDouble(WorldConfig.Key key) |
float |
WorldConfig.getFloat(WorldConfig.Key key) |
int |
WorldConfig.getInt(WorldConfig.Key key) |
String |
WorldConfig.getString(WorldConfig.Key key) |
void |
WorldConfig.set(WorldConfig.Key key,
Object value)
Change a configuration value at runtime.
|
Copyright © 2021. All rights reserved.