Locked Slots not working correctly
mysteryAftermath opened this issue ยท 6 comments
Minecraft: 1.18.2
Fabric Loader: 0.14.6
Fabric API: 0.53.4
Dank Storage: 1.18.2-3.7
Locked Slots behave incorrectly when taking items out of dank.
1: Taking items out of a slot which has exactly the max stack size of an item will leave one item in the slot - Correct Behavior
2: Taking items out of a locked slot which has less then the max stack size of the item will take all of the items out of that slot - Bug
3: Hoppers, Hopper Minecarts, etc. do not respect locked slots at all - Not sure if this is intended or not
Can the changes from the Forge version be merged into Fabric?
Tfarcenim/Dank-Storage#108
Yeah, the old slot implementation was very broken so it got a rewrite, will take some time to merge the changes into fabric as they use slightly different inventory apis.
Brought over the changes from Forge which is
Items are no longer left behind, instead there is a ghost which blocks item insertions.
Respects shiftclicking, dragging and hoppers and other automation
Attempting to compress or sort the contents will unlock every slot, may change in the future