跳到主要内容

On Mythic Mob Loot

When a player loots an item from a MythicMob

字段

字段类型默认值描述
mobNameString—Only trigger when a specific MythicMob dies. Leave empty to match any mob.正则表达式
itemVar<Item>—Only trigger when a specific item is looted. Leave empty to match any item.
minLevelVar<Int>0Only trigger when the mob is at or above this level. Leave at 0 to ignore level.
TypeWriter 通用字段(triggers)
字段类型默认值描述
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

The event fires when a player kills a MythicMobs mob and the drops match.

  • mobName is a regular expression matched, ignoring case, against the whole MythicMobs internal name. Use Skeleton.* for every mob starting with Skeleton. Empty matches any mob.
  • item only fires when the drops contain a similar item. Leave it empty to accept any drop.
  • minLevel ignores mobs below this level. 0 disables the check.
  • The triggered entries receive context values for the looted item, its name, material and amount, and for the mob name, display name and level. The item name is the custom name (or item_name) of the item, or the item type's name in each player's language when it has none. The mob display name is the one of the spawned mob, then the one set on its MythicMobs type, then its internal name. Both are written as MiniMessage text.