Class GroundItem


  • public class GroundItem
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GroundItem()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAlchemyPrice()
      Returns the High Alchemy price of the item multiplied by the quantity on the ground.
      int getGrandExchangePrice()
      Returns the Grand Exchange price of the item multiplied by the quantity on the ground.
      static java.lang.String[] getGroundItemActions​(net.runelite.api.ItemComposition item)
      Returns a list of actions which can be performed on the Tile object.
      boolean isOwnedByLocalPlayer()
      True if the ground item belongs to the local player and false otherwise.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GroundItem

        public GroundItem()
    • Method Detail

      • getAlchemyPrice

        public int getAlchemyPrice()
        Returns the High Alchemy price of the item multiplied by the quantity on the ground.
        Returns:
        The High Alchemy price of the item multiplied by the quantity on the ground
      • getGrandExchangePrice

        public int getGrandExchangePrice()
        Returns the Grand Exchange price of the item multiplied by the quantity on the ground. To retrieve only the GE price of a single item use getGePrice()
        Returns:
        The Grand Exchange price of the item multiplied by the quantity on the ground
      • getGroundItemActions

        public static java.lang.String[] getGroundItemActions​(net.runelite.api.ItemComposition item)
        Returns a list of actions which can be performed on the Tile object. Generally this will be "Take" or "Examine".
        Parameters:
        item - The item composition of the ground item to get actions for
        Returns:
        A list of actions which can be performed on the tile object
      • isOwnedByLocalPlayer

        public boolean isOwnedByLocalPlayer()
        True if the ground item belongs to the local player and false otherwise.
        Returns:
        Boolean