MythicRPG support some MythicMobs base trigger.
You can view those by clicking here here.
Triggers
These triggers are added by MythicRPG, and are meant to be used within the features that MythicRPG implements
Trigger | When it fires... |
---|---|
onClassGain | When an archetype is gained |
onClassLoss | When an archetype is lost |
onLevelUp | When an archetype levels up |
onJoin | When the player joins the server |
onRespawn | When the player with the archetype respawns |
onSpawn | When the player with the archetype respawns after death or joins the server |
onDeath | When the player with the archetype dies |
onRightClick | When the player with the archetype right-clicks |
onInteract | When a player with the archetype interacts with a mob |
onCrouch | When the player with the archetype starts to crouch |
onUnCrouch | When the player with the archetype stops to crouch |
onShoot | When the player with the archetype shoots a projectile from a bow |
onFish | When a player is fishing, ie casting the line out |
onFishBite | Called when there is a bite on the hook and it is ready to be reeled |
onFishCatch | When a player has successfully caught a fish and is reeling it in |
onFishGrab | When a player has successfully caught an entity |
onFishGround | When a bobber is stuck in the ground |
onFishReel | When a player reels in their hook without receiving any bites |
onFishFail | When a player fails to catch a bite while fishing usually due to poor timing |
onConsume | When an item is eaten |
onPotionSplash | When a potion is splashed |
onKill | When the player with the archetype kills another entity |
onBlockBreak | When the player with the archetype breaks a block |
onBlockPlace | When the player with the archetype places a block |
onItemPickup | When the player with the archetype picks up an item |