Links
Tags
Creators
Details
1.21.11-b5
Compatibility
Required content
Changes
VeryMcProto 1.21.11-b5(JEI 完整协议迁移)
以纯 Paper 插件形式移植 Fabric 端协议 Mod(Servux / JEI / Syncmatica),面向 Minecraft 1.21.11 / Paper 1.21.11(Java 21,维护线 ver/1.21.11-dev → ver/1.21.11)。
本版内容(自 v1.21.11-b4 以来)
- JEI 模块完整迁移(12aeb16):从旧 JEI Recipe Bridge 桥形态(
mod/jeirecipebridge/7 文件,仅 2 条配方同步 S2C 通道)完整迁移为 mezz/JustEnoughItems 上游范式(分支1.21.11= JEI 27.44.0,commit2af0130;跨线 cherry-pick 禁止、27 文件手工重写):- 配方同步层:
fabric:recipe_sync(Fabric APIfabric-recipe-api-v1wire,RegisterChannel 声明门控触发 +RecipeSyncJoinOrderernetty 出站时序整形——payload 先于 UpdateRecipesPacket 上线,消除 JEI 进服 "recipe sync unavailable" 警告)+neoforge:recipe_content(join + brand 触发 + tag 表补发); jei:\*通道层:8 条 C2S(cheat 权限申请/给物品/删物品/热键栏放置/配方转移 ×4 变体)+ 2 条 S2C——服务端声明jei:delete_player_item解锁客户端isJeiOnServer()门禁,cheat 与网络版配方转移功能全量可用;- 服务端行为层:cheat 权限三切面(Creative / Op=权限级 2 / Give 权限,配置
jei.json三布尔)+BasicRecipeTransferHandlerServer配方转移算法逐行移植; - 配置无缝迁移:旧
jei-recipe-bridge.json的enabled值只读继承(旧文件保留);/jei命令扩展status子命令; - 1.21.11 专属适配:
RecipeSyncJoinOrderer反射字段主备反转(本线 PaperCommonConnection 字段为handle,javap 实证;26.x 才改名packetListener)。
- 配方同步层:
- wire 正确性背书:mezz 26.2 ↔ 1.21.11 分支互 diff——
network/packets全树零字节差、transfer 仅两条日志折行差异、ServerCommandUtil/ServerConfig逐字同;fabric:recipe_sync对照 Fabric API 分支1.21.11逐字段一致。 - 测试:6 个测试类随迁(通道常量对齐 / cheat 权限矩阵 / 配置迁移 / 进服时序整形——本线首个 MC bootstrap 型测试 / 转移列表边界 / 槽位校验)。
- 文档:
docs/jei.md新建(协议全景 + 迁移实录 + 互 diff 分诊表 + 1.21.11 适配面 + 实机验证清单);AGENTS/README/00-INDEX/TECH_DEBT_AUDIT 与框架 javadoc 同步。
验证
- JDK21 工具链
./gradlew build全绿(含verifyVersionInjection);./gradlew test79/79 全绿(存量 53 无回归 + jei 新增 26) - runServer 实机冷启动:
[JEI] Module enabled (upstream mezz/JustEnoughItems 1.21.11 / 8 jei:\* C2S channels)+ 三模块正常注册、零异常 - 开箱复核:reobf jar 内
plugin.ymlversion=1.21.11-b5 / api-version=1.21.11 - 真实 JEI 客户端互操作验证清单见
docs/jei.md§9(fabric 腿进服免警告 / cheat 三切面 / 配方转移 / vanilla 零打扰 / neoforge tag 同步)
产物
VeryMcProto-1.21.11-b5-reobf.jar—— 推荐:obf 映射产物,标准 Paper 1.21.11 服务器放入plugins/直接加载。VeryMcProto-1.21.11-b5.jar—— Mojang 映射产物(开发参考)。
可选依赖 PacketEvents 2.14.0(仅 EasyPlace 需要,未装自动跳过)。
上一版本:v1.21.11-b4。
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:tyOxCfUJ:3LaQslWQ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:tyOxCfUJ:3LaQslWQ"
}

