Items (Expression) — Skript

Addon: Skript · Category: Expression · Since: 1.0 pre-5

Syntax

[all [[of] the]|the] block[[ ]type]s

Description

Items or blocks of a specific type, useful for looping.

Examples

loop tag values of tag "diamond_ores" and tag values of tag "oak_logs":
	block contains loop-item
	message "Theres at least one %loop-item% in this block"
drop all blocks at the player # drops one of every block at the player

View source