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
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
- Join online server
- Join offline server
- Parse chunk data
- View inventory
- Use item
- Listening sound
- Send chat message
- Recive and parse chat message
- Move around and look around
- Swing hands
- 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.
There are some basic usage example. For more information, see Wiki.
To use gomcbot, simply run go get -u github.com/Tnze/gomcbot
See examples_test.go.