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

Started by Genom99 on

Topic category: Help with modding (Java Edition)

Last seen on 20:47, 4. Mar 2024
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