FTBTeam / FTB-Modpack-Issues

Any and all FTB Modpack issues are here! Please create a new issue, add to an existing one or maybe even suggest a feature in the discussions
https://feed-the-beast.com/modpack
40 stars 11 forks source link

ID autocrafting sometimes doesn't detect required ingredients if the required amount surpasses one stack #5665

Open Pmasterbig opened 1 month ago

Pmasterbig commented 1 month ago

Modpack

FTB NeoTech

Modpack version

1.7.0.

Has the pack been modified

No

Log Files

No response

Describe the bug

There are certain recipes that I incorporated into an ID autocrafting network that I'm only allowed to do if in small amounts. Typically the issue will involve recipes that require rubber sheets, although I'm not sure if those are the only ones causing problems. If for example, I want to craft 32 analog circuit boards, it works just fine, but if I want to craft 32, it doesn't allow me to because it says I'll be missing 2 rubber sheets, even though this isn't at all true. Same thing would happen with tin/electrum cables, etc. But in that case it's even worse, since each recipe requires 6 rubber sheets, which makes it so that I can only craft batches of 10 at a time.

Steps to reproduce

Setup an ID autocrafting setup with a recipe that involves rubber sheets. Ask the system to craft a big enough amount so that more than one stack of rubber sheets would have to be used. The interface should tell you that you don't have enough of them, even if you do.

Expected behaviour

I expect the auto-crafting to just be allowed instead of saying I didn't have enough rubber sheets.

Screenshots

FTB NeoTech 23_08_2024 15_21_55 FTB NeoTech 23_08_2024 15_22_15 FTB NeoTech 23_08_2024 15_21_30

Additional information

I had opened an issue very similar to this one about a week ago, but then I closed it since I realized there had been a mistake on my part. Specifically, I had the required resources stored in a different channel than the crafting channel that was being used. However, that's not the case here. The crafting channel is 1 and the storage channel is also 1, and as you can see on the last screenshot, I have more than enough rubber sheets stored in channel 1 (and they're not fake duplicates either, they're only being counted once).

Ajikozau commented 1 week ago

This is an issue with how Minecraft handles stacks and the way Refined Storage works. The only solution is to put things into a chest instead of a barrel.