modsmith Log in Log in Рус / Eng

Button Fix

buttonfix · 94119 downloads · LGPL-3.0-or-later

utility

client: required · server: unsupported (declared by the mod author)

A small client-side mod that fixes widget focus issues in any in-game GUI.

Description

Logo

A small client-side mod that fixes widget focus issues in any in-game GUI.

line

In Vanilla, GUI buttons and sliders remain focused after a mouse click until another widget claims focus for every version since 1.19.4. This can be visually distracting - especially when using resource packs that change the appearance of GUI widgets. Button Fix resolves this issue by properly resetting the focus after interaction.

Button behavior: Vanilla vs Button Fix

Slider behavior: Vanilla vs Button Fix

This fix applies to all sliders and pressable widgets in in-game GUIs - for example, the recipe book button in the inventory screen, or the buttons and sliders in the main menu, pause menu, or mod config screens - as long as they use vanilla widget implementations.

🐛 Bug report: MC-259387

line

‎ CURSEFORGE ‎ Gallery ‎ GITHUB BUTTON

Versions (21)

VersionMinecraftLoadersFile
1.1.0-forge+1.21.6-26.3 1.21.10, 1.21.11, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3 forge download
1.1.0-neoforge+1.20.5-26.3 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3 neoforge download
1.1.0-fabric+26.1-26.3 26.1, 26.1.1, 26.1.2, 26.2, 26.3 fabric, quilt download
1.1.0-forge+1.21.6-26.2 1.21.10, 1.21.11, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2 forge download
1.1.0-neoforge+1.20.5-26.2 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2 neoforge download
1.1.0-fabric+26.1-26.2 26.1, 26.1.1, 26.1.2, 26.2 fabric, quilt download
1.1.0-neoforge+1.20.5-26.1.2 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2 neoforge download
1.1.0-neoforge+1.20.4 1.20.4 neoforge download
1.1.0-neoforge+1.20.3 1.20.3 neoforge download
1.1.0-neoforge+1.20.2 1.20.2 neoforge download
1.1.0-neoforge+1.20.1 1.20.1 neoforge download
1.1.0-forge+1.21.6-26.1.2 1.21.10, 1.21.11, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2 forge download
1.1.0-forge+1.20.6-1.21.5 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5 forge download
1.1.0-forge+1.20.3-1.20.4 1.20.3, 1.20.4 forge download
1.1.0-forge+1.19.4-1.20.2 1.19.4, 1.20, 1.20.1, 1.20.2 forge download
1.1.0-fabric+26.1-26.1.2 26.1, 26.1.1, 26.1.2 fabric, quilt download
1.1.0-fabric+1.21.9-1.21.11 1.21.10, 1.21.11, 1.21.9 fabric, quilt download
1.1.0-fabric+1.20.3-1.21.8 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8 fabric, quilt download
1.1.0-fabric+1.19.4-1.20.2 1.19.4, 1.20, 1.20.1, 1.20.2 fabric, quilt download
1.0.5-fabric+1.21.9-1.21.11 1.21.10, 1.21.11, 1.21.9 fabric, quilt download
1.0.5-fabric+1.19.4-1.21.8 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8 fabric, quilt download

Modrinth page →