Class IngredientImpl
java.lang.Object
ru.cwcode.tkach.refreshmenu.inventory.ingredient.IngredientImpl
- All Implemented Interfaces:
Ingredient
- Direct Known Subclasses:
ActionIngredient,ExtraIngredient
-
Constructor Summary
ConstructorsConstructorDescriptionIngredientImpl(String name, List<String> description, int amount, org.bukkit.Material type, int customModelData) -
Method Summary
Modifier and TypeMethodDescriptionintintorg.bukkit.inventory.ItemStackgetItem(ru.cwcode.tkach.locale.Placeholders placeholders)getName()org.bukkit.MaterialgetType()voidsetAmount(int amount)voidsetCustomModelData(int customModelData)voidsetDescription(List<String> description)voidvoidsetType(org.bukkit.Material type)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.cwcode.tkach.refreshmenu.inventory.ingredient.Ingredient
getItem, onClick, shouldRefresh
-
Constructor Details
-
IngredientImpl
-
IngredientImpl
public IngredientImpl()
-
-
Method Details
-
getItem
public org.bukkit.inventory.ItemStack getItem(ru.cwcode.tkach.locale.Placeholders placeholders)- Specified by:
getItemin interfaceIngredient
-
getName
-
setName
-
getDescription
-
setDescription
-
getAmount
public int getAmount() -
setAmount
public void setAmount(int amount) -
getType
public org.bukkit.Material getType() -
setType
public void setType(org.bukkit.Material type) -
getCustomModelData
public int getCustomModelData() -
setCustomModelData
public void setCustomModelData(int customModelData)
-