Tribot SDK
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Tribot SDK
script-sdk
/
org.tribot.script.sdk.types.definitions
/
ObjectDefinition
Object
Definition
open
class
ObjectDefinition
Members
Constructors
Object
Definition
Link copied to clipboard
constructor
(
definition
:
RSObjectDefinition
)
Functions
blocks
Projectiles
Link copied to clipboard
open
fun
blocksProjectiles
(
)
:
Boolean
Gets whether or not the object can block projectiles.
get
Link copied to clipboard
open
fun
get
(
id
:
Int
)
:
Optional
<
ObjectDefinition
>
Gets the object definition for the object with the specified ID.
get
Actions
Link copied to clipboard
open
fun
getActions
(
)
:
List
<
String
>
get
Height
Link copied to clipboard
open
fun
getHeight
(
)
:
Int
Gets the height in tiles of this object.
get
Modified
Colors
Link copied to clipboard
open
fun
getModifiedColors
(
)
:
Array
<
Short
>
get
Name
Link copied to clipboard
open
fun
getName
(
)
:
String
get
Width
Link copied to clipboard
open
fun
getWidth
(
)
:
Int
Gets the width in tiles of this object.
is
Walkable
Link copied to clipboard
open
fun
isWalkable
(
)
:
Boolean
Gets whether or not this object can be walked over