Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.53 KB

CompoundBlockVolumeItem.md

File metadata and controls

44 lines (28 loc) · 1.53 KB
author ms.author ms.service title description monikerRange
jakeshirley
jashir
minecraft-bedrock-edition
minecraft/server.CompoundBlockVolumeItem Interface
Contents of the @minecraft/server.CompoundBlockVolumeItem class.
=minecraft-bedrock-experimental

CompoundBlockVolumeItem Interface

Caution

This interface is still in pre-release. Its signature may change or it may be removed in future releases.

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

Properties

action

action?: CompoundBlockVolumeAction;

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.

Type: CompoundBlockVolumeAction

locationRelativity

locationRelativity?: CompoundBlockVolumePositionRelativity;

The relativity enumeration determines whether the BlockVolume specified is positioned relative to the parent compound block volume origin, or in absolute world space.

Type: CompoundBlockVolumePositionRelativity

volume

volume: BlockVolume;

The volume of space

Type: BlockVolume