Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stageModItems does not work correctly for items with Tags #31

Closed
clubpetey opened this issue Oct 7, 2018 · 4 comments
Closed

stageModItems does not work correctly for items with Tags #31

clubpetey opened this issue Oct 7, 2018 · 4 comments

Comments

@clubpetey
Copy link

clubpetey commented Oct 7, 2018

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
Copy link
Member

Darkhax commented Oct 7, 2018

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.

@Darkhax Darkhax closed this as completed Oct 7, 2018
@clubpetey
Copy link
Author

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
Copy link
Member

Darkhax commented Oct 8, 2018

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

@clubpetey
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants