Links
Tags
Creators
Details
Licensed LGPL-3.0-only
Published 2 weeks ago
Updated 3 hours ago
All versions
1.0.6
Beta
VoxLink-fabric-1.0.6last month 0
Compatibility
Minecraft: Java Edition
1.20
Platform
Fabric
Supported environments
Client-side
Changes
VoxLink 1.0.6
本次更新主要修复创建房间取消时的提示错误,优化陶瓦二进制下载速度,并清理了一批死代码。
新增
- 陶瓦下载镜像竞速:新增 Gitee 镜像源,客户端会并发探测 GitHub / Gitee / ghproxy 三个源(单源 4 秒超时,总 6 秒超时),自动选最快的链接下载。若全部探测失败则回退原顺序下载。
- 玩家版本号上报:建房时自动上传当前 MC 版本到服务器,用于大厅的"同版本"筛选。
修复
- 创建房间取消提示错误:之前在创建房间过程中按 ESC 或点击取消按钮,会错误显示"出了点意外,再来一次吧 qwq"。现在正确显示"已取消创建房间"。内部机制:新增 cancelled 标志位,用户主动取消后静默丢弃迟到的 future 结果,不再触发 error 分支。
- 更新提示样式丢失:UpdateChecker 中多余的
.withStyle(ChatFormatting.WHITE)覆盖了 AQUA 前缀色,已移除。 - fabric.mod.json 版本范围:
depends.minecraft从>=${minecraft_version}改为${minecraft_version},精确匹配当前 MC 版本,避免加载到不兼容版本。
重构
- 死代码清理(23 个版本同步):
- 删除 6 个无调用文件:
DataRouter/GlobalIPs/FirewallHelper/fw/FirewallGuard/fw/PlatformFirewall/fw/PortDiscovery - 移除 46 个未被调用的 public 方法
- 删除 6 个无调用文件:
- GAME_VERSION 集中管理:新建
VoxLinkConstants.java,各版本从gradle.properties读取minecraft_version写入编译期常量,避免运行时依赖和硬编码。 - UI 代码规范化:
VoxLinkScreenBase新增drawCenteredComponent/fontWidth工具方法CreateRoomScreen提取布局常量,文案改用Component.append().withStyle()链式调用
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:qqeQJjgq:mosLMpvj"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:qqeQJjgq:mosLMpvj"
}

