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

Game load crash: IllegalArgumentException: Bad CraftTweaker item ingredient: <ore:dustSkyStone> #60

Open
Krutoy242 opened this issue Mar 16, 2024 · 1 comment

Comments

@Krutoy242
Copy link

For testing purposes i removed TConEvo from my modpack E2E-E. Now, after 2-3 minutes of game loading I got crash from Lazy AE2:

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Lazy AE2 (threng)
Caused by: java.lang.IllegalArgumentException: Bad CraftTweaker item ingredient: <ore:dustSkyStone>
    at io.github.phantamanta44.threng.integration.crafttweaker.CrTUtils.matchInputItemStack(CrTUtils.java:27)
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
    at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
    at io.github.phantamanta44.threng.integration.crafttweaker.CrTClassAggregator.lambda$addRecipe$0(CrTClassAggregator.java:31)

I have many tweaked function in my .zs code, but there is two with dustSkyStone ingredient in it:

// scripts/mods/endreborn.zs
mods.threng.Aggregator.addRecipe(<threng:material>, <endreborn:item_ingot_wolframium>, <threng:material:1>, <ore:dustSkyStone>);

// scripts/mods/lazyae.zs
mods.threng.Aggregator.addRecipe(<threng:material:5>, <biomesoplenty:terrestrial_artifact>, <ore:gemAmethyst>, <ore:dustSkyStone>);

debug.log

Changing <ore:dustSkyStone> to <appliedenergistics2:material:45> (actual item representation of dust) fixes the issue. This sounds odd, since in game, dustSkyStone ore is not empty and have exactly this item in it.

@Krutoy242
Copy link
Author

Accidentally closed issue with commit comment. Issue is still actual.

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

1 participant