CoreClassEditor
public interface ClassEditor
Modifier and Type | Method | Description |
---|---|---|
void |
addEffect(java.lang.String potionType) |
Adds a potion effect to the class.
|
void |
close() |
Closes the editing session.
|
org.bukkit.inventory.Inventory |
getAddEffectMenu() |
Gets the menu to add a new potion effect to the class.
|
org.bukkit.inventory.Inventory |
getColorMenu() |
Gets the menu to set the color for the class.
|
org.bukkit.inventory.Inventory |
getCurrentEffectMenu() |
Gets the menu of existing potion effects for the class.
|
org.bukkit.inventory.Inventory |
getInventory() |
Gets the primary inventory menu where items/armor may be edited and other menus may be accessed.
|
GamePlayer |
getPlayer() |
Gets the GamePlayer associated with the ClassEditor
|
void |
open() |
Opens the editing session.
|
void |
removeEffect(java.lang.String potionType) |
Removes a potion effect from the class.
|
void |
setColor(org.bukkit.inventory.ItemStack wool) |
Sets the ChatColor for the class to that associated with a wool ItemStack.
|
void open()
void close()
void setColor(org.bukkit.inventory.ItemStack wool)
wool
- the wool object corresponding to the desired ChatColorvoid addEffect(java.lang.String potionType)
potionType
- the internal name of the potion effect to addvoid removeEffect(java.lang.String potionType)
potionType
- the internal name of the potion effect to removeGamePlayer getPlayer()
org.bukkit.inventory.Inventory getInventory()
org.bukkit.inventory.Inventory getColorMenu()
org.bukkit.inventory.Inventory getCurrentEffectMenu()
org.bukkit.inventory.Inventory getAddEffectMenu()