Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minekube/common
Minecraft text component library & more!
https://github.com/minekube/common
color component convert decode encode hex json legacy minecraft text
Last synced: 23 days ago
JSON representation
Minecraft text component library & more!
- Host: GitHub
- URL: https://github.com/minekube/common
- Owner: minekube
- License: apache-2.0
- Created: 2020-07-13T17:41:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-11T12:59:33.000Z (about 2 months ago)
- Last Synced: 2024-12-11T13:46:20.330Z (about 2 months ago)
- Topics: color, component, convert, decode, encode, hex, json, legacy, minecraft, text
- Language: Go
- Homepage:
- Size: 58.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - minekube/common - Minecraft text component library & more! (Go)
- awesome - minekube/common - Minecraft text component library & more! (Go)
README
# 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](https://github.com/francoispqt/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!