Text component
Customize text.
Text Components are used to display strings to the player, with more formatting options than a default string (color, bold, etc...)
Custom Machinery use these components in various places such as the machine name or tooltips properties.
Available properties :
text(The text to display)bold(true/false)italic(true/false)underlined(true/false)striketrough(true/false)obfuscated(true/false)color("colorID" or "#RRGGBB" hex format)font(custom font id, minecraft only provide "minecraft:default")childrenNot supported !
Example :
Display Hello ! in red and bold.
{
"text": "Hello !",
"bold": true,
"color": "red"
}