Create Cursor Anchor Fix 图标

Create Cursor Anchor Fix

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21.1

平台: neoforge

标签: game-mechanics optimization technology

资源介绍

Create Cursor Anchor Fix

Fixes the cursor in Create's value settings screens on Linux — including native Wayland.

When you open a Create value settings window (Rotation Speed Controller, creative motors, anything
using ValueSettingsScreen), Create warps the OS cursor onto the current value and reads it back
to decide which value you picked. On Linux that breaks:

  • X11 / XWayland — Minecraft sometimes hands Create stale cursor coordinates, so the wrong
    value gets saved
    .
  • Native Wayland — the compositor forbids moving a visible cursor, so the warp does nothing
    and the value snaps to zero / a wrong number.

This client-side mod fixes both.

What it does

  • X11 / XWayland — feeds Create the live cursor position, so the saved value always matches
    where your cursor is.
  • Native Wayland — uses an anchor/offset model instead of relying on the (forbidden)
    cursor warp. The value highlight lands on the current setting when the screen opens and follows
    your mouse relatively, with no cursor teleporting. While the screen is open the system cursor is
    hidden and the highlight itself acts as the pointer — so there is no mismatch between an
    un-movable arrow and the highlight (this also fixes setups using cursor-pinning GLFW patches like
    glfw-wayland-minecraft-cursor).

Power Grid compatibility

Power Grid's settings screens subclass Create's screen and override the save logic to read the
slider/cursor on their own, so the base fix doesn't reach them and they'd still save the raw
cursor position. This mod includes a compatibility layer that applies the same correction to Power
Grid's screens, so values save correctly there too. Power Grid is not required — the compat
layer is skipped automatically when it isn't installed.

Requirements

  • Minecraft 1.21.1
  • NeoForge 21.1.219+
  • Create 6.0.9+ (tested on 6.0.10)

Client-side only — not needed on the server.

Open source

Clean-room implementation, MIT licensed. Source, issues and builds:
https://github.com/LowaSC/create-cursor-anchor-fix

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Progression Plus

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

查看详情
Soiled

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

查看详情
3D Hoes

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

查看详情
Wilder Birch Backport 26.4

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

查看详情