I am new to java and i have some basic knowledge on how to create a plugin so I do not know a lot of stuff. I was wondering if it is possible when someone is pressing E (the button) it would open a custom inventory instead of the normal one. I have learned that you can open custom inventories by clicking a block or the air by typing (e.getAction() == Action.LEFT_CLICK_AIR)) return; (it depends on where you want the player to click) . So if it is possible for a player to open a custom inventory by pressing E is it possible to do so with getAction ??