Skip to content

API パッケージ概要

gophertunnel は、Minecraft Bedrock Edition のプロトコル処理に必要なコンポーネントを以下のモジュール群に整理しています。


パッケージ一覧

パッケージインポートパス主な用途
minecraftgithub.com/sandertv/gophertunnel/minecraft接続の中核(Conn, Dialer, ListenConfig, Listener, GameData
packetgithub.com/sandertv/gophertunnel/minecraft/protocol/packet全Bedrockパケットの構造体定義、Packet インターフェース、Header
protocolgithub.com/sandertv/gophertunnel/minecraft/protocol基本型・VarInt・VarLong、IO (Reader/Writer)
authgithub.com/sandertv/gophertunnel/minecraft/authMicrosoft / Xbox Live トークン取得、OAuth2 リフレッシュ
realmsgithub.com/sandertv/gophertunnel/minecraft/realmsMinecraft Realms API クライアント、アドレス解決
resourcegithub.com/sandertv/gophertunnel/minecraft/resourceリソースパック・ビヘイビアーパックのパース、暗号化解除
nbtgithub.com/sandertv/gophertunnel/minecraft/nbtMinecraft NBT (Named Binary Tag) のシリアライズ/デシリアライズ
querygithub.com/sandertv/gophertunnel/queryUT3 Query プロトコルによるサーバー情報問い合わせ

主要な型リファレンス

Released under the MIT License.