btcmob_npc_definition
A BtcMob that can be used as an NPC — entity entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | btcmob_npc_definition |
| Type | Entity |
| Color | Orange |
| Icon | fa6-solid:dragon |
Fields
| Field | Type | Description |
|---|---|---|
mobType | Var<String> | The BtcMob type to spawn. |
showDisplayName | Boolean | Whether to show the display name above the mob. |
showDisplayNameInCinematic | Boolean | Whether to show the display name during cinematics. |
showDisplayNameInNavigation | Boolean | Whether to show the display name during navigation. |
nameOffset | Double | Y offset for the name display above the mob. |
ticking | Boolean | Whether to tick the NPC for movement and updates. |
clientSideRadius | Double | Radius in which the mob can move (requires ticking=true). If 0, movement is disabled. |
cancelInteractAnimation | Boolean | Whether to cancel the interact animation when a player interacts with the NPC. |
Usage Example
- entry: btcmob_npc_definition
name: "A BtcMob that can be used as an NPC"
mobType: ""
showDisplayName: false
showDisplayNameInCinematic: false
showDisplayNameInNavigation: false
nameOffset: 0
ticking: false
clientSideRadius: 0
cancelInteractAnimation: false