/common

Minecraft text component library & more!

Primary LanguageGoApache License 2.0Apache-2.0

common

Minekube's Commons Library

Get it: go get -u go.minekube.com/common

Libraries:

  • minecraft/component
    • A Minecraft text components library.
    • Marshal/Unmarshal in different formats
      • json components (faster than Go's standard encoding/json, thanks to Gojay)
      • plain text marshalling
      • legacy colors & formats
      • Minecraft 1.16+ hex colors
      • click/hover events
      • options for encoding/decoding
      • support older Minecraft client versions by default!