File utils/mapmanipulator.lua
Functions
MapManipulator:get_area () | Gets the VoxelArea for the current VoxelManip. |
MapManipulator:get_data () | Gets the data from the VoxelManip object. |
MapManipulator:new () | Creates a new instance of MapManipulator. |
MapManipulator:set_data (data) | Sets the data into the VoxelManip object. |
Functions
- MapManipulator:get_area ()
-
Gets the VoxelArea for the current VoxelManip.
Return value:
The VoxelArea. - MapManipulator:get_data ()
-
Gets the data from the VoxelManip object. The data is an array that can be accessed by using the VoxelArea object.
Return value:
The data. - MapManipulator:new ()
-
Creates a new instance of MapManipulator.
Return value:
A new instance. - MapManipulator:set_data (data)
-
Sets the data into the VoxelManip object. Will also correct and update the lighting, the liquids and flush the map.
Parameters
- data: The data to set.