public class BukkitValueLine extends ValueLine implements IBukkitValue
| Constructor and Description |
|---|
BukkitValueLine(String path,
String value) |
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.Color |
getColor() |
org.bukkit.Color |
getColor(org.bukkit.Color def) |
String |
getColoredString()
Gets the value of this line as a String, and converts colors (&2 --> Green).
|
IConverter |
getConverter() |
org.bukkit.Location |
getLocation()
Gets the value of this line as a Location.
If this line is not a Location, this will return null. |
org.bukkit.Location |
getLocation(org.bukkit.Location def)
Gets the value of this line as a Location.
If this line is not a Location, this will return def. |
org.bukkit.Location |
getLocation(org.bukkit.World world)
Gets the value of this line as a Location.
If this line is not a Location, this will return null. |
org.bukkit.Location |
getLocation(org.bukkit.World world,
org.bukkit.Location def)
Gets the value of this line as a Location.
If this line is not a Location, this will return null. |
boolean |
isColor() |
boolean |
isLocation() |
boolean |
isLocationNoWorld() |
equals, getBoolean, getBoolean, getByte, getByte, getChar, getChar, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLevel, getLong, getLong, getName, getObject, getShort, getShort, getString, getT, getT, hashCode, isBoolean, isByte, isChar, isDouble, isFloat, isInt, isLong, isShort, isString, isT, setValue, toSave, toSave, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBoolean, getBoolean, getByte, getByte, getChar, getChar, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getShort, getShort, getString, getT, getT, isBoolean, isByte, isChar, isDouble, isFloat, isInt, isLong, isShort, isString, isTpublic BukkitValueLine(String path, String value)
path - value - IllegalArgumentException - If path is null, empty or ends with a dot.public String getColoredString()
IBukkitValuegetColoredString in interface IBukkitValuepublic org.bukkit.Location getLocation()
IBukkitValuegetLocation in interface IBukkitValuepublic org.bukkit.Location getLocation(org.bukkit.Location def)
IBukkitValuegetLocation in interface IBukkitValuedef - - The Location that will be returned if the value is not a Location.public boolean isLocation()
isLocation in interface IBukkitValuepublic org.bukkit.Location getLocation(org.bukkit.World world)
IBukkitValuegetLocation in interface IBukkitValuepublic org.bukkit.Location getLocation(org.bukkit.World world,
org.bukkit.Location def)
IBukkitValuegetLocation in interface IBukkitValuepublic boolean isLocationNoWorld()
isLocationNoWorld in interface IBukkitValuepublic org.bukkit.Color getColor()
getColor in interface IBukkitValuepublic org.bukkit.Color getColor(org.bukkit.Color def)
getColor in interface IBukkitValuepublic boolean isColor()
isColor in interface IBukkitValuepublic IConverter getConverter()
getConverter in class ValueLineCopyright © 2014. All rights reserved.