Script API - v1.20.0
    Preparing search index...

    Interface CompoundBlockVolumeItemBeta

    This interface defines an entry into the @minecraft-server/CompoundBlockVolume which represents a volume of positive or negative space.

    interface CompoundBlockVolumeItem {
        action: CompoundBlockVolumeAction;
        volume: BlockVolume;
    }
    Index

    Properties

    Properties

    The 'action' defines how the block volume is represented in the compound block volume stack. 'Add' creates a block volume which is positively selected 'Subtract' creates a block volume which represents a hole or negative space in the overall compound block volume.

    volume: BlockVolume

    The volume of space