Darkhax-Minecraft / ItemStages

Allows items to be put into stages.
GNU Lesser General Public License v2.1
7 stars 18 forks source link

stageModItems does not work correctly for items with Tags #31

Closed clubpetey closed 6 years ago

clubpetey commented 6 years ago

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()"

Darkhax commented 6 years ago

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.

clubpetey commented 6 years ago

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:*")

Darkhax commented 6 years ago

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

clubpetey commented 6 years ago

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