Saltar al contenido principal

BTC Nameplate Data

Configure native text lines and an optional 3D attachment

Viewer-specific nameplate configuration applied to a Typewriter entity.

Campos

CampoTipoPredeterminadoDescripción
linesList<String>emptyMiniMessage lines. CraftEngine font glyphs can be used directly.Placeholders
placeholdersMap<String, String>emptyAdditional literal replacements, written without percent signs.
offsetYDouble0.5Base vertical offset above the entity position.
lineSpacingDouble0.3Vertical distance between text lines.
backgroundColorInt0ARGB text background color. Zero is fully transparent.
textOpacityInt255Text opacity from 0 to 255.
lineWidthIntMAX_VALUEMaximum line width.
craftEngineImageIdString—CraftEngine image asset id PREFIX for a banner background drawn behind each line. The service looks up '<prefix>_left', '<prefix>_middle' and '<prefix>_right' (3-slice banner, see craftengine/nameplates/). Empty means no background, text only. Entities that render their own nameplate (BetterModel, BTC mobs) get the banner folded into the same string instead of a second display.
tileWidthPxInt16Pixel width of the tileable middle texture.
capWidthPxInt3Drawn (opaque) pixel width of a single left/right end cap. Must match the real artwork width — the caps are thin borders, not full tiles.
paddingPxInt10Extra pixels of banner width on each side of the text, beyond the two end caps.
bannerLineCountInt1How many of the top lines get a banner behind them. 1 keeps the banner behind the name only; 0 covers every line.
attachmentRef<out EntityDefinitionEntry>—Optional ItemDisplay, BlockDisplay, vanilla entity, or BetterModel definition.
attachmentOffsetVectorZEROAttachment offset relative to the entity position.
attachmentScaleDouble1.0Attachment scale.
Campos comunes de TypeWriter (priorityOverride)
CampoTipoPredeterminadoDescripción
priorityOverrideOptional<Int>——