gomcbot icon indicating copy to clipboard operation
gomcbot copied to clipboard

A golang minecraft client/robot package

GoMCbot

This package has been moved to github.com/Tnze/go-mc/bot

注意,这个版本已经停止开发了,新版在github.com/Tnze/go-mc/bot,新版的代码更加整洁,而且支持1.14+

A golang minecraft robot package.

  • Current Version: 1.13.2 (1.14 version is comming)
  • Protocol Version: 404

GoDoc Go Report Card

What can it do

GoMCbot play a role in a Minecraft Client which has no graphy but you can control it by programing. These're what gomcbot can do and what can't do yet

  • [x] Join online server
  • [x] Join offline server
  • [x] Parse chunk data
  • [ ] View inventory
  • [x] Use item
  • [x] Listening sound
  • [x] Send chat message
  • [x] Recive and parse chat message
  • [x] Move around and look around
  • [x] Swing hands
  • [x] Mine blocks
  • [ ] Place blocks
  • [ ] Steer vehicle
  • [ ] Steer boat
  • [ ] Craft
  • [ ] Pick item
  • [ ] Use entity
  • [ ] Edit book
  • [ ] Enchant item
  • [ ] Record entity
  • [ ] Unload chunks

Talk to me if you want one of unrealized function.

Usage

There are some basic usage example. For more information, see Wiki.

To use gomcbot, simply run go get -u github.com/Tnze/gomcbot

Examples

See examples_test.go.