This is a simple mod with two main features:
The first feature is a hotkey to quickly get a shield (configured by default to the vanilla shield or the Tinkers Construct battlesign) anywhere out of your inventory and put it in your off hand. That way you can get the shield into that slot quickly in case of emergency. This key is assigned to \ (backslash) by default.
The second feature is the ability to remember and restore up to three hotbar+offhand configurations. For example, if you have a goot hotbar and offhand for mining and building then you put everything you want in your hotbar and (for example) torches in your offhand. Then you press ctrl-numpad7 to remember this setup. In addition if you want to fight you prefer a shield in your offhand and a sword and bow in your hotbar. Configure that and press ctrl-numpad8 to remember that. Now you can quickly switch between these two sets by pressing numpad7 or numpad8.
You are free to use this mod in modpacks without restrictions
What's the chance of a 1.12 update for this?
Handful mod! But I got an issue - text in controls config window is missed i.e. shown as "key.categories.combathelp" and so on.
combathelp-1.1x-1.1.1
I installed CompatLayer but it still says it wants Minecraft 1.11.2.
Yep that fixed it. Thank you!
Nice! Is this mod Client side only, Server side only, or do both require it?
Could you make it possible to empty the offhand slot with a hotkey. Kaishi's Weapon Pack has swords that are only effective with an empty offhand so maybe you could make a hotkey that can quickly empty the offhand and place the item in the hotbar/inventory. It would be even better if I could replace items like rotten flesh, bones, dirt, or cobblestone with the offhand item if my inventory was full. Thanks so much!
Can you make it so I can empty the offhand slot with a hotkey and the item goes into my hotbar/inventory. I want to do that because I am using this mod with Kaishi's Weapon Pack and some of his weapons are only effective with an empty offhand. I love the mod but this is the one thing I wish I could do. Also, could it be possible to empty the offhand and replace a useless item in my inventory if it is full? Thanks so much!
Somehow, I can't get shield swapping to work with CombatHelp 1.9.0-1 on Forge 12.16.1.1907, even with no other mods installed, in single player.
I've tried both shields and battlesigns, with nothing and with a torch in my offhand, with the shield on my hotbar or in my inventory, with the default '\' key or with 'z'
Hotbar configuration saving/loading does work, however.
I've tried changing it to 'z', which is not bound to anything else, and it still doesn't work.
Error with a beta mod I'm trying to run. Looks like your mod causing it, but I may be wrong. If so, just let me know and I'll post it over there.
Crash report:
---- Minecraft Crash Report ----
WARNING: coremods are present:
LoadingPlugin (Quark-beta-21.jar)
FldLoadingPlugin (FastLeafDecay-MC1.9.4-1.7.jar)
MDECore-Core (mdecore-1.9.4-1.0.jar)
FMLPlugin (InventoryTweaks-1.61-dev-53.jar)
Reborn Core ASM (RebornCore-1.9.4-2.4.3.32-universal.jar)
Contact their authors BEFORE contacting forge
// Uh... Did I do that?
Time: 5/30/16 10:25 AM
Description: Ticking memory connection
java.lang.ClassCastException: mcjty.combathelp.properties.PlayerInventoryStore cannot be cast to matteroverdrive.entity.android_player.AndroidPlayer
at matteroverdrive.entity.player.MOPlayerCapabilityProvider.GetAndroidCapability(MOPlayerCapabilityProvider.java:30)
at matteroverdrive.handler.PlayerEventHandler.onPlayerLoadFromFile(PlayerEventHandler.java:156)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_26_PlayerEventHandler_onPlayerLoadFromFile_LoadFromFile.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraftforge.event.ForgeEventFactory.firePlayerLoadingEvent(ForgeEventFactory.java:253)
at net.minecraft.world.storage.SaveHandler.func_75752_b(SaveHandler.java:225)
at net.minecraft.server.management.PlayerList.func_72380_a(PlayerList.java:322)
at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:112)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:240)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:53)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:189)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:730)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:611)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:239)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:469)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
at matteroverdrive.entity.player.MOPlayerCapabilityProvider.GetAndroidCapability(MOPlayerCapabilityProvider.java:30)
at matteroverdrive.handler.PlayerEventHandler.onPlayerLoadFromFile(PlayerEventHandler.java:156)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_26_PlayerEventHandler_onPlayerLoadFromFile_LoadFromFile.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraftforge.event.ForgeEventFactory.firePlayerLoadingEvent(ForgeEventFactory.java:253)
at net.minecraft.world.storage.SaveHandler.func_75752_b(SaveHandler.java:225)
at net.minecraft.server.management.PlayerList.func_72380_a(PlayerList.java:322)
at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:112)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:240)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:53)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:189)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287)
-- Ticking connection --
Details:
Connection: net.minecraft.network.NetworkManager@38ef01ce
Stacktrace:
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:730)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:611)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:239)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:469)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.9.4
Operating System: Mac OS X (x86_64) version 10.11.5
Java Version: 1.8.0_74, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1961227312 bytes (1870 MB) / 2838495232 bytes (2707 MB) up to 5726797824 bytes (5461 MB)
JVM Flags: 1 total; -Xmx6G
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
FML: MCP 9.28 Powered by Forge 12.17.0.1935 Optifine OptiFine_1.9.4_HD_U_B4 43 mods loaded, 42 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.9.4-12.17.0.1935-1.9.4.jar)
UCHIJAAAA Forge{12.17.0.1935} [Minecraft Forge] (forge-1.9.4-12.17.0.1935-1.9.4.jar)
UCHIJAAAA cei{1.2} [Chunk Edge Indicator] (1.9.4-chunkedgeindicator-1.2.jar)
UCHIJAAAA bagginses{2.4.2} [Bagginses] (Bagginses-1.9.4-2.4.2.jar)
UCHIJAAAA Chameleon{1.9-2.1.4} [Chameleon] (Chameleon-1.9-2.1.4.jar)
UCHIJAAAA chiselsandbits{10.2} [Chisels & Bits] (chiselsandbits-10.2.jar)
UCHIJAAAA combathelp{1.0.0} [Combat Help] (combathelp-1.9.4-1.0.0.jar)
UCHIJAAAA craftablenametags{1.2} [Craftable Name Tags] (craftablenametags-1.2.jar)
UCHIJAAAA fastleafdecay{1.6} [Fast Leaf Decay] (FastLeafDecay-MC1.9.4-1.7.jar)
UCHIJAAAA clayspawn{6.0.0.7} [Fire's Clay Spawn] (FiresClaySpawn-6.0.0.7.jar)
UCHIJAAAA clayspawnvc{3.2} [Fire's Clay Spawn Version Checker] (FiresClaySpawn-6.0.0.7.jar)
UCHIJAAAA fluxducts{1.0.3} [Flux Ducts] (fluxducts-mc1.9.4-1.0.3.jar)
UCHIJAAAA furnus{1.80} [Furnus] (Furnus-1.9.4-1.80.jar)
UCHIJAAAA hopperducts{1.4.7} [Hopper Ducts] (hopperducts-mc1.9.4-1.4.7.jar)
UCHIJAAAA inventorytweaks{1.61-dev-53-0736dc3} [Inventory Tweaks] (InventoryTweaks-1.61-dev-53.jar)
UCHIJAAAA japta{1.5.2} [JAPTA] (JAPTA-1.9.4-1.5.2.jar)
UCHIJAAAA JEI{3.4.0.204} [Just Enough Items] (jei_1.9.4-3.4.0.204.jar)
UCHIJAAAA journeymap{1.9.4-5.2.0} [JourneyMap] (journeymap-1.9.4-5.2.0-unlimited.jar)
UCHIJAAAA k4lib{1.9.4-1.0.5} [K4Lib] (k4lib-1.9.4-1.0.5-universal.jar)
UCHIJAAAA lteleporters{1.1.2} [Lemon's Simple Teleporters] (LemonsSimpleTeleporters-1.1.2-MC1.9.4.jar)
UCHIJAAAA llor{1.0.7-mc1.9.4} [Light Level Overlay Reloaded] (LLOverlayReloaded-1.0.7-mc1.9.4.jar)
UCHIJAAAA mo{0.4.3} [Matter Overdrive] (MatterOverdrive-1.9.4-0.4.4-build-52.jar)
UCHIJAAAA mdecore{1.9.4-1.0} [MattDahEpic Core] (mdecore-1.9.4-1.0.jar)
UCHIJAAAA morefuelsmod-1.9.4{1.3.2} [More Fuels Mod] (morefuelsmod-1.9.4-v1.3.2.jar)
UCHIJAAAA Morpheus{1.9.4-3.1.3} [Morpheus] (Morpheus-1.9.4-3.1.3.jar)
UCHIJAAAA notenoughwands{1.3.3} [Not Enough Wands] (notenoughwands-1.9.4-1.3.3.jar)
UCHIJAAAA ObsidianPlates{1.1.1} [Obsidian Plates] (ObsidianPlates-1.1.1_1.9.4.jar)
UCHIJAAAA progressiveautomation{1.6.46} [Progressive Automation] (ProgressiveAutomation-1.9.4-1.6.46.jar)
UCHIJAAAA Psi{beta-33} [Psi] (Psi-beta-33.jar)
UCHIJAAAA Quark{beta-21} [Quark] (Quark-beta-21.jar)
UCHIJAAAA reborncore{2.4.3.32} [RebornCore] (RebornCore-1.9.4-2.4.3.32-universal.jar)
UCHIJAAAA rftools{4.50} [RFTools] (rftools-1.9.4-4.50.jar)
UCHIJAAAA AS_Ruins{16.1} [Ruins Spawning System] (Ruins-1.9.4.jar)
UCHIJAAAA shadowmc{3.3.5} [ShadowMC] (ShadowMC-1.9.4-3.3.5.jar)
UCHIJAAAA SimpleDimensions{1.3} [Simple Dimensions] (SimpleDimensions-MC1.9.4-1.3.jar)
UCHIJAAAA SleepingBag{1.2.0} [Sleeping Bag] (SleepingBag-1.9.4-1.2.0.jar)
UCHIJAAAA StorageDrawers{1.9-3.1.7} [Storage Drawers] (StorageDrawers-1.9-3.1.7.jar)
UCHIJAAAA techreborn{1.2.3.76} [TechReborn] (TechReborn-1.9.4-1.2.3.76-universal.jar)
UCHIJAAAA telepacks{1.9.4-1.0} [TelePacks] (telepacks-1.9.4-1.0.jar)
UCHIJAAAA AS_UpdateCheck{1.1.7} [AtomicStryker Update Check Mod] (UpdateCheckerMod-1.9.4.jar)
UCHIJAAAA Waila{1.7.0} [Waila] (Waila-1.7.0-B3_1.9.4.jar)
UD mdecore-core{1.0} [MDE Core - ASM Tweaks] (minecraft.jar)
Loaded coremods (and transformers):
LoadingPlugin (Quark-beta-21.jar)
vazkii.quark.base.asm.ClassTransformer
FldLoadingPlugin (FastLeafDecay-MC1.9.4-1.7.jar)
com.olafski.fastleafdecay.FldTransformer
MDECore-Core (mdecore-1.9.4-1.0.jar)
com.mattdahepic.mdecore.asm.TickrateTransformer
FMLPlugin (InventoryTweaks-1.61-dev-53.jar)
invtweaks.forge.asm.ContainerTransformer
Reborn Core ASM (RebornCore-1.9.4-2.4.3.32-universal.jar)
reborncore.asm.RebornClassTransformer
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
OptiFine Version: OptiFine_1.9.4_HD_U_B4
Render Distance Chunks: 16
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 2.1 ATI-1.42.11
OpenGlRenderer: AMD Radeon R9 M370X OpenGL Engine
OpenGlVendor: ATI Technologies Inc.
CpuCount: 8
Thanks,
I just wanted to check because removing your mod fixed the issue. I'll let them know.
really nice.
nice mod, good job sir.
may i sugest an option to switch chest armor to elytra from inventory ?
Will it swap back if I tap backspace again?
Will it place shield back into inventory, if shield slot was empty?
I have no knowledge about how modding works with minecraft, but could not you save a reference to the current item on the offhand, and when the key is pressed again you just swap back to it, that is, if it is still in the player inventory.