Interface PriceItem


public interface PriceItem
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Get the max price for this item
    long
    Get the min price for this item
     
    boolean
    isSimilar(org.bukkit.inventory.ItemStack itemStack)
    Check if an ItemStack is similar or not
  • Method Details

    • getMinPrice

      long getMinPrice()
      Get the min price for this item
      Returns:
      min price
    • getMaxPrice

      long getMaxPrice()
      Get the max price for this item
      Returns:
      max price
    • isSimilar

      boolean isSimilar(org.bukkit.inventory.ItemStack itemStack)
      Check if an ItemStack is similar or not
      Parameters:
      itemStack -
      Returns:
      boolean
    • getName

      String getName()
      Returns:
      name