Class GroundItem

All Implemented Interfaces:
Identifiable, Locatable, Verified

public class GroundItem extends Entity
  • Constructor Details

    • GroundItem

      public GroundItem(Object itemLayer, net.runelite.api.TileItem itemReference)
  • Method Details

    • setTile

      @Deprecated public void setTile(Tile t)
      Deprecated.
    • getHeight

      public int getHeight()
    • getId

      public int getId()
    • getAmount

      public int getAmount()
    • getPlane

      @Deprecated public int getPlane()
      Deprecated.
    • getLocalX

      public int getLocalX()
    • getLocalY

      public int getLocalY()
    • getX

      public int getX()
    • getY

      public int getY()
    • getGridX

      public int getGridX()
    • getGridY

      public int getGridY()
    • getZ

      public int getZ()
    • setZ

      @Deprecated public void setZ(int z)
      Deprecated.
    • isOnScreen

      public boolean isOnScreen()
      Overrides:
      isOnScreen in class Entity
    • getBoundingBox

      public Rectangle getBoundingBox()
      Overrides:
      getBoundingBox in class Entity
    • getRenderableHeight

      public int getRenderableHeight()
      Specified by:
      getRenderableHeight in class Entity
    • getName

      public String getName()
      Specified by:
      getName in interface Identifiable
      Specified by:
      getName in class Entity
    • hasAction

      public boolean hasAction(String... actions)
      Specified by:
      hasAction in class Entity
    • getActions

      public String[] getActions()
      Specified by:
      getActions in class Entity
    • getItem

      public Item getItem()
    • exists

      public boolean exists()
      Specified by:
      exists in interface Verified
      Overrides:
      exists in class Entity
    • getOwnership

      public int getOwnership()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getDespawnTime

      public int getDespawnTime()
    • getVisibleTime

      public int getVisibleTime()
    • getWorldViewId

      public int getWorldViewId()
      Specified by:
      getWorldViewId in class Entity
    • getTile

      public Tile getTile()
      Specified by:
      getTile in interface Locatable
      Overrides:
      getTile in class Entity