Skip to content

Display Block Opened State

Displays a private Barrel opened state and restores actual current world state during cleanup. Chest/Shulker private animations are not implemented by this operation.

Call Method → Target Object: Player or a compatible subtype → Choose Operation → Appearance. Requires Dev access to configure, then a successful compile to activate.

Input Type Role Requirement Default / constraint
Barrel Location Location Value Required Required
Open Boolean Value Optional true

Applies its behavior to the configured receiver; it does not create a separate value-result destination.

Block: Call Method
Operation: Display Block Opened State
Target Object: Player target in this plot
Barrel Location: Location A in the play area
Open: true

Use this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.

The receiver must satisfy the declared native capability and remain eligible for the running plot. Player actions require an appropriate Play participant; a Build/Dev player is not automatically eligible.

Runtime validation: Public private opened-state playback supports Barrels; chest/shulker animations have no public per-player API.

Reference identifier: player.block_open.