StaticcontentsThe size of the contents of the global block clipboard.
If the block clipboard is empty, this will be { x: -1, y: -1, z: -1 }.
StaticcontentsThe sizes of the chunks of the contents of this block clipboard.
When the block clipboard is empty, this will be { x: 64, y: 128, z: 64 }.
StaticidsThe structure IDs of the contents of the global block clipboard.
StaticisWhether the global block clipboard is empty.
StaticclearClears the contents of the global block clipboard.
StaticcopyCopies the specified area to the global block clipboard.
The dimension of the area to copy to the clipboard.
The area to copy to the clipboard.
Optionaloptions: StructureCreateOptionsThe options to copy the area to the clipboard with.
OptionalsizeLimits: Vector3 = ...The sizes of the chunks of the clipboard. Defaults to { x: 64, y: 128, z: 64 }.
StaticcopyCopies the specified range of blocks to the global block clipboard.
The dimension of the area to copy to the clipboard.
The area to copy to the clipboard.
Optionaloptions: StructureCreateOptionsThe options to copy the to the clipboard with.
StaticdeleteStaticgetStaticgetGets the structure that contains the specified position in the clipboard contents.
The position to get the structure for.
The structure that contains the specified position in the clipboard contents, or undefined if no structure is found containing the specified position.
StaticpastePastes the contents of this block clipboard.
The location to paste the contents of the clipboard.
Optionaloptions: StructurePlaceOptionsThe options to paste the contents of the clipboard with.
Optionalsizes: Vector3 = ...The sizes of the chunks of the clipboard. Defaults to GlobalBlockClipboard.contentsSizeLimits.
StaticpastePastes the contents of this block clipboard.
The location to paste the contents of the clipboard.
Optionaloptions: StructurePlaceOptionsThe options to paste the contents of the clipboard with.
Optionalsizes: Vector3 = ...The sizes of the chunks of the clipboard. Defaults to GlobalBlockClipboard.contentsSizeLimits.
OptionalminMSBetweenTickWaits: number = config.system.defaultMinMSBetweenTickWaitsThe minimum number of milliseconds between tick waits. Defaults to config.system.defaultMinMSBetweenTickWaits.
A promise that resolves when the contents of the clipboard have been pasted.
The global block clipboard.
See
BlockClipboard