Skip to main content

btcmob_npc_definition

A BtcMob that can be used as an NPC — entity entry.

Entry Information

PropertyValue
Entry IDbtcmob_npc_definition
TypeEntity
ColorOrange
Iconfa6-solid:dragon

Fields

FieldTypeDescription
mobTypeVar<String>The BtcMob type to spawn.
showDisplayNameBooleanWhether to show the display name above the mob.
showDisplayNameInCinematicBooleanWhether to show the display name during cinematics.
showDisplayNameInNavigationBooleanWhether to show the display name during navigation.
nameOffsetDoubleY offset for the name display above the mob.
tickingBooleanWhether to tick the NPC for movement and updates.
clientSideRadiusDoubleRadius in which the mob can move (requires ticking=true). If 0, movement is disabled.
cancelInteractAnimationBooleanWhether 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