Swing Hand Effect - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

effect: swinghand

[!WARNING] Introduced in 4.0 Beta 17.

Description:

Force an entity to swing one of their hands.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Type Default
hand mainhand or offhand mainhand

Example:

swing_hand:
    spell-class: ".instant.DummySpell"
    effects:
        swing:
          position: caster
          effect: swinghand