Tags Contents (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.10
Syntax
[the] tag (contents|values) of %minecrafttag%Description
Returns all the values that a tag contains. For item and block tags, this will return items. For entity tags, it will return entity datas (a creeper, a zombie).
Examples
broadcast tag values of minecraft tag "dirt"
broadcast (first element of player's tool's block tags)'s tag contents