c0de paint 0.2.0Diese Seite auf Deutsch

SCHEMATIC_LOAD ​

The schematic as a canvas.

Parameters and results

  • file STRING: the name of the schematic
  • replace HASH STRING: blocks to replace (optional)
  • region STRING: only this region of a .litematic (optional, default all)
  • result result TYPE c0de_paint/cpaint/CANVAS: the canvas
  • result entities INTEGER: 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

Used in the tutorials ​