0b9984da078c9a22adea810a8760ce7c11ae54f8
Go-MC
There's some library in Go support you to create your Minecraft client or server.
这是一些Golang库,用于帮助你编写自己的Minecraft客户端或服务器,
- Mojang authenticate
- Minecraft network protocal
- Parse chat message
- Simple MC robot lib
- Parse NBT
Some examples are at /cmd
folder.
有一些例子在cmd目录下
1.13.2
version is at gomcbot.
Getting start
After you install golang tools:
- Run
go run cmd/ping/ping.go
to ping and list the Miaoscraft mc-server. - Run
go run cmd/daze/daze.go
to join local server at localhost:25565 as Steve on offline mode.
See /bot
folder to get more infomation about how to create your own robot.
Languages
Go
98.1%
Java
1.9%