Class IngredientImpl

java.lang.Object
ru.cwcode.tkach.refreshmenu.inventory.ingredient.IngredientImpl
All Implemented Interfaces:
Ingredient
Direct Known Subclasses:
ActionIngredient, ExtraIngredient

public class IngredientImpl extends Object implements Ingredient
  • Constructor Details

    • IngredientImpl

      public IngredientImpl(String name, List<String> description, int amount, org.bukkit.Material type, int customModelData)
    • IngredientImpl

      public IngredientImpl()
  • Method Details

    • getItem

      public org.bukkit.inventory.ItemStack getItem(MenuContext context)
      Specified by:
      getItem in interface Ingredient
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public List<String> getDescription()
    • setDescription

      public void setDescription(List<String> description)
    • 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)