mirror of
https://github.com/layue13/MoonBridge.git
synced 2026-10-25 18:46:18 +00:00
client-mod/ 是独立构建(GTNH ExampleMod 模板 + RetroFuturaGradle),coremod + 早期 Mixin,运行时依赖 UniMixins。服务器地址填 ws:// 或 wss:// 时经 WebSocket 连接 MoonBridge,其余地址保持原版 TCP。 - Mixin:ServerAddress 解析、GuiConnecting、NetworkManager.provideLanClient 及其 ChannelInitializer、OldServerPinger(ws 条目跳过旧版 0xFE ping) - 使用 MC 自带 Netty 4.0.10 的 WebSocket13 帧编解码与 SslHandler;握手手写, Host 头与 SNI 用 URL 主机名,升级完成前缓冲原版写出 - 25 项 JUnit 测试(地址解析、上下文传递、帧适配、管线与本地 WS 服务端交互) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GGL9BudzWm4dUQgBsQw4Qr
6 lines
82 B
Groovy
6 lines
82 B
Groovy
// Add any additional repositories for your dependencies here.
|
|
|
|
repositories {
|
|
|
|
}
|