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

Function Color

protocol/text/builder.go:37–39  ·  view source on GitHub ↗
(c string)

Source from the content-addressed store, hash-verified

35}
36
37func Color(c string) TextComponent {
38 return TextComponent{Color: c}
39}
40
41func Text(c string) TextComponent {
42 return TextComponent{Text: c}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected