literal

Creates a new literal text component with the specified text.

Return

A McLiteralText instance with the given text.

Parameters

text

The plain text content.