weaponswap-1.1.32.jar
Curse Maven Snippet
What's new
Bug fixes and consumable compatibility: the system now automatically detects consumable items, even those from an add-on. If it fails to detect one, you can add it manually by its ID, or by holding the item in your hand and running the command `/weaponswap holditems addhand`.
New Commands:
-
/weaponswap holditems add <id>adds an item by ID, with autocomplete. Acceptsmodid:item,#modid:tag,modid:*, or the ID of an lrtactical consumable, for examplestimshot:adrenaline_stim. -
/weaponswap holditems addhandadds the item you are currently holding in your hand. -
/weaponswap holditems remove <id>,removehand,list, andclearperform their expected functions. -
/weaponswap holditems auto true|falseenables or disables automatic detection of lrtactical consumables, which is enabled by default. If it doesn't work properly for you, set it tofalseand use the list only. -
The list is saved in
weaponswap-common.toml, under[throwing]→hold_until_used.
How an item on the list behaves
-
A single tap equips it and simulates holding the use button until the item finishes being used.
-
Afterward, your weapon is restored. If you cancel by right-clicking or switching slots, your weapon is also restored.
-
It does not use the throwing delay, which was causing the stim to be interrupted halfway through its use.
-
Works with any item that is used by holding right-click (food, potions, medkits from other mods), not just lrtactical items.
This mod has no additional files

