public class ConfigValue extends Object
| Constructor and Description |
|---|
ConfigValue(org.bukkit.configuration.file.FileConfiguration config,
String path)
Used for initiating instance of ConfigValueClass
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getAs(Class def) |
boolean |
getAsBool() |
double |
getAsDouble() |
int |
getAsInt() |
Object |
getAsObject() |
String |
getAsString() |
List<String> |
getAsStringList() |
public ConfigValue(org.bukkit.configuration.file.FileConfiguration config,
String path)
config - The file config that the value is inpath - the path to the valuepublic Object getAsObject()
public String getAsString()
public int getAsInt()
public boolean getAsBool()
public double getAsDouble()
Copyright © 2021. All rights reserved.