forked from ModDamage/ModDamage
-
Notifications
You must be signed in to change notification settings - Fork 0
Conditional: Wielding
ricochet1k edited this page Jul 1, 2012
·
1 revision
Syntax: {entity}.[is]wielding.{item}
Description: Is true if the specified entity is a player and the item in hand matches the alias provided.
Example:
Damage: #Grant axe-users MORE POWER, make Diamond blocks an interesting defensive tactic.
- 'if attacker.wielding._axe': '+2'
- 'if target.wielding.DIAMOND_BLOCK': '2'
- 'if target.wielding.DIAMOND_SWORD,DIAMOND_HOE,DIAMOND_SPADE': '-1'
Aliases:
Item:
axe:
- 'WOOD_AXE'
- 'STONE_AXE'
- 'IRON_AXE'
- 'GOLD_AXE'
- 'DIAMOND_AXE'See also: Value Change