{"id":13667005,"url":"https://github.com/Tnze/go-mc","last_synced_at":"2025-04-26T15:32:14.434Z","repository":{"id":38274238,"uuid":"184375563","full_name":"Tnze/go-mc","owner":"Tnze","description":"Collection of Go libraries for Minecraft","archived":false,"fork":false,"pushed_at":"2024-12-24T03:20:05.000Z","size":51435,"stargazers_count":869,"open_issues_count":12,"forks_count":115,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-12-24T04:20:57.492Z","etag":null,"topics":["bot","golang","mca","minecraft","minecraft-client-bot","minecraft-protocol","minecraft-region","nbt","nbt-library","nbt-parser","rcon","rcon-client","rcon-protocol","rcon-server","snbt","yggdrasil","yggdrasil-minecraft-login"],"latest_commit_sha":null,"homepage":"https://go-mc.github.io/tutorial/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tnze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-01T06:00:17.000Z","updated_at":"2024-12-24T03:20:11.000Z","dependencies_parsed_at":"2024-05-01T13:14:05.405Z","dependency_job_id":"c65eb72a-91e8-4640-88e5-f28838a8f9c7","html_url":"https://github.com/Tnze/go-mc","commit_stats":{"total_commits":759,"total_committers":38,"mean_commits":"19.973684210526315","dds":"0.24505928853754944","last_synced_commit":"73df16e856b3c7cd79e142c89ea82113005828c1"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tnze%2Fgo-mc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tnze%2Fgo-mc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tnze%2Fgo-mc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tnze%2Fgo-mc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tnze","download_url":"https://codeload.github.com/Tnze/go-mc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251008737,"owners_count":21522164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","golang","mca","minecraft","minecraft-client-bot","minecraft-protocol","minecraft-region","nbt","nbt-library","nbt-parser","rcon","rcon-client","rcon-protocol","rcon-server","snbt","yggdrasil","yggdrasil-minecraft-login"],"created_at":"2024-08-02T07:00:21.334Z","updated_at":"2025-04-26T15:32:09.422Z","avatar_url":"https://github.com/Tnze.png","language":"Go","funding_links":[],"categories":["Tools"],"sub_categories":["Other Libraries"],"readme":"# Go-MC\n\n![Version](https://img.shields.io/badge/Minecraft-1.21-blue.svg)\n[![Go Reference](https://pkg.go.dev/badge/github.com/Tnze/go-mc.svg)](https://pkg.go.dev/github.com/Tnze/go-mc)\n[![Go Report Card](https://goreportcard.com/badge/github.com/Tnze/go-mc)](https://goreportcard.com/report/github.com/Tnze/go-mc)\n[![Discord](https://img.shields.io/discord/915805561138860063?label=Discord)](https://discord.gg/A4qh8BT8Ue)\n\n### [教程 · Tutorial](https://go-mc.github.io/tutorial/)\n### [文档 · Documents](https://pkg.go.dev/github.com/Tnze/go-mc)\n\nRequire Go version: 1.22\n\nThere's some library in Go support you to create your Minecraft client or server.  \n这是一些Golang库，用于帮助你编写自己的Minecraft客户端或服务器。\n\n- [x] 👍 Minecraft network protocol\n- [x] 👍 Robot framework\n- [x] 👍 Server framework\n- [x] 👍 Dual role RCON protocol (Server \u0026 Client)\n- [x] 👍 Chat Message (Support both Json and old `§` format)\n- [x] 👍 NBT (Based on reflection)\n- [x] 👌 SNBT ⇋ NBT\n- [x] 👍 Regions \u0026 Chunks \u0026 Blocks\n- [x] ⌛ Yggdrasil (Mojang login)\n- [x] ⌛ Realms Server\n\n\u003e We don't promise that API is 100% backward compatible.\n\n## Getting start\n\nGo-MC tag the old version after new version released. For example,\nif *1.19.4* is the latest Minecraft version, the newest go-mc tag will be *v1.19.3*.\nTo get the latest Go-MC that support *1.19.4*, usually you must use `go get -u github.com/Tnze/go-mc@master`.\nSpecial cases are version like *1.19*, the Go-MC support it is tagged `v1.19.0` to avoid automatically upgrade.  \n\nExamples:  \nTo get the latest version: `go get github.com/Tnze/go-mc@master`  \nTo get old versions (e.g. 1.18.2): `go get github.com/Tnze/go-mc@v1.18.2`\nTo get the first of each primary version: `go get github.com/Tnze/go-mc@v1.19.0`\n\n### Run Examples\n\n- Run `go run github.com/Tnze/go-mc/examples/mcping localhost` to ping and list the localhost mc server.\n- Run `go run github.com/Tnze/go-mc/examples/daze` to join the local server at *localhost:25565* as player named Daze on the offline mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTnze%2Fgo-mc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTnze%2Fgo-mc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTnze%2Fgo-mc/lists"}