Appearance
helix / textJson
Function: textJson() โ
textJson(
part,ctx?):any
Defined in: core/ir/lower/text-json.ts:31
A text span as vanilla JSON, for tellraw, signs, books, item names and lore.
ctx is needed for parts that reference a selector, NBT holder or command; without it they throw.
Parameters โ
part โ
ctx? โ
TextContext
Returns โ
any