tModLoader

tModLoader

340 ratings
Off Hand Slot
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod Side: Both
tModLoader Version: 1.4.4
File Size
Posted
Updated
241.336 KB
20 Jul, 2024 @ 8:12am
17 Jan @ 1:50pm
37 Change Notes ( view )

Subscribe to download
Off Hand Slot

Description
What does this mod do?
It adds a new slot below your inventory, where you can place an item that will be used when holding the mod's 'Use offhand Item' keybind(RMB). It also allows manually swapping between the selected hotbar slot's item and offhand, to use it without the quick-use keybind.

Want to place blocks with one hand and hammer with the other? No problem! Maybe dig them up while placing them? That also works. Or you can use 2 different weapons!

Summoners, ever thought of having a convenient one click speed buff whip?

Features

Effortless Whip Stacking!



Configurable keybinds! (you MUST set them in controls!):

1. Keybind that uses offhand item (Default RMB). Don't use Mouse1(LMB) as the custom keybind.

2. Keybind that manually swaps items from current hotbar slot to offhand and vice-versa (Default Q, since few other mods use this key): very useful if you disable above keybind for usage of dual-function items.


Configurable slot position! You can open the mod configuration page and enable the dragging option to move the slot around with your mouse, keep in mind the position is separate for inventory open/closed.

You can also apply an offset afterwards for fine tuning, enter a number and it will apply when you save. The number resets to 0 on save so you can offset as many times as you need.

Resetting position can be done by using "Restore Defaults" in the mod's config page.


Item prioritization: a feature which allows you to select certain items which will block the offhand from being quick-used while holding them(manual swap 'Q' still works), useful for things like the Grand Design which requires a right click to change the mode, as well as many modded weapons.

This only applies if your 'Use Offhand Item' keybind is set to Mouse2(RMB).


If you want to use weapons with 2 different attacks, keeping offhand empty or adding the item to the prioritized items list will allow your hotbar items to utilize both buttons.

You can also rebind 'Use Offhand Item' to something other than Mouse2(RMB) to allow main hand's 2 functions to work. If you UNBIND it, you can use the 'Swap Offhand' keybind to manually swap whenever desired.


Bug Reports

Known Issues and Planned Features [github.com]

if an item doesn't work as intended or if you have any suggestions, leave a comment on the workshop or its discussion threads.

Calamity gimmick swords obviously won't work if your Mouse2(RMB) is taken up by this mod. Rebind it to something else or put the problematic weapons in the priority list if you want to use those.

Links

Source Code [github.com]
abluescarab's Custom Slot Library [github.com]


Please leave a rating! It makes me very happy and keeps me motivated <3

Special thanks to:
- Kit for helping with code and Russian workshop translation and localization
- yumyum86 for Japanese workshop translation
- ELPIAS for Korean workshop translation
- KonoLoserDa for Italian localization
- tModLoader's developer community
Originally posted by tModLoader OffHandidiotmod:
Developed By Cat
Popular Discussions View All (2)
13
26 Jun @ 5:35am
PINNED: Feature Requests and Suggestions Thread
cat
8
29 Jun @ 6:04am
PINNED: Bug Report Thread
cat
179 Comments
Corrupted Slime 28 Jul @ 1:19am 
Crucial mod. I also have place torch on MMB from ExtraHotkeys mod.
Ryuen 23 Jul @ 6:30pm 
你好作者,我发现把镐子类物品放到附手上会导致不能正常替换方块,这可能是一个bug,其他识别背包里的物品生效的模组也有同样的问题。
hokucide 22 Jul @ 2:21pm 
hey. the offhand function works really well with midas gun from calamity, letting you throw coins on slow tap and following with a gunshot if you spam RMB. I was wondering if something similar can be done with brand of inferno to use its parry without swinging the sword instead.
cat  [author] 25 Jun @ 12:19pm 
can you tell me what happened before you got it?
peanutman 25 Jun @ 8:00am 
hey uh wth is code 388? it just popped up in my games chat.
cat  [author] 15 Jun @ 2:33am 
it is simply not the goal of this mod
Immortal Zeki 14 Jun @ 10:11pm 
is this like a 1.3 dual wielding mod successor? That mod had it so you could use both at once along with a whole row for each slot in hot-bar, it seems like that is not the case for this mod. Is that not possible with the differences between 1.3 and 1.4 or just not the goal of this mod?
Eevee_Gamer 14 Jun @ 8:16am 
kit cat .... the devs are kitcat KITCAT
闪光 Vikendi 27 May @ 12:56am 
Setting it to keyboard F feels like a very good setting. This module is really great! Thank you very much! "Points go to cv<"
Haite 7 May @ 9:46pm 
Game changing. Reason being, it's so good to have a weapon for close range, and another for long. It's a bit clunky to do it without this mod.