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
removed onPlayerDeath trigger. Dante, wtf? authored Jul 14, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 0 additions and 12 deletions
+0 -12
  • Skills/Triggers.md Skills/Triggers.md +0 -12
  • No files found.
Skills/Triggers.md
View page @ 7f89b120
......@@ -19,7 +19,6 @@ itself.
| [onDeath](#ondeath) | When the mob dies |
| [onTimer:*#*](#ontimerticks) | Every \# ticks (where \# is the interval in ticks) |
| [onInteract](#oninteract) | When the mob is right-clicked |
| [onPlayerDeath](#onplayerdeath) | When a player dies for any reason |
| [onPlayerKill](#onplayerkill) | When the mob kills a player |
| [onEnterCombat](#onentercombat) | When the mob enters combat (requires threat tables be on) |
| [onDropCombat](#ondropcombat) | When the mob leaves combat (requires threat tables be on) |
......@@ -209,17 +208,6 @@ EXAMPLE_MOB:
- message{m=TIMER every 40 ticks (2 seconds)} @World ~onTimer:40
```
#### ~onPlayerDeath
Executes the skill when the mob kills a player.
```yml
EXAMPLE_MOB:
Type: CHICKEN
Skills:
# sends a message to all the players in the world
# when a player dies for any reason.
- message{m=A PLAYER DIED SOMEWHERE} @World ~onPlayerDeath
```
#### ~onPlayerKill
Executes the skill when the mob kills a player.
```yml
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples
Useful Skills