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

Function New

protocol/text/builder.go:3–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1package text
2
3func New() TextComponent {
4 return TextComponent{}
5}
6
7func (t TextComponent) WithColor(c string) TextComponent {
8 t.Color = c

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected