Click events occur twice

Started by crawfishy on

Topic category: Help with MCreator software

Last seen on 03:39, 26. Feb 2024
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Click events occur twice

I have seen this issue come up many times on the forum and even though solutions have been offered, it still seems to be a problem.
I am trying to make a procedure that fires when the player left clicks on a block... Sounds simple.
But the event fires twice. I understand this has something to do with the fact that Minecraft has a server side and a client side but as you can see in the code blocks below, I have tried checking for this and still having problems.

Minecraft 1.20.1 - Single player
Forge 47.1.0
MCreator 2023.4

Test 1 - When left clicking a block, this event occurs twice:

Test 2 - When left clicking a block, this event occurs twice:

Test 3 - When left clicking a block, this event DOES NOT occur:

Is this an on-going bug in MCreator or am I just missing something here?