TextComponent - Object Text Component (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.13.1
Syntax
object text component [with atlas %-string% [and]] with sprite %string%Description
Create a text component using an atlas/sprite or a player head. The atlas is optional and will default to the "minecraft:blocks" atlas. Requires Minecraft 1.21.9+ See [**Text Component Format on McWiki**](https://minecraft.wiki/w/Text_component_format#Object) for more information. See [**Atlas on McWiki**](https://minecraft.wiki/w/Atlas) for more information on Atlases.
Examples
set {_ds} to object text component with sprite "block/diamond_block"
set {_head} to object text component with player head from player
set {_head} to object text component with player head from "Notch"
set {_head} to object text component with player head from {_uuid}