BTC Nameplate Data
Configure native text lines and an optional 3D attachment
Viewer-specific nameplate configuration applied to a Typewriter entity.
Campos
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
lines | List<String> | empty | MiniMessage lines. CraftEngine font glyphs can be used directly.Placeholders |
placeholders | Map<String, String> | empty | Additional literal replacements, written without percent signs. |
offsetY | Double | 0.5 | Base vertical offset above the entity position. |
lineSpacing | Double | 0.3 | Vertical distance between text lines. |
backgroundColor | Int | 0 | ARGB text background color. Zero is fully transparent. |
textOpacity | Int | 255 | Text opacity from 0 to 255. |
lineWidth | Int | MAX_VALUE | Maximum line width. |
craftEngineImageId | String | — | 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. |
tileWidthPx | Int | 16 | Pixel width of the tileable middle texture. |
capWidthPx | Int | 3 | Drawn (opaque) pixel width of a single left/right end cap. Must match the real artwork width — the caps are thin borders, not full tiles. |
paddingPx | Int | 10 | Extra pixels of banner width on each side of the text, beyond the two end caps. |
bannerLineCount | Int | 1 | How many of the top lines get a banner behind them. 1 keeps the banner behind the name only; 0 covers every line. |
attachment | Ref<out EntityDefinitionEntry> | — | Optional ItemDisplay, BlockDisplay, vanilla entity, or BetterModel definition. |
attachmentOffset | Vector | ZERO | Attachment offset relative to the entity position. |
attachmentScale | Double | 1.0 | Attachment scale. |
Campos comunes de TypeWriter (priorityOverride)
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
priorityOverride | Optional<Int> | — | — |