Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_Zp7pgIXw.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
Custom Crosshair Mod circle fix - 墨喵 Minecraft 资源
Custom Crosshair Mod circle fix 图标

Custom Crosshair Mod circle fix

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/custom-crosshair-mod-circle-fix
资源信息

Minecraft 版本: 1.21.11

平台: fabric

标签: decoration utility

资源介绍

Custom Crosshair Mod Fix

A small compatibility patch for Minecraft 1.21.11 that fixes broken circle crosshair rendering (https://modrinth.com/mod/custom-crosshair-mod).

This mod does not replace the original mod and requires the original mod to be installed.

How that works?

The render was broken because the original mod drew the circle using an old line-based approach: it generated points around the circle and submitted them as a line render state.

Original idea:

for (int i = startAngle; i <= endAngle; i++) {
    float radians = (i - 90) * ratio;
    points.add(x + cos(radians) * radius);
    points.add(y + sin(radians) * radius);
}

The problem was that the original ModLinesGuiElementRenderState used a debug/line pipeline with lineWidth(2.0F). In Minecraft 1.21.11’s newer GUI render-state system, that line rendering path became unreliable: the circle could break into chunks, disappear, or render with incorrect thickness.

So this mod overrides old circle rendering replaces it with RingGuiElementRenderState

The rendering is different from the original in older versions!

Comparing

old:
old variation

new:
new

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Better Shears 3

价格:0 墨喵币
下载量:0

查看详情
MiSans字体包

价格:0 墨喵币
下载量:0

查看详情
SoniCraft Demons

价格:0 墨喵币
下载量:0

查看详情
Torrezx-Wizard gnomo

价格:0 墨喵币
下载量:0

查看详情