Go bindings for Minecraft Java Edition network protocol and game data, for use with go-mclib/protocol in go-mclib/client and other projects.
- Packet definitions for all protocol states (handshake, status, login, configuration, play)
- Generated data from Minecraft server reports:
- 95 registries with bidirectional lookups
- 1,166 blocks with state calculations
- 1,505 items with component metadata
- Packet ID mappings
- ItemStack middleware for typed component access
go-mclib/protocol <–––(requires)––– go-mclib/data <–––(requires)––– go-mclib/client
go get github.com/go-mclib/dataSee package documentation:
- pkg/data/README.md - Registries, blocks, items
- pkg/packets/README.md - Packet definitions
-
Regenerate data from server reports:
cd pkg/data && go generate ./... && go fmt ./...
-
Update packet bindings - see
.claude/prompts/PACKETS.md -
Update component decoders - see
.claude/prompts/DATA.md
Licensed under the MIT License.