public class ItemDefinition extends SimpleWrapper<simple.bot.internal.IItemDefinition> implements SimpleIdentifiable, SimpleNamable, SimpleActionable
ctx| Constructor and Description |
|---|
ItemDefinition(ClientContext ctx,
simple.bot.internal.IItemDefinition reflectedObject,
int id) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getActions()
Returns Actions of the object
|
int |
getId()
Returns id of the object
|
java.lang.String |
getName()
The name of said object
|
int |
getNotedId() |
boolean |
isStackable() |
getReflectedObjectpublic ItemDefinition(ClientContext ctx, simple.bot.internal.IItemDefinition reflectedObject, int id)
ctx - reflectedObject - public int getId()
SimpleIdentifiablegetId in interface SimpleIdentifiablepublic java.lang.String getName()
SimpleNamablegetName in interface SimpleNamablepublic java.lang.String[] getActions()
SimpleActionablegetActions in interface SimpleActionablepublic boolean isStackable()
public int getNotedId()