此模组修复了 NeoForge 1.21 版 Celestial 2.0 中的关键崩溃问题,使 Forge/NeoForge 用户能够享受 Celestial 的全天 customization(天空自定义)功能。
修复内容
NeoForge 版的 Celestial 2.0 因不兼容的 mixin refmap 映射而在启动时崩溃。原版 mod 的 refmap 使用的是 Fabric/Yarn 中间映射(如 field_20898、field_21327、field_21328 等),但 NeoForge 需要 Mojang 映射(如 poseStack、pose、normal 等)。
若无此修复,您将遇到:
- 在 NeoForge 上启动 Celestial 2.0 时立即崩溃
- 引用缺失字段映射的 mixin 应用失败
- 无法在基于 Forge 的整合包中使用 Celestial 的天空自定义功能
- 通过此修复,Celestial 2.0 可在 NeoForge 1.21 上无缝运行,启用以下功能:
- 天空中的自定义行星和恒星
- 天空和雾的颜色自定义
- 自定义天空盒和动态天空
- 基于资源包的配置(无需配置文件)
- 与原版和模组维度完全兼容
技术细节
此修复通过添加包含正确 Mojang 映射名称的 searge 部分来修补 Celestial-common-refmap.json,确保 mixin 转换能正确应用于 NeoForge 混淆后的类。未修改任何游戏代码——仅修改了 NeoForge 兼容性所需的映射引用。
兼容性
- Minecraft 版本:1.21
- 加载器:NeoForge
- 修复版本:Celestial 2.0
安装方法
只需将此模组添加到您的 mods 文件夹中。如果存在原始的损坏文件 celestial_1.21_neoforge-2.0.jar,请将其移除。
关于此分支
这是 fishcute 所开发 Celestial 模组的兼容性补丁。原作者允许重新上传和修复。本项目旨在官方更新发布前,为 NeoForge 用户提供可用的版本。
This mod fixes critical crashes in Celestial 2.0 for NeoForge 1.21, allowing Forge/NeoForge users to enjoy the full sky customization features of Celestial.
What This Fixes
Celestial 2.0 for NeoForge crashes on startup due to incompatible mixin refmap mappings. The original mod's refmap uses Fabric/Yarn intermediary mappings (field_20898, field_21327, field_21328, etc.), but NeoForge requires Mojang mappings (poseStack, pose, normal, etc.).
Without this fix, you'll encounter:
- Immediate crashes when launching with Celestial 2.0 on NeoForge
- Mixin application failures referencing missing field mappings
- Inability to use Celestial's sky customization features on Forge-based modpacks
- With this fix, Celestial 2.0 works seamlessly on NeoForge 1.21, enabling:
- Custom planets and stars in the sky
- Sky and fog color customization
- Custom skyboxes and animated skies
- Resource pack-based configuration (no config files needed)
- Full compatibility with vanilla and modded dimensions
Technical Details
This fix patches Celestial-common-refmap.json by adding the searge section with correct Mojang mapping names, ensuring mixin transformations apply correctly to NeoForge's obfuscated classes. No gameplay code was modified—only the mapping references needed for NeoForge compatibility.
Compatibility
- Minecraft Version: 1.21
- Mod Loader: NeoForge
- Fixed Version: Celestial 2.0
Installation
Simply add this mod to your mods folder. Remove the original broken celestial_1.21_neoforge-2.0.jar if present.
About This Fork
This is a compatibility patch for Celestial by fishcute. The original author permits reuploads and fixes. This project exists solely to provide NeoForge users with a working version until an official update is released.
评论 0
登录后参与评分
还没有评论,来抢沙发吧