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

IE machines (Crusher, Arc Furnace, maybe more?) and oredicted inputs #195

Closed
Wizzerinus opened this issue Jul 11, 2024 · 1 comment · Fixed by #196
Closed

IE machines (Crusher, Arc Furnace, maybe more?) and oredicted inputs #195

Wizzerinus opened this issue Jul 11, 2024 · 1 comment · Fixed by #196

Comments

@Wizzerinus
Copy link
Contributor

second issue in two days, man I really should touch up on the IE compat.

so IE crusher can accept OreDicted inputs:
image

but GrS cannot accept them:

mods.immersiveengineering.crusher.recipeBuilder()
    .input(ore("sandstone"))
    .output(item("minecraft:sand") * 2)
    .secondaryOutput(item("thermalfoundation:material", 772), 0.5)
    .register()

With this traceback:

	java.lang.RuntimeException: Recipe Ingredients must always be ItemStack, Item, Block, List<ItemStack>, String (OreDictionary name) or FluidStack; OreDictIngredient{ logWood } * 1 is invalid
		at blusunrize.immersiveengineering.api.ApiUtils.createIngredientStack(ApiUtils.java:842)
		at blusunrize.immersiveengineering.api.ApiUtils.createIngredientStack(ApiUtils.java:847)
		at blusunrize.immersiveengineering.api.crafting.CrusherRecipe.<init>(CrusherRecipe.java:45)
		at com.cleanroommc.groovyscript.compat.mods.immersiveengineering.Crusher$RecipeBuilder.register(Crusher.java:154)
		at com.cleanroommc.groovyscript.compat.mods.immersiveengineering.Crusher$RecipeBuilder.register(Crusher.java:107)
		at classes.CrusherHelper$CrusherHelperBuilder.register(CrusherHelper.groovy:44)
@Wizzerinus Wizzerinus changed the title IE Crusher IE Crusher and oredicted inputs Jul 11, 2024
@Wizzerinus
Copy link
Contributor Author

Happens with Arc Furnace too. I suspect it just happens with a bunch of things then

@Wizzerinus Wizzerinus changed the title IE Crusher and oredicted inputs IE machines (Crusher, Arc Furnace, maybe more?) and oredicted inputs Jul 11, 2024
WaitingIdly added a commit to WaitingIdly/GroovyScript that referenced this issue Jul 11, 2024
brachy84 pushed a commit that referenced this issue Jul 12, 2024
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

Successfully merging a pull request may close this issue.

1 participant