Legacy-lwjgl3
Features
- makes the game use lwjgl3 on old (<1.13) versions
- redirects clipboard access to glfw
- makes glfw use its wayland backend if possible:
- Injects a .desktop file and the icon in the correct locations for them to function correctly
- Loads & Displays a virtual cursor on in-game screens to support setting the cursor position
See the "Accessed Paths" and "Accessed Programs" sections if you're running the game in a sandbox (e.g. through a launcher installed as a flatpak) and make sure to allow the minecraft process to access these!
Dependencies
- This mod is best used in combination with OSL, but doesn't depend on it. OSL is required in case any resourcepack resource-overriding functionality is wanted.
Options
- (Wayland Only) the property
virtual_mouse.export
can be passed astrue
to export the loaded cursor to acursors
directory in the instance folder. It will contain all images contained in the cursor as well as all metadata. It will also create a human-readable metadata file for each image, and acursor.cursor
file in the cursor config format. This file may be used to generate a new X11 cursor out of the images with thexcursorgen
program.
Accessed Paths (Wayland Only)
$HOME/.local/share/applications/com.mojang.minecraft.desktop
$HOME/.local/share/icons/hicolor/apps/{16x16, 32x32}/minecraft.png
$HOME/.local/share/icons/<theme>/cursors/left_ptr
$HOME/.icons/<theme>/cursors/left_ptr
/usr/share/icons/<theme>/cursors/left_ptr
Accessed Programs
xdg-icon-resource
(to update the icon system)gsettings
(to query for cursor theme & size)
Compatibility
- Compatible with OptiFabric (incl. Shaders)
- Should be compatible with about any other mod there is as long as the minecraft version is
If a mod isn't, make sure to report it on the issue tracker!
Gallery
In the best case you won't even notice this mod is installed. Due to this, there are no menus or anything else obvious this mod adds. Therefore, gallery images are not very useful to add since there is nothing important for them to show.
Credits
- gudenau (Original Forge Mod Author) Original Source
- Zarzelcow (Original Legacyfabric Mod Author, port of gudenau's mod) Original Source
- KDE visual design group (the fallback cursor file shipped with the mod is from KDE's breeze cursor theme)
Changes over the original Legacyfabric Mod
- Improve the original function of the mod (translation of lwjgl2 to lwjgl3)
- Fix compatibility with other mods
- Add compatibility with Shaders/Optifabric
- Add improvements for usage on wayland
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Compatibility
Minecraft: Java Edition
1.12.x
1.11.x
1.10.x
1.9.x
1.8.x
1.2.5
1.0
b1.7.3
a1.0.16–b1.7
Platforms
Fabric
Supported environments
Creators
Details
Licensed LGPL-2.1-only
Published 10 months ago
Updated 3 weeks ago