2019-07-20 10:54:06 +08:00
2019-05-01 15:22:42 +08:00
2019-07-20 10:54:06 +08:00
2019-07-20 10:54:06 +08:00
2019-07-20 02:13:26 +08:00
2019-07-16 23:28:02 +08:00
2019-07-16 23:32:54 +08:00
2019-06-29 10:09:47 +08:00
2019-05-17 00:05:17 +08:00
2019-07-20 10:54:06 +08:00

Go-MC

GoDoc Go Report Card Build Status

There's some library in Go support you to create your Minecraft client or server.
这是一些Golang库用于帮助你编写自己的Minecraft客户端或服务器

  • Chat
  • Parse NBT
  • Simple MC robot lib
  • Mojang authenticate
  • Minecraft network protocol
  • World container / encoding

bot:

  • Swing arm
  • Get inventory
  • Pick item
  • Drop item
  • Swap item in hands
  • Use item
  • Use entity
  • Attack entity
  • Use/Place block
  • Mine block
  • Record entities

由于仍在开发中部分API在未来版本中可能会变动

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 localhost 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 information about how to create your own robot.

Description
No description provided
Readme MIT 126 MiB
Languages
Go 98.1%
Java 1.9%