WorldClass.server_onVoxelConstruction
Called when a cluster of voxels are added by a player
Kind: Callback
Environments: Game
Game
Callback side: Server
WorldClass:server_onVoxelConstruction( densityGain, positions )
Parameters:
| Name | Type | Description |
|---|---|---|
self |
table | The class instance. |
densityGain |
table | A table containing information about density gain for all materials. |
positions |
table | A table containing all positions where voxels were added for each material. |