Region - Block Count (Expression) — skript-worldedit

Addon: skript-worldedit · Category: Expression · Since: 1.0.4

Syntax

[the] (count|number) of blocks in %worldeditregions% that match [mask] %string/itemtype/worldeditmask%

Description

Gets the number of a certain type of block in a region. Can use a mask to specify more than one kind of block.

Examples

set {stone} to the number of stone in {region}
set {multiple} to the number of blocks in {region} that match "stone,diamond_block,oak_planks"

View source