public class SimpleGroundItem extends SimpleItem implements SimpleLocatable, SimpleInteractable
ctx| Constructor and Description |
|---|
SimpleGroundItem(ClientContext ctx,
simple.bot.internal.IItem reflectedObject,
int id,
int quantity,
WorldPoint location) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String[] |
getActions()
Returns Actions of the object
|
WorldPoint |
getLocation()
Position in world of object
|
int |
getSlot()
Deprecated.
|
int |
hashCode() |
boolean |
interact() |
boolean |
interact(java.lang.String option) |
getId, getName, getQuantity, interact, interact, isStackablegetReflectedObjectgetClass, notify, notifyAll, toString, wait, wait, waitdistanceTo, within, withinRangegetNamepublic SimpleGroundItem(ClientContext ctx, simple.bot.internal.IItem reflectedObject, int id, int quantity, WorldPoint location)
ctx - reflectedObject - id - quantity - public WorldPoint getLocation()
SimpleLocatablegetLocation in interface SimpleLocatablepublic java.lang.String[] getActions()
SimpleActionablegetActions in interface SimpleActionablegetActions in class SimpleItem@Deprecated public int getSlot()
getSlot in class SimpleItempublic boolean interact(java.lang.String option)
interact in interface SimpleInteractableinteract in class SimpleItempublic boolean interact()
public boolean equals(java.lang.Object o)
equals in class SimpleItempublic int hashCode()
hashCode in class SimpleItem