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

Method TextComponent

protocol/net/io/encoding/writer.go:192–194  ·  view source on GitHub ↗
(comp text.TextComponent)

Source from the content-addressed store, hash-verified

190}
191
192func (w Writer) TextComponent(comp text.TextComponent) error {
193 return w.NBT(comp)
194}
195
196func (w Writer) StringTextComponent(text string) error {
197 if err := w.Byte(8); err != nil {

Callers

nothing calls this directly

Calls 1

NBTMethod · 0.95

Tested by

no test coverage detected