
Custom Crosshair Mod circle fix
Changes the logic of drawing a circle for Custom crosshair mod
Custom Crosshair Mod Fix
A small compatibility patch for Minecraft 1.21.11 that fixes broken circle crosshair rendering (/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
Как поиграть с друзьями с модом Custom Crosshair Mod circle fix?
Мод Custom Crosshair Mod circle fix куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Custom Crosshair Mod circle fix будет готов за пару минут - BungeeHost сделает всё за вас.
