(Official) LUA Scripting Documentation
replace_region
Replace a block id with another block id in a cubic region.
Spec:
replace_region(
long x1,
long y1,
long z1,
long x2,
long y2,
long z2,
long block_id1,
long block_id2,
long percent,
long seed)
Parameters
x1: The x component of the regions min map pointy1: The y component of the regions min map pointz1: The z component of the regions min map pointx2: The x component of the regions max map pointy2: The y component of the regions max map pointz2: The z component of the regions max map pointblock_id1: The block id to replaceblock_id2: The block id to replace with (the new block id)percent: The percentage of the region to replace. Default = 100%seed: The seed of the prng used when percent is < 100
Incomplete
This documentation is incomplete