Create

Create

86M Downloads

Sequenced Assembly recipes with same input item & filling as the first step not possible

PssbleTrngle opened this issue ยท 1 comments

commented

Describe the Bug

Creating multiple assembly recipes using the same initial input is possible, if the first step is different in each recipe.
For example two recipes both using an iron plate as an input, but the first deploys an apple onto that, while the second deploys a gold ingot.
This however does not work, if the first step of the assembly recipe is a filling recipe, because the assembly step logic does only compare the items of the recipe container see here.

That means, if two assembly recipes both start with for example a glass bottle, but continue with a first step of filling different fluids into it, this method will always return the first of the two filling recipes, even if it does not actually match the fluid in the spout, because only the item (glass bottle) is checked

Reproduction Steps

  1. Create two assembly recipes both taking the same input
  2. Define a filling recipe with different fluid as the first step for both of them
  3. Define an arbitrary second step

Expected Result

Both recipes should work, since the first step is distinct (different fluids)

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Windows 11

Mod Version

0.5.1b

Minecraft Version

1.19.2

Forge Version

43.2.4

Other Mods

No response

Additional Context

No response

commented

Looking a bit into the code, it looks like the RecipeWrapper would need a way to represent the fluid a spout is holding, in addition to the item inventory, which could be a big change