Skip to content

Add Ixeris compatibility#48

Open
decce6 wants to merge 7 commits into
LemonCaramel:masterfrom
decce6:master
Open

Add Ixeris compatibility#48
decce6 wants to merge 7 commits into
LemonCaramel:masterfrom
decce6:master

Conversation

@decce6

@decce6 decce6 commented Nov 27, 2025

Copy link
Copy Markdown

This PR adds compatibility with Ixeris mod.

  • Added method to PlatformProvider to check whether Ixeris is installed
  • Added Main#runOnMainThread, Main#queryFromMainThread and Main#runOnRenderThread, which makes use of the API provided by Ixeris when it is installed

Closes #41 and decce6/Ixeris#51

@decce6

decce6 commented Dec 7, 2025

Copy link
Copy Markdown
Author

To explain why this was needed: Ixeris performs events polling on the main thread (the thread which the game is started on) and spawns a second thread as the render thread. Interactions with the native window need to happen on the main thread. Because event polling is done on the main thread, callbacks are invoked there too, instead of on the render thread, which is expected. Ixeris handles these when GLFW is used, and provides the API for mods that use native code.

I made this PR as non-invasive as possible. The interaction with Ixeris API is done completely in Main.java.

@decce6

decce6 commented Apr 13, 2026

Copy link
Copy Markdown
Author

I've resolved the merge conflicts and slightly improved performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[1.21.8] Unable to Automatically Switch Input Method When Opening Chat with Ixeris Mod Installed

2 participants