Item Stages

Item Stages

20M Downloads

stageModItems does not work correctly for items with Tags

clubpetey opened this issue ยท 4 comments

commented

Using AgriCraft as an example...

Executing mods.ItemStages.stageModItems("one", "agricraft") does correctly stage the basic Wooden Irrigation Channel with recipe name
<agricraft:water_channel_normal>

But does not stage the variants of the tunnel with different wood types. Such as
<agricraft:water_channel_normal>.withTag({agri_material_meta: 8, agri_material: "chisel:planks-spruce"})

the difference seems to be the ones that aren't staged have ".WithTag()"

commented

You can use :* to stage all of the sub variants of an item. You can also stage things with partial NBT instead of using the exact nbt.

commented

That works for items, but I'm trying to stage all the items for a mod with stageModItems. Are you suggesting:
mods.ItemStages.stageModItems("one", "agricraft:*")

commented

If you want to stage everything in a mod, there is another function for that. mods.ItemStages.stageModItems("one", "agricraft");

commented

Yes, and that is what I made my original post about. stageModItems does not stage everything. It does not stage items with tags.