(format string, a ...any)
| 74 | } |
| 75 | |
| 76 | func Sprintf(format string, a ...any) TextComponent { |
| 77 | return TextComponent{Text: fmt.Sprintf(format, a...)} |
| 78 | } |
| 79 | |
| 80 | // Unmarshalf is the same as Unmarshal but with formatting |
| 81 | func Unmarshalf(codeChar rune, format string, v ...any) TextComponent { |