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.
bool physicsEnabled
Available since version: 0.3.2
Represents the state of flag about item ground physics.
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.
Vec3 getPosition()
Returns Vec3:
the item ground position on the world.
setPosition
Available since version: 0.3.2
This method will set the item ground position in the world.
void setPosition(float x, float y, float z)
Parameters:
floatx: the position in the world on the x axis.floaty: the position in the world on the y axis.floatz: the position in the world on the z axis.
getRotation
Available since version: 0.3.0
This method will get the item ground rotation on the world.
Vec3 getRotation()
Returns Vec3:
the item ground rotation on the world.
setRotation
Available since version: 0.3.2
This method will set the item ground rotation in the world.
void setRotation(float x, float y, float z)
Parameters:
floatx: the rotation in the world on the x axis.floaty: the rotation in the world on the y axis.floatz: the rotation in the world on the z axis.
Callbacks
No callbacks.