Is Tagged (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.10

Syntax

%itemtypes/entities/entitydatas% (is|are) tagged (as|with) %minecrafttags%

Description

Checks whether an item, block, entity, or entitydata is tagged with the given tag.

Examples

if player's tool is tagged with minecraft tag "enchantable/sharp_weapon":
	enchant player's tool with sharpness 1
if all logs are tagged with tag "minecraft:logs"

View source