public class SimpleGroundItem extends Clickable implements SimpleActionable, SimpleIdentifiable, SimpleNamable, SimpleLocatable
| Constructor and Description |
|---|
SimpleGroundItem(net.runelite.api.TileItem item,
net.runelite.api.Tile tile) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
click(int option)
Deprecated.
|
boolean |
click(java.lang.String action)
This makes mouse click with option
|
boolean |
click(java.lang.String action,
java.lang.String option) |
java.lang.String[] |
getActions()
Returns Actions of the object
|
java.awt.geom.Rectangle2D |
getClickBounds() |
int |
getId()
Returns id of the object
|
net.runelite.api.TileItem |
getItem() |
net.runelite.api.ItemComposition |
getItemDefinitions() |
net.runelite.api.coords.WorldPoint |
getLocation()
Position in world of object
|
java.lang.String |
getName()
The name of said object
|
int |
getQuantity() |
net.runelite.api.Tile |
getTile() |
boolean |
isStackable() |
clickOnMinimap, getPointForType, turnTo, validateInteractable, visibleOnScreenequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclickOnMinimap, distanceTo, within, withinRangepublic SimpleGroundItem(net.runelite.api.TileItem item,
net.runelite.api.Tile tile)
public net.runelite.api.coords.WorldPoint getLocation()
SimpleLocatablegetLocation in interface SimpleLocatablepublic java.lang.String getName()
SimpleNamablegetName in interface SimpleNamablepublic java.awt.geom.Rectangle2D getClickBounds()
public int getId()
SimpleIdentifiablegetId in interface SimpleIdentifiablepublic int getQuantity()
public net.runelite.api.ItemComposition getItemDefinitions()
public net.runelite.api.TileItem getItem()
public net.runelite.api.Tile getTile()
public boolean isStackable()
public java.lang.String[] getActions()
SimpleActionablegetActions in interface SimpleActionablepublic boolean click(java.lang.String action)
Clickablepublic boolean click(java.lang.String action,
java.lang.String option)