Jump to content

Trying to detect when player left clicks - 1.8.9


CyborgGamer21

Recommended Posts

As the title says I'm trying to detect when the player left clicks. Is there a event that I can use? Does anyone know how to?

I currently have this line of code to do it but doesn't count each click, instead it counts how long you hold it down:

Minecraft.getMinecraft().gameSettings.keyBindAttack.isKeyDown()

 

Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.