(Official) LUA Scripting Documentation
paste
Paste a component.
Spec:
paste(
string pack_name,
string component_name,
long x,
long y,
long z,
string dir,
string paste_type)
Parameters
pack_name
: The name of the component pack in which the component is storedcomponent_name
: The name of the componentx
: The x component of the map point to paste the componenty
: The y component of the map point to paste the componentz
: The z component of the map point to paste the componentdir
: The direction to face the component for pastingpaste_type
: The type of paste.
Valid values for dir: “left”, “forward”, “right”, “back”, “backward”, “up”, “down”, “proxy”, “proxydefault”
Valid values for paste_type:
- “Overwrite” - All source blocks are pasted (all destination blocks are overwritten).
- “Merge” - Only source blocks that are not empty are pasted.
- “NoOverwrite” - Only destination blocks that are empty are overwritten.
Incomplete
This documentation is incomplete