Update Block (Effect) — Skript

Addon: Skript · Category: Effect · Since: 2.10

Syntax

update %blocks% (as|to be) %blockdata% [without [neighbo[u]r[ing]|adjacent] [physics] update[s]]

Description

Updates the blocks by setting them to a selected block Using 'without physics' will not send updates to the surrounding blocks of the blocks being set. Example: Updating a block next to a sand block in the air 'without physics' will not cause the sand block to fall.

Examples

update {_blocks::*} as gravel
update {_blocks::*} to be sand without physics updates
update {_blocks::*} as stone without neighbouring updates

View source