Registry - TagKey from Registry (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.8.0
Syntax
tag key %string% from %registrykey%Description
Get a TagKey from a registry. You can check if a tag key contains an object. Think of it like a list.
Examples
set {_tagkey} to tag key "minecraft:wool" from block registry
if {_tagkey} contains player's tool:
set {_tagkey} to tag key "my_pack:cool_enchantments" from enchantment registry
set {_tagkey} to item registry tag key "minecraft:swords"
if biome registry tag key "minecraft:is_forest" contains biome at player: