public interface RS2Object extends Entity
Modifier and Type | Method and Description |
---|---|
default java.lang.String[] |
getActions()
Gets the model actions of this identifiable.
|
int |
getConfig()
Gets the config for this object.
|
default ObjectDefinition |
getDefinition()
Gets the object definition for this object.
|
default int |
getGridX()
Gets the grid x coordinate for this entity.
|
default int |
getGridY()
Gets the grid y coordinate for this entity.
|
default int |
getId()
Gets the id for this object.
|
default int |
getLocalX()
Gets the local x coordinate for this entity.
|
default int |
getLocalY()
Gets the local y coordinate for this entity.
|
default int[] |
getModelIds()
Gets the model ids of this identifiable.
|
default java.lang.String |
getName()
Gets the name of this identifiable.
|
default int |
getOrientation()
Gets the orientation for this object.
|
default int |
getSizeX()
Gets the size of this entity in the x dimension.
|
default int |
getSizeY()
Gets the size of this entity in the y dimension.
|
default int |
getType()
Gets the object type for this object.
|
default int |
getUID()
Deprecated.
|
long |
getUUID()
Gets the UID for this object.
|
default int |
getX()
Gets the x coordinate for this entity.
|
default int |
getY()
Gets the y coordinate for this entity.
|
default int |
getZ()
Gets the z coordinate for this entity.
|
default boolean |
hover()
Attempts to hover the mouse over the next click needed to interact with this
Interactable . |
@Deprecated default int getUID()
long getUUID()
default int getId()
getId
in interface Identifiable
int getConfig()
default int getOrientation()
default int getType()
default java.lang.String getName()
getName
in interface Identifiable
default int[] getModelIds()
getModelIds
in interface Identifiable
default int getLocalX()
default int getLocalY()
default int getX()
default int getY()
default int getZ()
default int getGridX()
default int getGridY()
default int getSizeX()
default int getSizeY()
default ObjectDefinition getDefinition()
getDefinition
in interface Entity
default java.lang.String[] getActions()
getActions
in interface Identifiable
default boolean hover()
Interactable
.
This method will never click the mouse, so it can be used to speed up scripts while they are idling.hover
in interface Interactable