Falling Blocks

The falling blocks module is used to specify what blocks are affected by gravity. Additional it also supports sticky blocks, if a falling block is stuck to a sticky block it will not fall.

Falling blocks will not fall if they touch a sticky block. If you make a falling block stick to itself, then it will stick only if the neighbor block is also stuck to something. Entire structures can then be built from those blocks, and they will not collapse as long as some part of the structure is stuck to a non-falling block.

ElementDescriptionValue/Children
Node containing this map's falling block rules.
Sub-elements
An individual falling block rule.Rule Sub-elements
Rule Attributes
AttributeDescriptionValueDefault
PropertyRequiredFilter what blocks get modified by this rule.Block Filter
PropertyRequiredThe blocks that are sticky.Block Filter
PropertyTick delay till blocks start to fall after they have been disturbed.Number2
Rule Sub-elements
ElementDescriptionValue/ChildrenDefault
PropertyRequiredFilter what blocks get modified by this rule.
Also accepts regions to limit the rule to a certain area.
Block Filters & Regions
PropertyRequiredThe blocks that are sticky.Block Filters
PropertyTick delay till blocks start to fall after they have been disturbed.Number2

Examples

<falling-blocks>
<!-- make glass fall if it is not attached to wood or glass -->
<rule>
<filter>
<material>glass</material>
</filter>
<sticky>
<any>
<material>wood</material>
<material>glass</material>
</any>
</sticky>
</rule>
</falling-blocks>
<falling-blocks>
<!-- make sandstone fall, just like sand or gravel -->
<rule>
<filter>
<material>sandstone</material>
</filter>
</rule>
</falling-blocks>
</falling-blocks>
<!-- blocks that match the "building-blocks" filter, and are inside
the "box" region, collapse if they are not connected to something
made of quartz, either directly or through other building-blocks -->
<rule>
<filter>
<all>
<region id="box"/>
<filter id="building-blocks"/>
</all>
</filter>
<sticky>
<any>
<filter id="building-blocks"/>
<material>quartz</material>
<material>quartz stairs</material>
</any>
</sticky>
</rule>
</falling-blocks>