minetest.place schematic on vmanip

Description
This method works in a similar fashion to minetest.place_schematic, but can be used with a VoxelManip for better performance when manipulating large amounts of nodes.


 * Uses VoxelManip object vm, which is the voxel manipulator you are using to e.g. generate terrain
 * Places the schematic specified by schematic (see: Schematic specifier) at pos.
 * Rotation can be "0", "90", "180", "270", or "random".
 * If the rotation parameter is omitted, the schematic is not rotated.
 * replacements = {["old_name"] = "convert_to", ...}
 * force_placement is a boolean indicating whether nodes other than air and ignore are replaced by the schematic

Example
The below snippet places the acacia tree from default at some terrain position with a random rotation when the data written at the voxelmanip index is dirt with dry grass. It does not do specific or general node replacements. Note that the schematic is offset by -4 in the x and z directions because the acacia tree is 9 by 9 in x and z: