of
Creates a new text input with the specified key and label. The key identifies the input in template substitutions and NBT output :contentReference[oaicite:36]{index=36}.
Return
new text input
Parameters
key
unique key for the input
label
text component displayed to the left of the input
Convenience overload for plain string labels.
Return
new text input
Parameters
key
unique key
label
plain text label