mirror of
https://github.com/layue13/MoonBridge.git
synced 2026-10-26 19:03:49 +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
23 lines
421 B
INI
23 lines
421 B
INI
# This is the universal Text Editor Configuration
|
|
# for all GTNewHorizons projects
|
|
# See: https://editorconfig.org/
|
|
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
indent_size = 4
|
|
indent_style = space
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.{bat,ini}]
|
|
end_of_line = crlf
|
|
|
|
[*.{dtd,json,info,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}]
|
|
indent_size = 2
|
|
|
|
[*.{lang,md}]
|
|
trim_trailing_whitespace = false
|