CANVAS_REPLACE
Draws every voxel with the block id again with style, whatever the states of the block are. The new block keeps the states of the old one that it also has, so stairs keep their direction; the states of the style win. The data of the old block stays unless the new block has data of its own.
Parameters and results
canvasTYPE c0de_paint/cpaint/CANVAS: the canvas (a variable)idSTRING: the block, like "stone"styleTYPE c0de_paint/cpaint/STYLE: the new style
Example
c0de
CALL c0de_paint/cpaint/CANVAS_REPLACE
PARAMETER canvas c ;
PARAMETER id "cobblestone" ;
PARAMETER style mossy ;