Interface ItemDefinition


public interface ItemDefinition
  • Method Details

    • getId

      int getId()
    • getNotedId

      int getNotedId()
    • getUnNotedId

      int getUnNotedId()
    • getName

      String getName()
    • isNoted

      boolean isNoted()
    • isStackable

      boolean isStackable()
    • isTradable

      boolean isTradable()
    • isMembers

      boolean isMembers()
    • getActions

      List<String> getActions()
    • hasAction

      boolean hasAction(String... actions)
    • getGroundActions

      List<String> getGroundActions()
    • hasGroundAction

      boolean hasGroundAction(String... actions)
    • getStorePrice

      int getStorePrice()
      Gets the store price of the item. All items have a store price and the store price can be used to calculate high and low alchemy values.
      Returns:
      the general store value of the item
    • getLowAlchemyPrice

      default int getLowAlchemyPrice()
      The store price can be used to calculate low alchemy price by multiplying the price by 0.4.
      Returns:
      the low alchemy price (storePrice * 0.4)
    • getHighAlchemyPrice

      default int getHighAlchemyPrice()
      The store price can be used to calculate high alchemy price by multiplying the price by 0.6.
      Returns:
      the low alchemy price (storePrice * 0.6)