Mythicmob NPC Distance Fact
Returns the distance between the player and the MythicMobs NPC
Fields
| Field | Type | Default | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
group | Ref<GroupEntry> | — | — | ||||||||||||||||||||||||||||||||||||||||
target | MythicMobNpcFactTarget | — | —
|
| Field | Type | Default | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
npc | Ref<MythicMobNpcInstance> | — | MythicMob NPC instance to inspect.
|
| Field | Type | Default | Description |
|---|---|---|---|
definition | Ref<MythicMobNpcDefinition> | — | — |
spawnLocation | Var<Position> | ORIGIN | —With rotation |
data | List<Ref<EntityData<*>>> | empty | — |
activity | Ref<out EntityActivityEntry> | — | — |
group | Ref<out GroupEntry> | — | — |
secondaryOffset | Vector | {"x":0.0,"y":0.0,"z":0.0} | Offset (X, Y, Z) for the secondary focus point (automatically created with empty text) |
radiusDouble?Common TypeWriter fields (comment)
| Field | Type | Default | Description |
|---|---|---|---|
comment | String | — | — |