Is Tagged (Condition) — Skript
Addon: Skript · Category: Condition
Syntax
%items/blocks/entitytypes/entities% (is|are) tagged (as|with) %minecrafttags%Description
Checks whether an item, block, entity or entity type is tagged with the given minecraft tag. Matching is done by namespaced key, so an oak log is tagged with both the item and the block version of "logs".
Examples
if player's tool is tagged with item tag "planks":
send "that's a plank!" to player
on block break:
if event-block is tagged with tag "mineable/pickaxe":
cancel event