AddonEntityRegistry.AddonEntity
Index
Properties
readonlyid
readonlytype
Add-on defined entity name ID.
Methods
exec
Executes command with the entity.
Parameters
command: string
command to be executed
Returns string
Error message or null if the command was run successfully.
execAt
Executes command with the entity on the specified coordinates.
Parameters
command: string
command to be executed
x: number
y: number
z: number
Returns string
Error message or null if the command was run successfully.
Entity unique ID.