Swiss army knife for Minecraft (Bedrock Edition) software written in Go
gophertunnel is composed of several packages that may be of use for creating Minecraft related tools. As of version v1.38.0, Gophertunnel requires at least Go 1.22. A brief overview of all packages may be found here.
Examples on how to dial a connection or start a server can be found in the minecraft package. Additionally, a MITM proxy is implemented in the main.go file.
Gophertunnel supports only one version at a time (generally the latest official Minecraft release), but multiple protocols can be supported with the API. Generally, a new minor version is tagged when gophertunnel supports a new Minecraft version that was not previously supported.