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.
Campos
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
group | Ref<GroupEntry> | — | — |
target | btcmobnpcFactTarget | — | — |
Campos comuns do TypeWriter (comment)
| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
comment | String | — | — |