1.21.11 Renderer
适用于 Minecraft 1.20.4 的 Fabric 客户端模组,将 1.21.11 中的渲染改进移植到 1.20.4。
依赖
- Minecraft 1.20.4
- Fabric Loader 0.19.3 或更高版本
- Fabric API 0.97.3+1.20.4
功能说明
GPU 后端 (blaze3d)
将 1.21.11 的 blaze3d 渲染栈移植到 1.20.4。这包括新的 GpuDevice/RenderPass/CommandEncoder 抽象、基于管道的着色器系统,以及 RenderPipeline / CompiledRenderPipeline 类。该后端在 OpenGL 上下文就绪后初始化,并通过 Mixin 替换 1.20.4 渲染路径的相关部分。
帧率同步
当游戏内 FPS 限制设置为“无限制”时,将帧率上限锁定为显示器的刷新率。原版 1.20.4 在此设置下不进行任何节流处理,导致 GPU 以 100% 负载运行并生成显示器无法显示的多余帧。在 144 Hz 显示器上,这能显著降低 GPU 负载且无明显视觉差异。
雾效渲染
用 1.21.11 的雾效管线替换 WorldRenderer 中 1.20.4 的 BackgroundRenderer.render() 调用,其中包括针对不同维度和环境类型的改进雾效修饰器。
区块构建调度
用感知距离的调度器替换 1.20.4 的双队列区块重建系统,优先处理离相机最近的区块,与 1.21.11 的行为保持一致。
拴绳视锥剔除优化
修复了屏幕边缘被拴绳的生物被剔除而其持有者仍可见,导致拴绳绳索缺少一个端点的视觉错误。修复逻辑在剔除前会检查持有者的边界框以及两个实体边界框的并集,与 1.21.11 的 EntityRenderer.shouldRender() 逻辑一致。
格挡姿态物品变换
修复了使用非盾牌物品(如剑、斧等)进行格挡时,玩家手臂与手持物品之间的间隙。原版 1.20.4 仅在 BLOCK 使用动作情况下应用装备偏移量,导致手臂旋转时物品保持在默认位置。此修复应用了 1.21.11 引入的相同旋转校正,使物品与抬起的手臂齐平。
1.21.11 Renderer
A Fabric client mod for Minecraft 1.20.4 that backports rendering improvements from 1.21.11.
Requirements
- Minecraft 1.20.4
- Fabric Loader 0.19.3 or later
- Fabric API 0.97.3+1.20.4
What it does
GPU backend (blaze3d)
Ports the 1.21.11 blaze3d rendering stack into 1.20.4. This includes the new GpuDevice/RenderPass/CommandEncoder abstraction, pipeline-based shader system, and the RenderPipeline / CompiledRenderPipeline classes. The backend is initialised after the OpenGL context is ready and replaces the relevant parts of 1.20.4's rendering path via Mixin.
Frame pacing
Caps the frame rate at the monitor's refresh rate when the in-game FPS limit is set to "Unlimited". Vanilla 1.20.4 renders without any throttle at that setting, causing the GPU to run at 100% producing frames the display can never show. On a 144 Hz monitor this reduces GPU load significantly with no visible difference.
Fog rendering
Replaces 1.20.4's BackgroundRenderer.render() call in WorldRenderer with the 1.21.11 fog pipeline, which includes improved fog modifiers for different dimension and environment types.
Chunk build scheduling
Replaces 1.20.4's dual-queue chunk rebuild system with a proximity-aware scheduler that prioritises chunks closest to the camera, matching 1.21.11 behaviour.
Leash-aware frustum culling
Fixes a visual glitch where a leashed mob at the edge of the screen is culled while its holder is still visible, causing the leash rope to render without one endpoint. The fix checks the holder's bounding box as well as the union of both boxes before culling, matching 1.21.11's EntityRenderer.shouldRender() logic.
Blocking pose item transform
Fixes the gap between the player's arm and a held item when blocking with a non-shield item (sword, axe, etc.). Vanilla 1.20.4 only applies the equip offset in the BLOCK use action case, leaving the item in its default position while the arm rotates. The fix applies the same rotation correction that 1.21.11 introduced to align the item flush with the raised arm.
评论 0
登录后参与评分
还没有评论,来抢沙发吧