Tags
A tag is a named, cross-mod-extensible group of content — directly modeled
on Minecraft’s #namespace:path tags (e.g. #minecraft:logs). Several mods,
or several call sites, can grow the same tag.
import rsmm.sdk as sdkm = sdk.Mod(id="Blades", name="Blades")dagger = m.item("RubyDagger", base="Knife")m.tag("daggers", [dagger, "VanillaKnife"])m.commit()How they behave
- Append, not replace. Calling
tag()again with the same id adds to it (de-duped, order preserved). Mod B can extend a tag Mod A created. - Members are ids. Pass id strings or the handles returned by
item()/enemy()/… directly — they deref to raw ids. - Stored as data. Tags are written to
mods/<id>/tags.json; downstream tooling and mods aggregate them across all enabled mods (same model asskinpacks.json).
Common problems
See the generated Mod.tag reference for the
exact signature.