Recipe dependency cannot be crafted despite having enough material available
tinyrobot opened this issue ยท 14 comments
Issue type:
- ๐ Bug
Short description:
Recipe with dependency cannot be crafted due to not having enough material available, although enough material is available. Additionally the correct number of dependency items can be crafted separately.
Steps to reproduce the problem:
- Given the following recipe:
- When trying to craft 4 of the above, dependencies are said to be missing:
- When kicking off the dependent items (in this case, the plates) the correct number can be crafted:
Expected behaviour:
Parent recipe should be craftable as all dependencies are present or craftable
Versions:
- This mod: 1.0.2
- Minecraft: 1.12.2
- Forge: 14.23.5.2772
I'm sorry that this is so specific, I was unable to come up with a more generalized example.
so I have just included the .dat - if you need the whole save zipped please let me know!
Yeah, I'll need the whole world folder, .dat is not enough. Thanks!
Sorry about that :)
Creative Test World.zip
Here you go - let me know if you have any issues/there's anything else I can do! Thanks again :)
Are you sure that enough redstone is available? Because it seems that is being used for both the dependent (cross thingy) and the dependency (plate).
Yes, sorry I should have explained - the cross thing needs 4 plates and 1 red diamond (center of the recipe) - the inventory already has plenty of red diamonds available, so the only thing being crafted is the plates:
4 cross things = 16 plates + 4 red diamonds
The inventory has over a stack of red diamonds, and crafting 16 plates via the crafting terminal does work.
Interestingly it looks like the 16 plates are being split into two jobs when I look at it in the crafting job terminal (both screenshots in 2. in 'steps to replicate') - 12 plates and 4 plates - and it looks like the second job (4 plates) is what's causing the issue.
I see, thanks for the additional information.
Could you list all mods that are required for coming up with this problem? And perhaps even share your test world with all required recipes configured? That would allow me to debug the problem easier.
Absolutely, here you go - I've not shared a world before, so I have just included the .dat - if you need the whole save zipped please let me know!
ThermalExpansion-1.12.2-5.5.2.39-universal
RedstoneArsenal-1.12.2-2.6.1.15-universal
IntegratedCrafting-1.12.2-1.0.2
IntegratedDynamics-1.12.2-1.0.4
IntegratedTerminals-1.12.2-1.0.2
IntegratedTunnels-1.12.2-1.6.2-306
Dependencies:
- ThermalFoundation-1.12.2-2.6.1.22-universal
- Dependencies:
-- CoFHCore-1.12.2-4.6.1.22-universal
-- Dependencies:
--- RedstoneFlux-1.12-2.1.0.6-universal
--- CoFHWorld-1.12.2-1.3.0.6-universal - CodeChickenLib-1.12.2-3.2.2.353-universal
Thanks for looking into this!
Alright, after a lot of trouble I've managed to reproduce this case in my unit tests. This will make debugging this a lot more convenient. But that's something for tomorrow.
That's great, thanks @rubensworks! In future, is there more I could be doing to provide a better bug report/conditions to reproduce something like this?
No, nothing should be changed at all, what you reported here was great!
Ideally, a use case that is reproducible with only cyclops mods would be ideal, but not really feasible in cases like this.
Note to self: the second usage of redstone seems to be ignoring the storage contents, but is instead using the quantity that was used during the last redstone consumption.
Status update:
Part of this issue has (finally) been fixed, namely the incorrect dependency amounts in the crafting plan for a single plating.
The fix for 4 platings should be related. I'll look into this tomorrow.