In the Crafting Grid of Refined Storage, the amount of items consumed when Shift+Click is wrong.
tetuis opened this issue ยท 5 comments
Describe the bug
(It may be difficult to understand because it is machine translation.)
When using Dimensional Storage with Refined Storage's External Storage, the amount consumed when crafting with Shift+Click is unusually low.
To Reproduce
Steps to reproduce the behavior:
- Connect the External Storage to the Dimensional Storage Actuator.
- Stores 320 coal.
- Craft the Block of Coal with Shift + click.
- You have crafted 35 Block of Coal and have 257 Coal left over.
Expected behavior
There should be 5 Coal left.
System (please complete the following information):
- Occultism Version: 1.16.5-1.26.3
- OS: Windows 10
- Minecraft Version: 1.16.5(Forge 36.2.26)
- Modpack Link and Version, or list of mods: Refined Storage 1.9.17
Additional context
none
@theboo asked me to test this out and I can confirm.
Video for some extra details: https://streamable.com/s8qxnf
The short of it: Works as expected with auto crafting and manually crafting 1 item at a time. It only appears to break if using Sneak Click to do a full stack in Refined Storage. Assuming maths are getting wonkers with the increased stack size. Also works as expected when crafting inthe actuator.
If I see this correctly, overriding extractItem
on your itemhandler should fix this. The default implementation only allows extracting a maximum of Item#maxStackSize
at once.
I've made an issue on our side too refinedmods/refinedstorage#3242