Tag Namespaced Key (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.10

Syntax

[the] [namespace[d]] key[s] of %minecrafttags%

Description

The namespaced key of a minecraft tag. This takes the form of "namespace:key", e.g. "minecraft:dirt".

Examples

broadcast namespaced keys of the tags of player's tool
if the key of {_my-tag} is "minecraft:stone":
	return true

View source