Interface IContentTier
public interface IContentTier
-
Method Summary
Modifier and TypeMethodDescriptionGet itemsorg.bukkit.Material
Get tier currency.org.bukkit.inventory.ItemStack
Get item stack with name and lore in player's languageint
getPrice()
Get tier priceint
getValue()
Get tier levelvoid
setBuyItemsList
(List<IBuyItem> buyItemsList) Set list of items that you receive on buy.void
setCurrency
(org.bukkit.Material currency) Set tier currency.void
setItemStack
(org.bukkit.inventory.ItemStack itemStack) Set tier preview item.void
setPrice
(int price) Set tier price.
-
Method Details
-
getPrice
int getPrice()Get tier price -
getCurrency
org.bukkit.Material getCurrency()Get tier currency.Material.AIR
for vault. -
setCurrency
void setCurrency(org.bukkit.Material currency) Set tier currency.Material.AIR
for vault. -
setPrice
void setPrice(int price) Set tier price. -
setItemStack
void setItemStack(org.bukkit.inventory.ItemStack itemStack) Set tier preview item. -
setBuyItemsList
Set list of items that you receive on buy. -
getItemStack
org.bukkit.inventory.ItemStack getItemStack()Get item stack with name and lore in player's language -
getValue
int getValue()Get tier level -
getBuyItemsList
Get items
-