Edit

Block Components Documentation - minecraft:chest_obstruction

This defines how a block reacts to a chest being opened underneath it.

Note

Added in 1.26.10 behind the Upcoming Creator Features experiment and released without the experimental toggle for block format versions 1.26.20 and newer. Controls how a block placed above a chest affects the chest's ability to open: always always obstructs, never never obstructs, and shape (the default) uses the block's AABB.

Note

This item requires a format version of at least 1.26.10.

Block Chest Obstruction Properties

Name Default Value Type Description Example Values
obstruction_rule shape Obstruction Rule choices [optional] How the block should be evaluated by a chest during chest opening. Block Black Concrete Stairs: "never"

obstruction_rule

[optional] How the block should be evaluated by a chest during chest opening. Must be one of the following options: "always" - Will always oba chest from opening when directly above it. "never" - Will never obstruct a chest from opening when directly above it. "shape" - Will use the Blocks AABB shape to determine if the chest is obstructed from opening when directly above it; this is the default value if no rule is provided.

Obstruction Rule choices

Value Title Description
always Always
never Never
shape Shape

Samples

Block Black Concrete Stairs

"minecraft:chest_obstruction": {
  "obstruction_rule": "never"
}