public class Itemizable extends AbstractModule
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Zone,java.util.Set<java.lang.String>> |
_items |
Modifier | Constructor and Description |
---|---|
protected |
Itemizable() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Zone zone,
java.lang.String item) |
void |
deserialize(org.bukkit.configuration.ConfigurationSection configurationSection) |
java.lang.String |
getDescription(Zone zone) |
private java.util.Set<java.lang.String> |
getItems(Zone zone) |
java.lang.String |
getRandom(Zone zone) |
boolean |
remove(Zone zone,
java.lang.String item) |
void |
serialize(org.bukkit.configuration.ConfigurationSection configurationSection) |
java.lang.String |
streamRandom(Zone zone) |
boolean |
verifyType(java.lang.String s) |
getType
private final java.util.Map<Zone,java.util.Set<java.lang.String>> _items
public boolean add(Zone zone, java.lang.String item)
public boolean remove(Zone zone, java.lang.String item)
public java.lang.String getDescription(Zone zone)
getDescription
in class AbstractModule
private java.util.Set<java.lang.String> getItems(Zone zone)
public java.lang.String getRandom(Zone zone)
public java.lang.String streamRandom(Zone zone)
public boolean verifyType(java.lang.String s)
public void serialize(org.bukkit.configuration.ConfigurationSection configurationSection)
serialize
in class AbstractModule
public void deserialize(org.bukkit.configuration.ConfigurationSection configurationSection)
deserialize
in class AbstractModule