How do I bind a keybind element to the mouse button?

Started by Genom99 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I bind a keybind element to the mouse button?

I need to bind the left mouse button to use the item in adventure mode. Or the code itself to bind the mouse button.
With "import org.lwjgl.input.Mouse" I couldn't figure it out((

If there are any other options besides tethering, let me know. Thanks