Skip to content

static class ItemGround (server-side)

Available since version: 0.1.0

This class represents item on the ground.

Properties

int id (read-only)

Represents the unique id of the item ground.


string instance (read-only)

Represents the item instance of the item ground.


int amount (read-only)

Represents the item amount of item ground.


string world (read-only)

Represents the item ground world (.ZEN file path).


int virtualWorld

Available since version: 0.1.2

Represents the virtual world of item ground.


Methods

getPosition

This method will get the item ground position on the world.

{x, y, z} getPosition()

Returns {x, y, z}:

the item ground position on the world.


getRotation

Available since version: 0.3.0

This method will get the item ground rotation on the world.

{x, y, z} getRotation()

Returns {x, y, z}:

the item ground rotation on the world.