Interact Mythicmob NPC Objective
Interact with a MythicMob NPC
Fields
| Field | Type | Default | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
quest | Ref<QuestEntry> | — | — | ||||||||||||||||||||||||||||||||||||||||||||||||
entity | Ref<MythicMobNpcDefinition> | — | The MythicMob NPC that the player needs to interact with.
|
| Field | Type | Default | Description |
|---|---|---|---|
displayName | Var<String> | — | — |
sound | Var<Sound> | EMPTY | — |
mobType | Var<String> | — | The MythicMob type to spawn. |
showDisplayName | Boolean | true | Whether to show the display name above the mob. |
showDisplayNameInCinematic | Boolean | true | Whether to show the display name during cinematics. |
showDisplayNameInNavigation | Boolean | true | Whether to show the display name during navigation. |
nameOffset | Double | 2.3 | Y offset for the name display above the mob. |
data | List<Ref<EntityData<*>>> | empty | — |
ticking | Boolean | false | Whether to tick the NPC for movement and updates. Off (the supported setting): a model carrier without AI, driven by Typewriter. On: a living mob with AI. Keep it off when another extension's instance, such as a dungeon NPC instance, displays this NPC: each viewer then gets a mob of their own, visible to them alone, that no instance manages. Either way a server mob exists; it is only hidden from the other players. |
clientSideRadius | Double | 0.0 | Radius in which the mob can move (requires ticking=true). If 0, movement is disabled. |
cancelInteractAnimation | Boolean | false | Whether to cancel the interact animation when a player interacts with the NPC. |
overrideDisplayOptional<Var<String>>Common TypeWriter fields (children, criteria, priorityOverride)
| Field | Type | Default | Description |
|---|---|---|---|
children | List<Ref<out AudienceEntry>> | empty | — |
criteria | List<Criteria> | empty | — |
priorityOverride | Optional<Int> | — | — |
How to use it
Set entity to the NPC definition and quest to the quest. While the objective is active, the NPC shows a ❓ marker (a ❗ when this quest is tracked), and a path stream leads the player to the nearest instance they can see. Pair it with an Interact Event that triggers the next step. overrideDisplay replaces the text; use <entity> for the NPC name.