Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 144
    • Issues 144
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
  • Triggers

Triggers · Changes

Page history
- made biometype page follow general formatting authored May 31, 2022 by Phillip's avatar Phillip
- moved MythicCrucible triggers to MythicCrucible wiki
- updated targeter sorters to 5.0.4
Hide whitespace changes
Inline Side-by-side
Showing with 25 additions and 59 deletions
+25 -59
  • Skills/Triggers.md Skills/Triggers.md +25 -59
  • No files found.
Skills/Triggers.md
View page @ 8335b899
......@@ -10,65 +10,31 @@ itself.
**Table of all available triggers:**
| Trigger | When it fires... |
|-----------------------|-------------------------------------------------------------|
| onCombat | Default |
| onAttack | When the mob hits something |
| onDamaged | When the mob is damaged |
| onSpawn | When the mob spawns |
| onDespawn | When the mob is despawned |
| onFirstSpawn | Triggered the first time a mob is spawned from a spawner |
| onLoad | When the mob is loaded (spawning or loading after a restart) |
| onDeath | When the mob dies |
| onTimer:\# | Every \# ticks (where \# is the interval in ticks) |
| onInteract | When the mob is right-clicked |
| onKill | When something kills a mob |
| onKillPlayer | When the mob kills a player |
| onPlayerDeath | When a player dies for any reason |
| onEnterCombat | When the mob enters combat (requires threat tables be on) |
| onDropCombat | When the mob leaves combat (requires threat tables be on) |
| onChangeTarget | When the mob changes targets (requires threat tables be on) |
| onExplode | When the mob explodes (typically only used for creepers) |
| onTeleport | When the mob teleports (typically only used for endermen) |
| onSignal | When the mob receives a signal |
| onSignal:*[signal]* | When the mob receives a specific signal |
| onShoot | When the mob fires a projectile |
| onTame | When the mob gets tamed |
**Table of all available **MythicCrucible** triggers:**
| Trigger | When it fires... |
|-----------------------|-------------------------------------------------------------|
| 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 |
| onCrouch | When the player crouches |
| onUnCrouch | When the player stops crouching |
| onDamaged | When the player is damaged |
| onDeath | When the player dies |
| onEquip | When a player equips an armor piece. |
| onUnEquip | When a player unequips an armor piece. |
| 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 |
| onFish | When the player right-clicks while holding a fishing rod |
| onFishBite | When a fish bites the hook from a fishing rod |
| onFishCatch | When the fish latches onto the hook from a fishing rod |
| onFishGrab | When the player right-clicks while holding the fishing rod with a latched fish |
| onFishGround | When the bobber is stuck in the ground |
| onFishingReel | When the player reels in a fishing rod with no fish on the other end |
| onFishingFail | When the player fails a fish attempt due usually due to poor timing |
| onPressQ | When a player presses Q to drop the item. Requires ProtocolLib |
| onPressCtrlQ | When a player presses CTRL+Q to drop the item. Requires ProtocolLib |
| onPressF | When a player presses F to swap the item. Requires ProtocolLib |
**Mythic Crucible** is another one of our Premium Plugins which adds new triggers and allows you to create incredible custom items! You can purchase it from [here](https://mythiccraft.io/index.php?resources/crucible-create-unbelievable-mythic-items.2/)!
| Trigger | When it fires... |
|---------------------|--------------------------------------------------------------|
| onCombat | Default |
| onAttack | When the mob hits something |
| onDamaged | When the mob is damaged |
| onSpawn | When the mob spawns |
| onDespawn | When the mob is despawned |
| onFirstSpawn | Triggered the first time a mob is spawned from a spawner |
| onLoad | When the mob is loaded (spawning or loading after a restart) |
| onDeath | When the mob dies |
| onTimer:\# | Every \# ticks (where \# is the interval in ticks) |
| onInteract | When the mob is right-clicked |
| onKill | When something kills a mob |
| onKillPlayer | When the mob kills a player |
| onPlayerDeath | When a player dies for any reason |
| onEnterCombat | When the mob enters combat (requires threat tables be on) |
| onDropCombat | When the mob leaves combat (requires threat tables be on) |
| onChangeTarget | When the mob changes targets (requires threat tables be on) |
| onExplode | When the mob explodes (typically only used for creepers) |
| onTeleport | When the mob teleports (typically only used for endermen) |
| onSignal | When the mob receives a signal |
| onSignal:*[signal]* | When the mob receives a specific signal |
| onShoot | When the mob fires a projectile |
| onTame | When the mob gets tamed |
| onBreed | When the mob breeds with another mob. |
Using Triggers
--------------
......
Clone repository
  • Home
  • Changelogs
  • Premium Features
  • Commands and Permissions
  • FAQ / Common Issues
  • Mythic Add-ons
  • Compatible Plugins
  • API Information
  • Packs

Mobs

  • Overview
  • Types
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Extra: Disguises
  • Extra: ModelEngine

Skills

  • Overview
  • Mechanics
  • Effects
  • Targeters
  • Triggers
  • Conditions
  • Placeholders
  • Variables

Items & Drops

  • Drops and Drop Tables
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers

Spawning

  • Spawners
  • Random Spawns

Tutorials

  • Common Examples