Empty list in recipe crash "Invalid RecipeDefinition input, empty list for minecraft:itemstack"
Aazh opened this issue ยท 1 comments
Issue type:
- ๐ Bug
Short description:
Crashes if an empty item list is used in a recipe variable on the input side.
Not quite sure how to describe it.
Came across it while making a chest + materializer based recipe variable making system.
Steps to reproduce the problem:
- make an ingredients variable with one empty item
- make an empty list variable
- make a second ingredients variable with Ingr.with_items using previously made variables
- make a recipe variable with Recipe.with_io using second ingredients variable in first (input) slot and first ingredients variable in second (output) slot
- put the first three variables in a variable store
- put the recipe variable in a display panel connected to the variable store
- crash
Expected behaviour:
Not to crash. Recipe could show up as a red X or empty.
Versions:
- Integrated Dynamics: IntegratedDynamics-1.18.2-1.11.3
- Integrated Terminals: IntegratedTerminals-1.18.2-1.3.0
- Integrated Tunnels: IntegratedTunnels-1.18.2-1.8.12
- Integrated Crafting: IntegratedCrafting-1.18.2-1.0.23
- CyclopsCore: IntegratedCrafting-1.18.2-1.0.23
- CommonCapabilities: CommonCapabilities-1.18.2-2.8.2
- Minecraft: 1.18.2
- Forge: 40.1.51