toNbtElement

open fun toNbtElement(text: Component): Tag

Converts Component to Tag.

Return

NbtElement generated from text.

Parameters

text

text to convert.