Mods / Held Item to Backpack
Category:
#QoL
Author: zatrik
Side: Both
Created: Dec 22nd 2024 at 8:27 AM
Last modified: Dec 24th 2024 at 7:02 PM
Downloads: 166
Follow Unfollow 8
Author: zatrik
Side: Both
Created: Dec 22nd 2024 at 8:27 AM
Last modified: Dec 24th 2024 at 7:02 PM
Downloads: 166
Follow Unfollow 8
Latest file for v1.20.0-rc.6:
heldtoinventory_1.0.2.zip
1-click install
I made a quick mod that transfers your held item to your backpack or offhand and stacks it if possible. The keybind for backpack is default to b and the keybind for offhand is v but is configurable in the settings. This should work on servers as well as single player.
1.0.2 Update:
- Fixed server sync with offhand swapping
- When inventory is open, you can now move or swap active item or offhand item with hovered inventory item
1.0.1 Update:
- Added a keybind to swap held item with offhand or move offhand to active slot if it's empty
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.0.2 | 90 | Dec 24th 2024 at 7:02 PM | Show | heldtoinventory_1.0.2.zip | Install now | |
v1.0.1 | 43 | Dec 22nd 2024 at 9:59 PM | Show | heldtoinventory_1.0.1.zip | Install now | |
v1.0.0 | 33 | Dec 22nd 2024 at 8:44 AM | Show | heldtoinventory_1.0.0.zip | Install now |
How does the offhand keybind from this mod differ from the vanilla swap-hands keybind?
I just came back from a Survival mining run carrying 4 leather backpacks filled (along with my main items bar) and realized that some of the items I was Shift+Clicking from killed mobs to my inventory just went... somewhere else I guess... They moved away from the mob's recovered inventory but I figured they were not matching any existing item in my inventory and just move to somewhere I couldn't recover them. Idk if there's a secret backpack where these items moved to but my inventory just doesnt show these recently acquired items. Before installing this mod today, the items would just not transfer to the player's inventory from a killed mob inventory if there was no more space available. And before you ask, no the items were not dropped on the floor either. They just go somewhere into oblivion.
I've been wanting a mod that does this for ages, this is awesome
I'm not sure if this is intended behavior, but when I press B on an item (like a spyglass from the Spyglass mod) it places it into one of the 4 bag slots, when normally this is not possible.
I actually really think this is cool, and like being able to use those slots for "gear" type stuff, at least for roleplay sake. If this is unintended I think it might be worth keeping because it kinda feels neat to have them almost as pockets as well as for bags. Maybe have a different hotkey (shift-B) to do this intentionally.
I was thinking of also adding Held Item to offhand/Swap held item with offhand. Would anyone be interested in this as well?
It's both. Clientside for the keybind and request which is handed off to the server to move the items.
is it client side?