Off hand can be controlled by binding key.offhand key binding (mouse button 4 by default). /swing mode - changes swing animation mode, possible modes: normal, inverse, random, switch, timed /swing ...