Directories ¶
Path | Synopsis |
---|---|
Package bot implements a simple Minecraft client that can join a server or just ping it for getting information.
|
Package bot implements a simple Minecraft client that can join a server or just ping it for getting information. |
basic
Package basic provides some basic packet handler which client needs.
|
Package basic provides some basic packet handler which client needs. |
playerlist
Package playerlist contains a PlayerList struct that used to manage player information.
|
Package playerlist contains a PlayerList struct that used to manage player information. |
Package chat implements Minecraft's chat message encoding system.
|
Package chat implements Minecraft's chat message encoding system. |
data
|
|
entity
Code generated by gen_entity.go DO NOT EDIT.
|
Code generated by gen_entity.go DO NOT EDIT. |
item
Code generated by gen_item.go DO NOT EDIT.
|
Code generated by gen_item.go DO NOT EDIT. |
lang/got-de
Code generated by downloader.go; DO NOT EDIT.
|
Code generated by downloader.go; DO NOT EDIT. |
lang/gv-im
Code generated by downloader.go; DO NOT EDIT.
|
Code generated by downloader.go; DO NOT EDIT. |
lang/kab-kab
Code generated by downloader.go; DO NOT EDIT.
|
Code generated by downloader.go; DO NOT EDIT. |
lang/mi-nz
Code generated by downloader.go; DO NOT EDIT.
|
Code generated by downloader.go; DO NOT EDIT. |
lang/moh-ca
Code generated by downloader.go; DO NOT EDIT.
|
Code generated by downloader.go; DO NOT EDIT. |
lang/nuk
Code generated by downloader.go; DO NOT EDIT.
|
Code generated by downloader.go; DO NOT EDIT. |
lang/oj-ca
Code generated by downloader.go; DO NOT EDIT.
|
Code generated by downloader.go; DO NOT EDIT. |
lang/scn
Code generated by downloader.go; DO NOT EDIT.
|
Code generated by downloader.go; DO NOT EDIT. |
lang/swg
Code generated by downloader.go; DO NOT EDIT.
|
Code generated by downloader.go; DO NOT EDIT. |
lang/tzl-tzl
Code generated by downloader.go; DO NOT EDIT.
|
Code generated by downloader.go; DO NOT EDIT. |
registry/blockentitytype
Code generated by data/registry/generate.go; DO NOT EDIT.
|
Code generated by data/registry/generate.go; DO NOT EDIT. |
examples
|
|
daze
Daze is a basic bot example that join a server as client with these features: - Say "Hello, world" when game started.
|
Daze is a basic bot example that join a server as client with these features: - Say "Hello, world" when game started. |
dazeReadCommand
Daze could join an offline-mode server as client.
|
Daze could join an offline-mode server as client. |
mcadump
This is an example of how to use the go-mc/save/region package to read and write .mca files.
|
This is an example of how to use the go-mc/save/region package to read and write .mca files. |
mcping
Usage: go run examples/ping/ping.go localhost
|
Usage: go run examples/ping/ping.go localhost |
minimal
A minimal bot example that could join minecraft server as a client.
|
A minimal bot example that could join minecraft server as a client. |
pressureTest
This example is used to apply pressure test on the server.
|
This example is used to apply pressure test on the server. |
simpleServer1.15.2
This example is a minimal minecraft 1.15.2 server allowing vanilla clients or go-mc/bot to connect.
|
This example is a minimal minecraft 1.15.2 server allowing vanilla clients or go-mc/bot to connect. |
simpleServer1.17.1
This example is a minimal minecraft 1.17.1 server allowing vanilla clients or go-mc/bot to connect.
|
This example is a minimal minecraft 1.17.1 server allowing vanilla clients or go-mc/bot to connect. |
yggdrasil
This example used to act as a launcher, log in and obtain the access token.
|
This example used to act as a launcher, log in and obtain the access token. |
internal
|
|
Package nbt implement the Named Binary Tag format of Minecraft.
|
Package nbt implement the Named Binary Tag format of Minecraft. |
Package net pack network connection for Minecraft.
|
Package net pack network connection for Minecraft. |
CFB8
Package CFB8 is copied from https://play.golang.org/p/LTbId4b6M2
|
Package CFB8 is copied from https://play.golang.org/p/LTbId4b6M2 |
Package server provide a minecraft server framework.
|
Package server provide a minecraft server framework. |
Package yggdrasil implement Yggdrasil protocol.
|
Package yggdrasil implement Yggdrasil protocol. |
Click to show internal directories.
Click to hide internal directories.