CarryOn icon indicating copy to clipboard operation
CarryOn copied to clipboard

Very uncool bug that allows you to pick up multiple entities/containers

Open kuba26038 opened this issue 2 years ago • 4 comments

Basically, a friend of mine has a gaming mouse. This gaming mouse specifically had two additional buttons on it, which he uses to access his last two slots in his inventory. He found out that if he bound any item slot to those buttons, picked something up and clicked said button, it would switch to that button, despite him carrying an entity/storage block already.

kuba26038 avatar May 11 '22 15:05 kuba26038

Last two slots? That sounds like some other mod

Tschipp avatar May 15 '22 15:05 Tschipp

Are you saying you can't rebind the inventory slots in vanilla? By the last two slots i meant the 8th and the 9th ones

kuba26038 avatar May 18 '22 12:05 kuba26038

I see what you mean now. This is a problem that is hard to fix, because it's a non-standard input method. I can cancel the slot presses from a keyboard, but I can't do it on a mouse. So this would be hard to fix.

Tschipp avatar May 18 '22 12:05 Tschipp

it hopefully doesn't mean it's too hard for you, though. best of luck in there!

kuba26038 avatar May 18 '22 16:05 kuba26038

i've noticed the bug still exists in the newest versions. i think that we shouldn't find a way to blacklist all buttons possible, but maybe make the slot that carries the entity/container the off hand? the bug works because you can switch off of the carried object to a slot that doesn't have it, but if it's done like this, switching to other slots wouldn't cause anything buggy to happen, since the player still has the carried object stuck in their offhand. but then there's the issue of the player being able to press f to switch the selected item with the carried item, which kind of makes the idea fall apart once again since blacklisting that button would once again do technically nothing, but isn't there a way to temporarily disable the offhand switching functionality? if so, please consider finally fixing it, i had to remove the mod since my players have also found a way to duplicate items that i can't reproduce

kuba26038 avatar Jan 25 '23 10:01 kuba26038

This is fixed in all future versions 1.19.2+, because I've rewritten how carrying works. So I'm gonna close this now.

Tschipp avatar Apr 24 '23 16:04 Tschipp