Replace Blocks (Effect) — skript-worldedit
Addon: skript-worldedit · Category: Effect · Since: 1.0.0
Syntax
(use ([fastasync]world[ ]edit|[fa]we) to|[fastasync]world[ ]edit|[fa]we) replace [all] blocks in %worldeditregion% that match [mask] %string/itemtype/worldeditmask% with [pattern] %string/itemtype/worldeditpattern% [lazily]Description
Replaces blocks in a region that match a certain mask with a given pattern.
Examples
use we to replace all stone in {region} with diamond ore
use we to replace all blocks in {region} that match mask "stone,cobblestone" with pattern "50%%diamond_block,50%%gold_block"