SCHEMATIC_LOAD
The schematic as a canvas.
Parameters and results
fileSTRING: the name of the schematicreplaceHASH STRING: blocks to replace (optional)regionSTRING: only this region of a.litematic(optional, default all)- result
resultTYPE c0de_paint/cpaint/CANVAS: the canvas - result
entitiesINTEGER: the number of entities that were left out
Example
c0de
VARIABLE swap HASH STRING
ASSIGN swap["create:andesite_casing"] "stripped_spruce_log" ;
CALL c0de_paint/schematics/SCHEMATIC_LOAD
PARAMETER file "keep.litematic" ;
PARAMETER replace swap ;
RESULT result keep