Interface Item

    • Method Detail

      • 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()
        Get the low alchemy price for this item.
        Returns:
        the low alchemy price (storePrice * 0.4)
      • getHighAlchemyPrice

        default int getHighAlchemyPrice()
        Get the high alchemy price for this item.
        Returns:
        the high alchemy price (storePrice * 0.6)
      • isNoted

        boolean isNoted()
        Gets whether or not this item is noted.
        Returns:
        true if noted, false otherwise
      • isStackable

        boolean isStackable()
        Gets whether or not this item is stackable in a players inventory.
        Returns:
        true if stackable, false otherwise
      • isMembers

        boolean isMembers()
        Gets whether or not this item is a members only item.
        Returns:
        true if members only, false otherwise
      • getStackSize

        int getStackSize()
        Gets the stack size of the item.
        Returns:
        int
      • getGroundActions

        java.util.List<java.lang.String> getGroundActions()
        Gets the available actions when this item is on the ground.
        Returns:
        list of actions
      • hasGroundAction

        boolean hasGroundAction​(java.lang.String... actions)
        Determines if this item has one of the given ground actions.
        Parameters:
        actions - one or multiple actions
        Returns:
        true if it has one of the given actions, false otherwise
      • getNotedId

        int getNotedId()
        Gets the noted item id of the noted or un-noted variant of this item.
        Returns:
        int
      • getUnNotedId

        int getUnNotedId()
        Gets the un-noted item id of the noted or un-noted variant of this item.
        Returns:
        int