TheRedBrain / rpg-inventory

MIT License
1 stars 0 forks source link

Offhand for utility #19

Open shoverno2 opened 1 month ago

shoverno2 commented 1 month ago

This mod disables both vanilla hands swap and offhand usage. It would be fine, if it wouldn't affect non combat gameplay so much. With offhand it's possible to place blocks, hold map, etc. Besides, some mods requiring offhand for some items special usage.

Maybe, vanilla offhand should be enabled, so players will be able to use it for various utility.

TheRedBrain commented 1 month ago

Hi!

Thank you for the feedback!

The mod is designed for RPG gameplay primarily, which is why the non combat offhand features were disabled in favour of a smooth combat experience. With that said, the "are_hand_items_restricted_to_item_tags" option in the server config disables the hand slot restriction when set to true. However I recommend to use the "intended" way and use the item tags that control which items can be placed into the slots. Put items, that need to be in the offhand, into the "offhand_items" item tag. Mainhand items go into the "hand_items" tag.

Items like blocks, potions, etc should be used from the hot bar. (Sheathing the hand items gives access to the hot bar!)

If your problem can't be solved by these methods, please let me know!