WorldClass.server_onVoxelDestruction

Called when a cluster of voxels are destroyed by a player or creation

Kind: Callback

Environments: Game

Game

Callback side: Server

WorldClass:server_onVoxelDestruction( densityLoss, positions )

Open the full Game reference

Parameters:

Name Type Description
self table The class instance.
densityLoss table A table containing information about density loss for all materials.
positions table A table containing all positions where voxels were lost for each material.