Loader Tags
The tags loader is a Loader added by CraftTweaker that provides the scripter with a new location in time to load scripts.
The unique purpose of the loader is to give you a window where tags can be manipulated, before mods and CraftTweaker load recipes and scripts respectively.
This means:
- If you use the
tagsloader, you can forget about having to add priority to your scripts so the scripts that modify tags load earlier than the ones that actually use them. - If you modify tags before mods certain conditional recipes added by mods can be tweaked, using the updated tag contents.
- Since the
tagsloader loads before thecrafttweakerone, which is the default, you have access to almost no types at all. You only have access to<tags>,<tagmanager>and<resources>
#loader tags
<tag:items:minecraft:planks>.addId(<resource:minecraft:tnt>);The complete list of classes you can access is the following:
ResourceLocationManyUnknownTagMCTagUnknownTagManagerITagManagerTagManagerINumberDataIDataICollectionDataCommandStringDisplayable