test authored by Phillip's avatar Phillip
...@@ -5,20 +5,19 @@ mobs skill configuration section. ...@@ -5,20 +5,19 @@ mobs skill configuration section.
IN THEM.**</u> Triggers can only be used *to activate* the meta-skill IN THEM.**</u> Triggers can only be used *to activate* the meta-skill
itself. itself.
<!--
**Table of all available triggers:** **Table of all available triggers:**
| Trigger | When it fires... | | Trigger | When it fires... |
|---------------------|--------------------------------------------------------------| |------------------------|--------------------------------------------------------------|
| onCombat | Default | | onCombat | Default |
| onAttack | When the mob hits something | | [onAttack](#~onAttack) | When the mob hits something |
| onDamaged | When the mob is damaged | | onDamaged | When the mob is damaged |
| onSpawn | When the mob spawns | | onSpawn | When the mob spawns |
| onDespawn | When the mob is despawned | | onDespawn | When the mob is despawned |
| onFirstSpawn | Triggered the first time a mob is spawned from a spawner | | onFirstSpawn | Triggered the first time a mob is spawned from a spawner |
| onLoad | When the mob is loaded (spawning or loading after a restart) | | onLoad | When the mob is loaded (spawning or loading after a restart) |
| onDeath | When the mob dies | | onDeath | When the mob dies |
| onTimer:\# | Every \# ticks (where \# is the interval in ticks) | | onTimer:*#* | Every \# ticks (where \# is the interval in ticks) |
| onInteract | When the mob is right-clicked | | onInteract | When the mob is right-clicked |
| onKill | When something kills a mob | | onKill | When something kills a mob |
| onKillPlayer | When the mob kills a player | | onKillPlayer | When the mob kills a player |
...@@ -35,7 +34,7 @@ itself. ...@@ -35,7 +34,7 @@ itself.
| onTame | When the mob gets tamed | | onTame | When the mob gets tamed |
| onBreed | When the mob breeds with another mob. | | onBreed | When the mob breeds with another mob. |
| onTrade | When the Villager completes a trade. Requires Paper | | onTrade | When the Villager completes a trade. Requires Paper |
-->
Using Triggers Using Triggers
-------------- --------------
... ...
......