接口 BlockFillOptions预览版 实验性

Contains additional options for a block fill operation.

interface BlockFillOptions {
    blockFilter?: BlockFilter;
    ignoreChunkBoundErrors?: boolean;
}

属性

blockFilter?: BlockFilter

When specified, the fill operation will include / exclude the blocks added to the block filter.

ignoreChunkBoundErrors?: boolean

When true fillBlocks will not error if part of the fill volume is outside of loaded chunks bounds. Instead it will just fill the blocks that are inside the loaded chunk bounds and ignoring blocks outside.