Triggers [Artifacts]

Artifacts Item Skills use the same type of trigger system as MythicMobs, and includes several new triggers that are oriented towards players.

Many of these triggers are added by Artifacts and will only work with players.

Any of these triggers work with item skills when they are either equipped as armor or held in the player's hand.

Trigger When it fires…
onAttack When the player hits another entity
onBlockBreak When the player breaks a block
onBlockPlace When the player places a block
onConsume Triggered if the item is food or a potion that is eaten
onDamaged When the player is damaged
onDeath When the player dies
onInteract When the player interacts with an entity
onBowHit When a player hits an entity with an arrow
onPotionSplash Triggered if the item is a potion that was thrown
onRightClick When the player right-clicks
onShoot When the player shoots a bow
onSpawn When the player logs in or respawns
onSwing When the player left-clicks
onTimer:# Every # ticks (where # is the interval in ticks)
onUse When the player right-clicks while holding the item

artifacts/triggers.txt · Last modified: 2019/08/25 19:43 by xikage