tag
tag(
registry,id,values,options?):void
Add entries to a datapack tag, e.g. tag("function", "minecraft:load", [Init]).
registry is the folder under tags/ (function, block, item, entity_type, …).
Parameters
Section titled “Parameters”registry
Section titled “registry”string
string
values
Section titled “values”FnRef[]
options?
Section titled “options?”replace?
Section titled “replace?”boolean
Returns
Section titled “Returns”void