Blockstate - Update/Apply (Effect) — SkBee

Addon: SkBee · Category: Effect · Since: 2.13.0

Syntax

[force] update %blockstates% [without (neighbour|physics) updates]

Description

Attempts to update the block represented by this state. Unless force is applied, this will not modify the state of a block if it is no longer the same type as it was when this state was taken. You can optionally apply this blockstate to another block. If done without physics updates, it will not trigger a physics update on surrounding blocks which could cause them to update or disappear.

Examples

set {_state} to blockstate of event-block
set event-block to air
wait 1 minute
force update {_state} without physics updates

force apply {_state} to target block

View source