Immersive Engineering

Immersive Engineering

134M Downloads

[1.18.1] Assembler can craft Bucket of Redstone Acid without bucket

HeadlessClient opened this issue ยท 5 comments

commented

The assembler will craft Bucket of Redstone Acid even when no bucket of water, or bucket is in its inventory.

Causes bucket duping
2022-01-14_17 55 19
2022-01-14_17 55 25

commented

@malte0811 I need your feedback here.

How do we handle a recipe where the output has a container item and an input does as well? Is there a reliable way for us to figure that out?
Alternatively, do we add some option that prevents handling of special ingredients for assembler recipes?

commented

We can't really detect if a recipe is going to do this (since MC doesn't natively support it), but I think it's relatively safe to disable "direct" fluid support for recipe classes overriding getRemainingItems. That will take a little bit of reflection hackery, but I don't think there's any other way to fix this.

commented

Can I assign you to this to make that happen?

commented

I would not class it as high-prio

commented

Fixed by #5404