How can I detect a Right Click every tick?

Started by 555zxc on

Topic category: Help with modding (Java Edition)

Last seen on 09:48, 22. Oct 2021
Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I detect a Right Click every tick?

I basicly want to have a procedure happen every tick when Righ Click is held down. Problem is All triggers that detect right click can only happen every 4 ticks. Is there a way to detect right click every tick? I also tried using a code snipper that detects the Use keybind but then it does the procedure only once every time I click instead of continously doing it. Please help!

 

Last seen on 09:48, 22. Oct 2021
Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you SO MUCH, I dont…
Thu, 10/21/2021 - 17:42

Thank you SO MUCH, I dont know if you understand, but this bassicly enables proper guns with actual fire rate. I love you. 

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nice. good luck on your mod
Thu, 10/21/2021 - 17:47

nice. good luck on your mod

Last seen on 09:48, 22. Oct 2021
Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Uhh, I didnt find the…
Fri, 10/22/2021 - 07:47

Uhh, I didnt find the procedure in the addon. U sure tis the right addon?

 

Last seen on 09:48, 22. Oct 2021
Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind I found it i…
Fri, 10/22/2021 - 08:02

Nevermind I found it i forgot to restard mcreator and the tab didnt appear

Last seen on 09:48, 22. Oct 2021
Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bruh it says "Statement do…
Fri, 10/22/2021 - 08:08

Bruh it says "Statement do does not support local variables"

Last seen on 09:48, 22. Oct 2021
Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Welp, guess this wont work…
Fri, 10/22/2021 - 09:13

Welp, guess this wont work as the "is KEY down" uses glfw_Key and mouse is detected with glfw_mouse. I tried altering it but the if do thing it comes with is evertremly glitchy. welp guess i wont be able to have custom fire rate :')

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I mean you can always see…
Fri, 10/22/2021 - 16:31

I mean you can always see the github repository of another gun mods and see how they did it 

I did that via tools' "right…
Tue, 11/16/2021 - 11:45

I did that via tools' "right-click on air" trigger, it works smoothly. And it is much more lag-free, because it doesn't check the procedure every tick.

Last seen on 11:53, 24. Apr 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@RexCerv , does the plug-in…
Wed, 04/20/2022 - 10:03

@RexCerv , does the plug-in still exist ?

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah I think but I…
Wed, 04/20/2022 - 16:18

yeah I think but I understood you wrong, my method ain't gonna work, use toma one

Last seen on 16:00, 19. Dec 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@RexCerv is that plugin…
Fri, 12/16/2022 - 20:38

@RexCerv is that plugin removed from mcreator? it says page not found. or is just an issue with me?

Last seen on 16:21, 15. Apr 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the plugin still exist i…
Thu, 10/05/2023 - 07:13

the plugin still exist i cant find use the link