public interface WarpCategory
Modifier and Type | Method and Description |
---|---|
org.bukkit.inventory.ItemStack |
getIcon(SuperiorPlayer superiorPlayer)
Get the icon of the category after all placeholders are parsed.
|
Island |
getIsland()
Get the island of this category.
|
java.lang.String |
getName()
Get the name of the warp category.
|
org.bukkit.inventory.ItemStack |
getRawIcon()
Get the icon of the category.
|
int |
getSlot()
Get the slot of the category.
|
java.util.List<IslandWarp> |
getWarps()
Get all the warps of this category.
|
void |
setIcon(org.bukkit.inventory.ItemStack icon)
Set the icon of the category.
|
void |
setName(java.lang.String name)
Set a new name to the category.
|
void |
setSlot(int slot)
Set the slot of the category.
|
Island getIsland()
java.lang.String getName()
void setName(java.lang.String name)
name
- The new name to set.java.util.List<IslandWarp> getWarps()
int getSlot()
void setSlot(int slot)
slot
- The slot to set.org.bukkit.inventory.ItemStack getRawIcon()
org.bukkit.inventory.ItemStack getIcon(@Nullable SuperiorPlayer superiorPlayer)
superiorPlayer
- The player to parse the placeholders forvoid setIcon(@Nullable org.bukkit.inventory.ItemStack icon)
icon
- The icon to set. If null, default icon will be set.