public class BukkitListLine extends ListLine implements IBukkitList
| Constructor and Description |
|---|
BukkitListLine(String path,
boolean shortlist) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getColoredStringList()
Gets the value of this line as a List of Strings and converts colors in it (&2 --> Green).
|
List<org.bukkit.Color> |
getColorList()
Gets the value of this line as a List of Colors.
Will convert all applicable values into Colors. |
protected IConverter |
getConverter() |
List<org.bukkit.Location> |
getLocationList()
Gets the value of this line as a List of Locations.
Will convert all applicable values into Locations (world|x|y|z or world|x|y|z|yaw|pitch format). If no values are applicable, this will return an empty list. |
List<org.bukkit.Location> |
getLocationList(org.bukkit.World world)
Gets the value of this line as a List of Locations.
Will convert all applicable values into Locations (x|y|z or x|y|z|yaw|pitch format). If no values are applicable, this will return an empty list. |
addEntries, addEntries, addEntry, clear, equals, getBooleanList, getByteList, getCharacterList, getComments, getDoubleList, getFloatList, getIntegerList, getLongList, getMixedList, getName, getShortList, getStringList, getTList, hashCode, isShortType, separateLastComments, setEntries, setShortType, toSave, toSave, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBooleanList, getByteList, getCharacterList, getComments, getDoubleList, getFloatList, getIntegerList, getLongList, getMixedList, getShortList, getStringList, getTListpublic BukkitListLine(String path, boolean shortlist)
path - - The path of this list.shortlist - - If this list is of the short type.IllegalArgumentException - If path is null, empty or ends with a dot.public List<String> getColoredStringList()
IBukkitListgetColoredStringList in interface IBukkitListpublic List<org.bukkit.Location> getLocationList()
IBukkitListgetLocationList in interface IBukkitListpublic List<org.bukkit.Location> getLocationList(org.bukkit.World world)
IBukkitListgetLocationList in interface IBukkitListworld - - The world that the locations should use.public List<org.bukkit.Color> getColorList()
IBukkitListgetColorList in interface IBukkitListprotected IConverter getConverter()
getConverter in class ListLineCopyright © 2014. All rights reserved.