Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

What is the method to left click?

Recommended Posts

I am trying to make a custom autoclicker for my client side mod which will be used on my smp server so that when someone presses down the key "v" it will toggle an autoclicker for them. I was wondering if anyone could tell me what the method is to register a left click? I would appreciate it!

Link to post
Share on other sites
9 minutes ago, Gubipe said:

can you link me to the documentation page for it?

There isn't one. Documentation (such as there is) is all inside the code itself.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.


Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.


DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to post
Share on other sites
2 hours ago, Draco18s said:

There isn't one. Documentation (such as there is) is all inside the code itself.

Sorry this might sound  dumb, I am new to working with minecraft mods. I was wondering if you could tell me the code location

Link to post
Share on other sites

There's probably something in or nearby to PlayerEntity (as a movement controller or something similar?)

I'd start with searching my workspace for something along the lines of KeystrokeHandler or PlayerMovementController

Edited by GenElectrovise

How to ask a good coding question: https://stackoverflow.com/help/how-to-ask

Give any applicable of: logs, code, desired effects, and actual effects. Be thorough or we can't help you, and don't post code without putting it in a code block (the <> button on the post - select "C-type Language"): syntax highlighting makes everything easier, and it keeps the post tidy.


My own mod, Magiks Most Evile! GitHub (https://github.com/GenElectrovise/MagiksMostEvile) Wiki (https://magiksmostevile.fandom.com/wiki/Magiks_Most_Evile_Wiki)

Edit your own signature at https://www.minecraftforge.net/forum/settings/signature/

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.