Started by
Somerandomdude
on
Topic category: Help with Minecraft modding (Java Edition)
Version is 2025.3
I need to replace the inventory of the player, so I can hide some slots with the new GUI. Is there a way to detect if the basic inventory is open for the player?
I don't want to use keybinds, because I'm afraid what will happen if the player changes keybind.
There is no direct way to modify inventory of the player.
Best approach would be mixins and custom code, but that may introduce compatiblity problems with other mods.
I know, but is there a way to detect if the basic inventory is open for players? Maybe I could use that detection to something else...