**Full Changelog**: [Here](https://github.com/AzusaKe/Halo/compare/v2.4.1-fabric-1.21.1-adapter.2...v2.4.1-neoforge-1.21.1-adapter.1)
---
- Added the first official **Minecraft 1.21.1 NeoForge** release, carrying forward the 1.21.1 Fabric feature set on HaloCore 2.4.1. Requires **Java 21 and NeoForge 21.1.219 or newer**; the release is built with **21.1.248**. Players install one Halo JAR with core included. Definition schema, saves, all nine payload formats and public API v2 remain compatible.
- Migrated lifecycle events, resource loading, commands, the Halo Scepter and optional networking to NeoForge. Preserved local `@s` commands, ownership-source priorities, animation and physics, independent inventory previews, and YSM 2.6.5 / EMF world and preview capture.
- Retained first-person camera quaternions, main-frame/shadow-pass isolation, transparent instance and triangle sorting using the actual GPU view transform, shared geometry, resident VBOs, separate EBOs and material caches. The Iris entity-material path and generic GLSL smooth-normal matching remain in place; IterationRP Alpha 0.8.22 and shader-enabled EMF/YSM previews were checked. No quantified cross-platform FPS improvement or additional POM support is claimed.
- Fixed distant clouds drawing over nearby translucent meshes, sneaking right-click failing to select the scepter holder, and inventory clipping cutting off halos outside the player-preview rectangle.
- Fixed intermittent entity disappearance caused by restoring a VAO without invalidating Minecraft's immediate-buffer binding cache, and avoided binding an EBO with VAO 0. In the original 219 reproduction environment, the pre-fix Halo session recorded 6,139 OpenGL errors; both the no-Halo and fixed sessions recorded zero, with the user confirming normal entities and previews. Added opt-in, rate-limited diagnostics via `-Dhalo.renderDiagnostics=true`, disabled by default.
- Passed local **125 adapter tests and 326 core tests**, legacy binary-caller and flat-JAR checks. The same 248-built candidate passed dedicated-server startup, basic commands and saving on both 219 and 248. After comprehensive testing, the user reported no obvious problems and approved the official release. HaloCore stays at **2.4.1 / `295bc579`**, with no production changes; all **352 class files** in the local release match the accepted candidate. Exact evidence and unmeasured cases are recorded in the [migration record](https://github.com/AzusaKe/Halo/blob/v2.4.1-neoforge-1.21.1-adapter.1/docs/1.21.1-neoforge-migration.md).
- Known inherited issue: `mesh_mask_demo` can show abrupt triangles at certain viewing angles, also observed across multiple Fabric versions. This release intentionally leaves that separate issue unchanged.
---
- 首次正式发布 **Minecraft 1.21.1 NeoForge** 版本,以 HaloCore 2.4.1 迁移 1.21.1 Fabric 的功能。需要 **Java 21、NeoForge 21.1.219 或更高版本**,正式构建基线为 **21.1.248**。玩家只需安装一个内含 core 的 Halo JAR;定义 schema、存档、九种网络负载格式和公开 API v2 保持兼容。
- 将生命周期、资源加载、命令、光环权杖及可选网络通信接入 NeoForge,保留本地 `@s`、佩戴来源优先级、动画物理、独立物品栏预览,以及 YSM 2.6.5/EMF 的世界和预览捕获。
- 保留第一人称相机四元数、主帧/阴影 pass 隔离、按 GPU 实际视图变换进行的透明实例与三角形排序,以及共享几何、驻留 VBO、独立 EBO 和材质缓存。继续使用 Iris 实体材质通路和通用 GLSL 平滑法线匹配;已检查 IterationRP Alpha 0.8.22 及光影下 EMF/YSM 预览。不宣称具体跨平台帧率提升或额外的 POM 支持。
- 修复远处云覆盖近处半透明 mesh、权杖蹲下右键无法选择自己,以及光环超出物品栏人物预览框时被裁剪的问题。
- 修复恢复 VAO 后未清除 Minecraft 即时顶点缓冲绑定缓存导致的实体间歇消失,同时避免 VAO 0 上绑定 EBO。在原 219 复现场景中,修复前 Halo 会话记录 6,139 条 OpenGL 错误;无 Halo 和修复后会话均为零,用户确认实体及预览正常。新增默认关闭、限频的诊断开关 `-Dhalo.renderDiagnostics=true`。
- 本地 **125 项适配器测试、326 项 core 测试**、旧二进制调用方与单 JAR 合包检查通过。同一 248 构建候选在 219/248 专用服均完成启动、基础命令和保存检查。用户完成综合测试,未观察到明显问题并批准正式发布。HaloCore 保持 **2.4.1/`295bc579`**,无生产代码修改;本地正式包的 **352 个 class 文件**与验收候选一致。详细证据与未单独量化的范围见[迁移记录](https://github.com/AzusaKe/Halo/blob/v2.4.1-neoforge-1.21.1-adapter.1/docs/1.21.1-neoforge-migration.md)。
- 已知遗留问题:`mesh_mask_demo` 在特定角度可能出现突兀三角面,多个 Fabric 版本也可复现。本次按约定不处理此独立问题。
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }