Skip to content
KoryuObihiro edited this page Aug 19, 2011 · 2 revisions

Syntax: switch.$entity.wielding

Description: Switches based upon the specified entity's item in hand. Cases can be found here.

Example:

Damage: #Make axes a better weapon, and decrease the overrated power of diamond swords.
    - 'switch.attacker.wielding':
        _axe: '2'
        DIAMOND_SWORD: '-4'
Aliases:
    Item:
        axe:
            - 'WOOD_AXE'
            - 'STONE_AXE'
            - 'IRON_AXE'
            - 'GOLD_AXE'
            - 'DIAMOND_AXE'

See also: Addition

Clone this wiki locally