Integrated Dynamics

Integrated Dynamics

63M Downloads

Empty list in recipe crash "Invalid RecipeDefinition input, empty list for minecraft:itemstack"

Aazh opened this issue ยท 1 comments

commented

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:

  1. make an ingredients variable with one empty item
    image
  2. make an empty list variable
    image
  3. make a second ingredients variable with Ingr.with_items using previously made variables
    image
  4. make a recipe variable with Recipe.with_io using second ingredients variable in first (input) slot and first ingredients variable in second (output) slot
    image
  5. put the first three variables in a variable store
    image
  6. put the recipe variable in a display panel connected to the variable store
    image
  7. 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

Log file:

https://pastebin.com/415YCA52

commented

Thanks for reporting!