| onAttack | When the player hits another entity |
| [onAttack](/../../../MythicMobs/-/wikis/Skills/Triggers/onAttack) | When the player hits another entity |
| onConsume | Triggered if the item is food or a potion that is eaten |
| onConsume | Triggered if the item is food or a potion that is eaten |
| onCrouch | When the player crouches |
| onCrouch | When the player crouches |
| onUnCrouch | When the player stops crouching |
| onUnCrouch | When the player stops crouching |
| onDamaged | When the player is damaged |
| [onDamaged](/../../../MythicMobs/-/wikis/Skills/Triggers/onDamaged) | When the player is damaged |
| onDeath | When the player dies |
| [onDeath](/../../../MythicMobs/-/wikis/Skills/Triggers/onDeath) | When the player dies |
| onEquip | When a player equips an armor piece. |
| onEquip | When a player equips an armor piece. |
| onUnEquip | When a player unequips an armor piece. |
| onUnEquip | When a player unequips an armor piece. |
| onInteract | When the player interacts with an entity |
| [onInteract](/../../../MythicMobs/-/wikis/Skills/Triggers/onInteract) | When the player interacts with an entity |
| onBowHit | When a player hits an entity with an arrow |
| [onBowHit](/../../../MythicMobs/-/wikis/Skills/Triggers/onBowHit) | When a player hits an entity with an arrow |
| onPotionSplash | Triggered if the item is a potion that was thrown |
| onPotionSplash | Triggered if the item is a potion that was thrown |
| onRightClick | When the player right-clicks |
| onRightClick | When the player right-clicks |
| onShoot | When the player shoots a bow |
| [onShoot](/../../../MythicMobs/-/wikis/Skills/Triggers/onShoot) | When the player shoots a bow |
| onSpawn | When the player logs in or respawns |
| [onSpawn](/../../../MythicMobs/-/wikis/Skills/Triggers/onSpawn) | When the player logs in or respawns |
| onSwing | When the player left-clicks |
| onSwing | When the player left-clicks |
| onTimer:# | Every # ticks (where # is the interval in ticks) |
| [onTimer:#](/../../../MythicMobs/-/wikis/Skills/Triggers/onTimer) | Every # ticks (where # is the interval in ticks) |
| onUse | When the player right-clicks while holding the item |
| onUse | When the player right-clicks while holding the item |
| onFish | When the player right-clicks while holding a fishing rod |
| onFish | When the player right-clicks while holding a fishing rod |
| onFishBite | When a fish bites the hook from a fishing rod |
| onFishBite | When a fish bites the hook from a fishing rod |
...
@@ -60,11 +60,11 @@ All these triggers can be used with [Furnitures](/Furniture)
...
@@ -60,11 +60,11 @@ All these triggers can be used with [Furnitures](/Furniture)
| onBlockPlace | When the furniture is placed |
| onBlockPlace | When the furniture is placed |
| onBlockBreak | When the furniture is broken |
| onBlockBreak | When the furniture is broken |
| onBlockRotate | When the furniture is rotated |
| onBlockRotate | When the furniture is rotated |
| onDamaged | When the furniture is punched |
| [onDamaged](/../../../MythicMobs/-/wikis/Skills/Triggers/onDamaged) | When the furniture is punched |
| onFurnitureStateChange | When the furnitures state changed. This is triggered every time the [SetFurnitureState](/Skills/Mechanics/setfurniturestate) mechanic is used, even if the state stays the same. |
| onFurnitureStateChange | When the furnitures state changed. This is triggered every time the [SetFurnitureState](/Skills/Mechanics/setfurniturestate) mechanic is used, even if the state stays the same. |
| onFurnitureInventoryOpen | When the [Furniture Inventory](/Skills/Mechanics/furnitureinventory) is opened |
| onFurnitureInventoryOpen | When the [Furniture Inventory](/Skills/Mechanics/furnitureinventory) is opened |
| onFurnitureInventoryClose | When the [Furniture Inventory](/Skills/Mechanics/furnitureinventory) is closed |
| onFurnitureInventoryClose | When the [Furniture Inventory](/Skills/Mechanics/furnitureinventory) is closed |
| onInteract | When a player right clicks the furniture |
| [onInteract](/../../../MythicMobs/-/wikis/Skills/Triggers/onInteract) | When a player right clicks the furniture |
| onPaint | When a paintbrush is used on a furniture |
| onPaint | When a paintbrush is used on a furniture |
| [onTimer:#](/../../../MythicMobs/-/wikis/Skills/Triggers/onTimer) | Every X ticks |
| [onTimer:#](/../../../MythicMobs/-/wikis/Skills/Triggers/onTimer) | Every X ticks |