Applied Energistics 2

Applied Energistics 2

156M Downloads

Pass buckets instead of wrapped fluids in AECraftingPattern.getRemainingItems

shartte opened this issue ยท 0 comments

commented

Immersive Engineering will attempt to find the expected fluid containers in the crafting container we pass to Recipe.getRemainingItems, and will emit a log+stacktrace when failing to do so. This occurs because we still have the wrapped fluidstack in the slot when we call it.

We should instead replicate the same logic we use for assembling special recipes in which we substitute the slots with substituted fluids with the actual buckets, and then delete them again after calling getRemainingItems.

Related IE issue: BluSunrize/ImmersiveEngineering#5493