public class PasteBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Operation |
build()
Build the operation.
|
PasteBuilder |
copyBiomes(boolean copyBiomes)
Set whether the copy should include source biomes (if available).
|
PasteBuilder |
copyEntities(boolean copyEntities)
Set whether the copy should include source entities.
|
PasteBuilder |
ignoreAirBlocks(boolean ignoreAirBlocks)
Set whether air blocks in the source are skipped over when pasting.
|
PasteBuilder |
maskSource(Mask sourceMask)
Set a custom mask of blocks to ignore from the source.
|
PasteBuilder |
to(BlockVector3 to)
Set the target location.
|
public PasteBuilder to(BlockVector3 to)
to
- the target locationpublic PasteBuilder maskSource(Mask sourceMask)
ignoreAirBlocks(boolean)
, for example
one might want to ignore structure void if copying a Minecraft Structure, etc.sourceMask
- the mask for the sourcepublic PasteBuilder ignoreAirBlocks(boolean ignoreAirBlocks)
public PasteBuilder copyEntities(boolean copyEntities)
copyEntities
- if entities should be copiedpublic PasteBuilder copyBiomes(boolean copyBiomes)
copyBiomes
- if biomes should be copiedpublic Operation build()