Interface ItemDefinition


  • public interface ItemDefinition
    • Method Detail

      • getId

        int getId()
      • getNotedId

        int getNotedId()
      • getUnNotedId

        int getUnNotedId()
      • getName

        java.lang.String getName()
      • isNoted

        boolean isNoted()
      • isStackable

        boolean isStackable()
      • isMembers

        boolean isMembers()
      • getActions

        java.util.List<java.lang.String> getActions()
      • hasAction

        boolean hasAction​(java.lang.String... actions)
      • getGroundActions

        java.util.List<java.lang.String> getGroundActions()
      • hasGroundAction

        boolean hasGroundAction​(java.lang.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)