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

Method WithColor

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

Source from the content-addressed store, hash-verified

5}
6
7func (t TextComponent) WithColor(c string) TextComponent {
8 t.Color = c
9 return t
10}
11
12func (t TextComponent) WithText(c string) TextComponent {
13 t.Text = c

Callers 1

gc.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected