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
/
NpcDefinition
Npc
Definition
open
class
NpcDefinition
:
Identifiable
,
Named
Members
Constructors
Npc
Definition
Link copied to clipboard
constructor
(
npcDefinition
:
RSNPCDefinition
)
Functions
get
Link copied to clipboard
open
fun
get
(
id
:
Int
)
:
Optional
<
NpcDefinition
>
get
Actions
Link copied to clipboard
open
fun
getActions
(
)
:
List
<
String
>
get
Combat
Level
Link copied to clipboard
open
fun
getCombatLevel
(
)
:
Int
get
Id
Link copied to clipboard
open
fun
getId
(
)
:
Int
Gets the ID of the entity
get
Name
Link copied to clipboard
open
fun
getName
(
)
:
String
Determines the name of the entity of the object this method is called on.
get
Size
Link copied to clipboard
open
fun
getSize
(
)
:
Int
is
Pet
Link copied to clipboard
open
fun
isPet
(
)
:
Boolean