Zum Hauptinhalt springen

Mythicmob Kill Objective

An objective to kill MythicMobs mobs

Felder

FeldTypStandardBeschreibung
questRef<QuestEntry>——
factRef<CachableFactEntry>——
mythicMobNameVar<String>—The MythicMob internal name regex to match. Leave empty to count any MythicMob.
mobsList<Var<String>>emptyList of MythicMob internal names to match. If provided, mythicMobName regex is ignored.
amountVar<Int>1The amount of MythicMobs to kill.
displayVar<String>——
onCompleteRef<TriggerableEntry>——
onCompleteModifiersList<Modifier>empty—
hideObjectiveVar<Boolean>falseWhether to hide this objective from the tracking menu (scoreboard/placeholders) unless the quest is tracked.
Gemeinsame TypeWriter-Felder (criteria, children, priorityOverride)
FeldTypStandardBeschreibung
criteriaList<Criteria>empty—
childrenList<Ref<AudienceEntry>>empty—
priorityOverrideOptional<Int>——

How to use it​

  • quest is the quest the objective belongs to. Progress is only counted while this quest is active for the player.
  • fact is a cachable fact that stores the number of kills. amount is the number required.
  • mythicMobName is a regular expression, not case-sensitive, matched against the internal name. Leave it empty to count any MythicMob. mobs is an alternative: if the list is not empty, mythicMobName is ignored and a mob counts when its name equals one of the entries.
  • Kills by arrows, tridents or other projectiles, and by tamed pets, count for their owner.
  • display is the text shown in the quest tracker; hideObjective hides it unless the quest is tracked. onComplete runs once when the amount is reached, and onCompleteModifiers are applied first.