Btcmob NPC Distance Fact
Returns the distance between the player and the BtcMobs NPC
A fact that measures the distance between the player and the BtcMobs NPC. ## Usage Use this fact to trigger proximity-based behaviours or adjust UI elements based on how far the player is from the NPC. ## Value range Distance is rounded to the nearest block. Returns 0 when the mob cannot be found or when the mob is in a different world.
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
group | Ref<GroupEntry> | — | — |
target | btcmobnpcFactTarget | — | — |
TypeWriter 通用字段(comment)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
comment | String | — | — |