MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Sprintf

Function Sprintf

protocol/text/text.go:76–78  ·  view source on GitHub ↗
(format string, a ...any)

Source from the content-addressed store, hash-verified

74}
75
76func 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
81func Unmarshalf(codeChar rune, format string, v ...any) TextComponent {

Callers 1

tick.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected