MonitoringMinecraft MonitoringMinecraft

Create Cursor Fix

Мод NeoForge

Мод для Майнкрафт исправляет баг рендеринга GUI у мода Create на некоторых Linux-дистрибутивах.

916 скачиваний 3 подписчика
Оцените первым

Create Cursor Fix

Small client-side NeoForge mod for Minecraft 1.21.1 that fixes stale cursor coordinates in Create value settings screens.

This issue shows up in any gui that is an instance of ValueSettingsScreen including Rotation Speed Controllers and Creative motors.

I do not intend to support other versions unless asked, but its pretty easy to port, so feel free to do so or request a particular version.

Requirements

  • Minecraft 1.21.1
  • NeoForge 21.1.219 or newer
  • Create 6.0.9 or newer

What It Fixes

Create's value settings UI receives mouse coordinates from Minecraft's normal screen rendering path. On some Linux setups, those coordinates can be stale after Create programmatically moves the cursor.

This mod patches Create's value settings screen to read the current GLFW cursor position directly when rendering and saving the panel.

Wayland Support

Wayland is not explicitly supported.

This mod can fix the stale-coordinate case when cursor repositioning already works. That usually means x11 or xwayland, but I haven't been able to reliably prove this fixes anything outside of x11. Im a new modder, apologies.

Native Wayland seems to sometimes fail earlier than that. GLFW only supports glfwSetCursorPos on Wayland while the cursor is disabled. Minecraft GUI screens normally use a visible, enabled cursor, so a Wayland compositor may refuse Create's attempt to move the cursor in the first place.

In that case there is no moved cursor position for this mod to read:

Create asks GLFW to move/snap the cursor
The Wayland compositor refuses or ignores that cursor move
The visible cursor never moves to the saved setting
This mod cannot infer the intended cursor position from GLFW

If the cursor does not visibly move to the saved value when opening the Create panel, that setup is probably outside this mod's support boundary.

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
351 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
MineLandy
MineLandy Java + BE
28 онлайн
1.12.2 — 26.1.2 версия
Ванила и анархия без приватов — полная свобода действий и честное выживание
Minestory
19 онлайн
1.21 — 26.2 версия
Выживание • Экономика • Кланы • Приваты • Ивенты • PVP • Работа
Amiverse
7 онлайн
26.2 — 1.21 версия
Ванильное выживание без гриферства, в приятной компании
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.16.5. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат