Carpet Fixes 的非官方 Minecraft 1.21.11 移植版本。
Carpet Fixes 是一个 Fabric Carpet 扩展,旨在修复尽可能多的原版 Minecraft 漏洞——包括红石更新顺序、刷物品机制、生物行为、活塞、侦测器、铁轨、爆炸等等。每一项修复都是一个可切换的规则。
此构建基于 tomalbrc 的 1.21 分支,将其移植到了 1.21.11。已在游戏中测试(加载时无混入错误)。
⚙️ 依赖项
- Minecraft 1.21.11
- Fabric Loader ≥ 0.16.9
- Fabric Carpet
1.21.11-1.4.193+v251211 或更高版本 —— 必需
- Java 21
- 不需要 Fabric API
conditional-mixin 已打包(jar-in-jar)
? 安装
- 为 1.21.11 安装 Fabric Loader。
- 放入
mods/ 目录:
- 适用于 1.21.11 的
fabric-carpet
- 本 jar 包
- 在游戏中使用
/carpet-fixes <rule> true|false 配置规则(该模组有自己独立的命令 —— 并非 /carpet)。完整规则列表及说明:请参阅仓库中的 RULES.md / RULES-EN.md。
支持单人游戏和多人游戏。
✅ 包含内容
246 项修复处于激活状态 —— 红石更新顺序、刷物品修复、生物/实体行为、方块、活塞、侦测器、铁轨、爆炸(包括正确的 TNT 暴露计算 —— incorrectExplosionExposureFix)、生成区块保持加载等。
在 1.18.1-port 中恢复并测试过:苦力怕传送门引信、保存蓝色凋灵骷髅、卸载时酿造时间、气泡柱、针对玩家的 /data 命令。
❌ 已禁用
由于需要完全重写,或与 1.21.11 不兼容,或者现已多余(Mojang 已在原版中修复了这些漏洞),因此禁用了部分修复:
- 自定义红石邻居更新器(
useCustomRedstoneUpdates、optimizedNeighborUpdater、reIntroduceInstantBlockUpdates)—— 重做了邻居更新系统(WireOrientation / ChainRestrictedNeighborUpdater)。
- 爆炸世界边界(
explosionsBypassWorldBorderFix)—— Explosion 变为接口,且 ExplosionImpl 进行了重构。
- 实体方块碰撞 / x8 传送门 —— 碰撞逻辑已重做为
tickBlockCollision(from, to) 队列(原版可能已修复此问题)。
- RecipeManager 优化 —— 配方 API 已重做(Lithium 本身已涵盖此功能)。
- 调色板数据损坏 —— 调色板不再持有调整大小监听器 → 该 Bug 无法发生。
- 紫颂果 / 船坠落伤害、监守者吞噬盔甲、阳光探测器放置 —— 相关类/方法已被移除或设为
final。
- 生物转化数据传输 —— 原版
EntityConversionContext 现已处理此逻辑。
- 调试工具与服务器切换规则。
⚠️ 注意
Mixin 配置使用 defaultRequire = 0:如果某个修复在极少数未测试的路径下无法应用,将静默跳过而非导致服务器崩溃。
? 发现 Bug?
如果出现崩溃或修复行为异常,请联系我获取修复方案—— Discord: skrizzz_。请附上你的游戏版本/加载器版本、Carpet 版本以及崩溃日志(logs/latest.log 或 crash-reports/ 目录下的文件)。
? 支持移植者
- Discord:
skrizzz_
- 银行卡 (T-Bank):
2200700868492199 — Ivan P.
? 致谢与许可
MIT License — © 2020 Fx Morin.
- Fabric Carpet(基础模组):gnembon & team —
- Carpet Fixes(原始版本):FX_PR0CESS / fxmorin —
- 1.21 fork(移植基础):tomalbrc —
- 1.21.11 port:
skrizzz_(非官方)—
非常感谢 gnembon 提供的 Carpet、fxmorin 提供的 Carpet Fixes,以及 tomalbrc 提供的 1.21 分支版本。
这是一个非官方构建版本。Carpet Fixes 的 Bug 请向原始仓库报告;与移植相关的问题请在此处报告。
Unofficial port of Carpet Fixes to Minecraft 1.21.11.
Carpet Fixes is a Fabric Carpet extension that fixes as many vanilla Minecraft bugs as possible — redstone update order, dupes, mob behaviour, pistons, observers, rails, explosions and much more. Every fix is a toggleable rule.
This build ports it to 1.21.11, based on tomalbrc's 1.21 fork. Tested in-game (loads with no mixin errors).
⚙️ Requirements
- Minecraft 1.21.11
- Fabric Loader ≥ 0.16.9
- Fabric Carpet
1.21.11-1.4.193+v251211 or newer — required
- Java 21
- Fabric API is not required
conditional-mixin is bundled (jar-in-jar)
? Installation
- Install Fabric Loader for 1.21.11.
- Drop into
mods/:
fabric-carpet for 1.21.11
- this jar
- Configure rules in game with
/carpet-fixes <rule> true|false (the mod has its own command — NOT /carpet). Full rule list with descriptions: see RULES.md / RULES-EN.md in the repo.
Works in singleplayer & multiplayer.
✅ What's included
246 fixes active — redstone update order, dupe fixes, mob/entity behaviour, blocks, pistons, observers, rails, explosions (including the correct TNT exposure calc — incorrectExplosionExposureFix), spawn chunks staying loaded, and more.
Restored & tested in 1.18.1-port: creeper portal fuse, blue wither skulls saved, brewing time on unload, bubble column, /data on players.
❌ What's disabled
A handful of fixes are incompatible with 1.21.11 without a full rewrite, or are now redundant (Mojang fixed the bug in vanilla):
- Custom redstone neighbour-updater (
useCustomRedstoneUpdates, optimizedNeighborUpdater, reIntroduceInstantBlockUpdates) — neighbour-update system reworked (WireOrientation / ChainRestrictedNeighborUpdater).
- Explosion world-border (
explosionsBypassWorldBorderFix) — Explosion became an interface and ExplosionImpl was restructured.
- Entity block-collision / x8-portal — collision reworked to a
tickBlockCollision(from, to) queue (vanilla likely fixed it).
- RecipeManager optimization — recipe API reworked (Lithium covers it anyway).
- palette data-corruption — palettes no longer hold a resize listener → bug can't happen.
- ChorusFruit / Boat fall damage, Warden eats armor, DaylightDetector placement — classes/methods removed or made
final.
- Mob conversion data transfer — vanilla's
EntityConversionContext handles it now.
- debug tools & server-toggle rules.
⚠️ Note
The mixin config uses defaultRequire = 0: if a fix can't apply in some rare, untested path, it is silently skipped instead of crashing the server.
? Found a bug?
If a crash happens or a fix misbehaves, contact me for a fix — Discord skrizzz_. Please attach your game/loader/Carpet versions and the crash log (logs/latest.log or crash-reports/).
? Support the porter
- Discord:
skrizzz_
- Card (Т-Bank):
2200700868492199 — Ivan P.
? Credits & License
MIT License — © 2020 Fx Morin.
- Fabric Carpet (base mod): gnembon & team —
- Carpet Fixes (original): FX_PR0CESS / fxmorin —
- 1.21 fork (port base): tomalbrc —
- 1.21.11 port:
skrizzz_ (unofficial) —
Huge thanks to gnembon for Carpet, fxmorin for Carpet Fixes, and tomalbrc for the 1.21 fork.
This is an unofficial build. Report Carpet Fixes bugs to the original repo; report port-specific issues here.
评论 0
登录后参与评分
还没有评论,来抢沙发吧