Right Click happens twice?

Started by ItsJustKen on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Right Click happens twice?

https://imgur.com/a/ZAuR4IC

I made a simple procedure that plays one of multiple sounds on right click with a cool down.
But whenever I right click, it plays two of the sounds THEN cools down, which leads me to believe it's registering two clicks in rapid succession before cooling.

Is there any way besides what I've done to only allow ONE input?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to put the entire…
Thu, 04/11/2024 - 13:27

You need to put the entire procedure in an "if" block, then attach a "not" block, then "is provided world client-side" That fixes a lot of glitches, including double click registration.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The double click problem is…
Sat, 11/30/2024 - 04:02

The double click problem is because it's doing it client and server at the same time, single player still as a server, this does create alot of problems