Mythicmob Kill Objective
An objective to kill MythicMobs mobs
Felder
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
quest | Ref<QuestEntry> | — | — |
fact | Ref<CachableFactEntry> | — | — |
mythicMobName | Var<String> | — | The MythicMob internal name regex to match. Leave empty to count any MythicMob. |
mobs | List<Var<String>> | empty | List of MythicMob internal names to match. If provided, mythicMobName regex is ignored. |
amount | Var<Int> | 1 | The amount of MythicMobs to kill. |
display | Var<String> | — | — |
onComplete | Ref<TriggerableEntry> | — | — |
onCompleteModifiers | List<Modifier> | empty | — |
hideObjective | Var<Boolean> | false | Whether to hide this objective from the tracking menu (scoreboard/placeholders) unless the quest is tracked. |
Gemeinsame TypeWriter-Felder (criteria, children, priorityOverride)
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
children | List<Ref<AudienceEntry>> | empty | — |
priorityOverride | Optional<Int> | — | — |
How to use it
questis the quest the objective belongs to. Progress is only counted while this quest is active for the player.factis a cachable fact that stores the number of kills.amountis the number required.mythicMobNameis a regular expression, not case-sensitive, matched against the internal name. Leave it empty to count any MythicMob.mobsis an alternative: if the list is not empty,mythicMobNameis 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.
displayis the text shown in the quest tracker;hideObjectivehides it unless the quest is tracked.onCompleteruns once when the amount is reached, andonCompleteModifiersare applied first.