Mythicmob NPC Distance Fact
Returns the distance between the player and the MythicMobs NPC
字段
| 字段 | 类型 | 默认值 | 描述 | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
group | Ref<GroupEntry> | — | — | ||||||||||||||||||||||||||||||||||||||||
target | MythicMobNpcFactTarget | — | —
|
| 字段 | 类型 | 默认值 | 描述 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
npc | Ref<MythicMobNpcInstance> | — | MythicMob NPC instance to inspect.
|
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
definition | Ref<MythicMobNpcDefinition> | — | — |
spawnLocation | Var<Position> | ORIGIN | —带旋转 |
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?TypeWriter 通用字段(comment)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
comment | String | — | — |