Tanks are consumed in recipes that require buckets of fluid
NielsPilgaard opened this issue ยท 4 comments
Some crafting recipes allow inputting a tank where a bucket of some fluid would be, to enable batch-crafting of the recipe. For this to work, the tank must implement getContainerItem
, otherwise the tank will be consumed by the first craft of the recipe.
I found this issue when using one of your Fluid Tanks to craft Treated Wood from Immersive Engineering - The tank was consumed even though it had 4000 mb of Creosote Oil in it.
Also reported to the IE tracker here: BluSunrize/ImmersiveEngineering#3873
In 1.14.4? I think this problem happens in all version of my mod so I'll implement container code for 1.12.2, 1.14.4, 1.15.2.
Do you know some recipes that use bucket as fluid container? I need to check my code works fine.
- 1.12.2 -> IC2 recipe to create cooling cell
- 1.14.4 -> IE recipe to create Treated Wood
- 1.15.2 -> ???