Creates a new block clipboard.
The ID of the block clipboard, must be unique, cannot contain commas, cannot be global.
ReadonlyclipboardIDThe ID of this block clipboard.
Static ReadonlyglobalThe global block clipboard.
The size of the contents of this block clipboard.
When the block clipboard is empty, this will be { x: -1, y: -1, z: -1 }.
The 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 }.
The structure IDs of the contents of this block clipboard.
Whether this block clipboard is empty.
Clears the contents of this block clipboard.
Copies the specified area to this 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 }.
Copies the specified range of blocks to this 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.
Deletes the block clipboard.
Gets 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.
Pastes 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 BlockClipboard.contentsSize.
Pastes the contents of this block clipboard asynchronously.
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 BlockClipboard.contentsSize.
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.
StaticclearClears the contents of all block clipboards.
StaticdeleteDeletes all block clipboards.
StaticdeleteStaticgetGets all block clipboard IDs.
An array of all of the block clipboard IDs.
StaticgetGets all block clipboards.
An array of all of the block clipboards.
StaticgetGets a block clipboard by its ID.
If the block clipboard does not exist, it will be created.
The ID of the block clipboard, must be unique, cannot contain commas.
The block clipboard.
StaticgetGets block clipboards by their IDs.
The IDs of the block clipboards to get.
An array of the block clipboards with the specified IDs.
A class for working with block clipboards.