Git Product home page Git Product logo

Comments (4)

alcatrazEscapee avatar alcatrazEscapee commented on July 1, 2024

What are you talking about? Please explain the issue you're having.

from terrafirmacraft.

 avatar commented on July 1, 2024

Maybe what I said has some errors. The issue is about JEI. I did some tasts, the recipes like this, the total count of input ingredients is 1, which is less than or not equal to the total count of item_output, can still run well, but they can not be viewed with JEI in version 3.2.3:
2024-05-25 205435
This made me mistakenly think that the recipe was invalid.
These recipes can be viewed with JEI in previous versions, thus I had to take the photo of JEI in version 3.2.2.

from terrafirmacraft.

PancakeInvaders2 avatar PancakeInvaders2 commented on July 1, 2024

to add some more information on this issue, here's the jei error log:

[26mai2024 13:52:09.358] [Render thread/ERROR] [mezz.jei.library.util.IngredientSupplierHelper/]: Found a broken recipe, failed to setRecipe with RecipeLayoutBuilder: Firmalife firmalife:pot/tomato_sauce class net.dries007.tfc.common.recipes.SimplePotRecipe

The recipe works in the pot, it just doesn't get rendered in JEI

Here's the recipe's json:

{
"__comment__":"This file was automatically created by mcresources",
"type":"tfc:pot",
"ingredients":[
{"type":"tfc:not_rotten","ingredient":{"item":"tfc:food/tomato"}},
{"item":"tfc:powder/salt"},
{"type":"tfc:not_rotten","ingredient":{"item":"tfc:food/garlic"}}
],
"fluid_ingredient":{"ingredient":"minecraft:water","amount":100},
"duration":2000,
"temperature":300,
"item_output":[
{"item":"firmalife:food/tomato_sauce"},
{"item":"firmalife:food/tomato_sauce"},
{"item":"firmalife:food/tomato_sauce"},
{"item":"firmalife:food/tomato_sauce"},
{"item":"firmalife:food/tomato_sauce"}
]
}

from terrafirmacraft.

alcatrazEscapee avatar alcatrazEscapee commented on July 1, 2024

Linked duplicate has additional information, copied here, there's a JEI log for this recipe:

[30May2024 20:55:38.227] [Render thread/ERROR] [mezz.jei.library.util.IngredientSupplierHelper/]: Found a broken recipe, failed to setRecipe with RecipeLayoutBuilder: Firmalife firmalife:pot/tomato_sauce class net.dries007.tfc.common.recipes.SimplePotRecipe

java.lang.IndexOutOfBoundsException: Index 3 out of bounds for length 3
	at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
	at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
	at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) ~[?:?]
	at java.util.Objects.checkIndex(Objects.java:361) ~[?:?]
	at java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
	at net.dries007.tfc.compat.jei.category.SimplePotRecipeCategory.setRecipe(SimplePotRecipeCategory.java:72) ~[TerraFirmaCraft-Forge-1.20.1-3.2.3.jar%23187!/:3.2.3]
	at net.dries007.tfc.compat.jei.category.SimplePotRecipeCategory.setRecipe(SimplePotRecipeCategory.java:29) ~[TerraFirmaCraft-Forge-1.20.1-3.2.3.jar%23187!/:3.2.3]
	at mezz.jei.library.util.IngredientSupplierHelper.getIngredientSupplier(IngredientSupplierHelper.java:22) ~[jei-1.20.1-forge-15.3.0.4.jar%23179!/:15.3.0.4]

from terrafirmacraft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.