Tutorials/Dual wielding

This tutorial will help you become familiar with Dual Wielding, a mechanic added in 15w31a. For this tutorial, keep in mind that in the 1.9 snapshots, there will be an option to switch your main hand. Before 1.9, it was always your right hand.

Summary

 * Players can now use both hands at the same time to do different actions with the left and right mouse buttons.
 * For example, if a player has a pickaxe in his/her main hand and a torch in their other hand, right clicking will place the torch.
 * This happens because because a pickaxe lacks a right click use, and therefore the game tries to then treat the other item as if it's being right clicked.
 * The player cannot click both buttons at the same time.
 * This is achieved through an extra inventory slot called the "offhand" slot.
 * Pressing (by default) will switch whatever item is selected in the hotbar with the item in the offhand (including no item).
 * The offhand slot is displayed next to the hotbar when it's not empty (left for right-hand players and vice versa).
 * It's available on the main inventory screen.
 * It is distinguished by an outline of a shield like symbol.
 * Only the main hand can be used for attacking.
 * An exception is items which do damage upon them, such as bows or splash potions.
 * Bows determine their arrow type based on the off-hand.
 * Arrows in the offhand take priority over arrows in any other slot.
 * If the bow is in the off-hand, the selected hotbar slot takes priority
 * If there are multiple arrow types and none in the off-hand or selected hotbar slot, the arrow closest to inventory slot 0 will shoot first
 * The offhand model is invisible in first person view while it's empty.
 * Some attributes and enchantments will apply to the offhand item, while others will not.

What is it?
Dual wielding is when you hold two things, one in each hand. In the inventory, there is a new slot. It is called the off-hand slot, and looks like a shield. When you put something in it, you are now holding two things. For easy equipping to the off-hand slot, press by default. It is changeable in the settings. Using this, you can put something in the off-hand slot, switch the items in your hands, and put something in the main hand from the off-hand. You can see what is in your off-hand by a little box that pops up beside the hotbar. It will be on the opposite side from the main hand

Limitations
The main hand always takes priority when trying to use an item. This means that the main hand will be the only thing to be able to break/attack, which defaults to left click. This means that you cannot use weapons in the offhand (Exception: Bows). If the item in the main hand lacks a use item (defaults to right click) use, the offhand will use right click. For example, if you had a Pickaxe in your main hand and a torch in your offhand, you could mine with the pickaxe and place torches when needed, without switching.

Things to note

 * You can only use one sword at a time in your inventory.
 * Arrows in the offhand always take priority over arrows in the inventory.
 * Otherwise, the closest stack of arrows to slot 0 is used.

Uses

 * Mining
 * Pickaxe in main hand
 * Torch in offhand
 * Pillaring up
 * Ladders in main hand
 * Blocks in offhand
 * Planting crops
 * Seeds in main hand
 * Bonemeal in offhand
 * Starting a farm
 * Hoe in main hand
 * Seeds in offhand
 * Fighting
 * Sword in main hand with shield in offhand
 * Sword in mainhand with bow in offhand
 * Quiver
 * Bow in main hand and arrows in offhand
 * Or Bow in offhand and arrows in hotbar
 * Building bridges
 * Tunneling in the nether with a block in the offhand
 * Destruction: TNT in main hand, flint and steel in offhand (Go around your target right-clicking, and when you run out of TNT you'll proceed to ignite it all)

Zweihandsystem