function
getPlayerChunk (server-side)
Available since version: 0.3.3
This function will get the player/npc world chunk index.
Declaration
Vec2i|null getPlayerChunk(int id)
Parameters
int
id: the player id.
Returns Vec2i|null
the player world chunk index or null
if player isn't created.