Skip to content

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, …).

string

string

FnRef[]

boolean

void