Slow down shift clicking??

Started by madcock83 on Wed, 09/15/2021 - 08:31

Topic category: Help with modding (Java Edition)

Last seen on 01:16, 18. Sep 2021
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Slow down shift clicking??
Wed, 09/15/2021 - 08:31

This is pretty simple but dont know how to fix.  I have a tool. I want it to have a magnet ablitites.  So i made a clone of the tool. One has magnet other does not.
If you shift right click it removes the tool and places the other version in the same hand.  All is good

Except when you shift click it goes so fast that it remove tool A, replaces it with tool B, then switches back it tool A. as fast as you can click it does 2 actions. Hope this make sense.
if you shift click with both items it switches back to the other. but its happening so fast you cant get to the other tool unless you just happen to catch the game in between ticks. which is rare. 
 

Any ides would be great

Last seen on 09:48, 20. Sep 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
just add a cooldown delay to…
Wed, 09/15/2021 - 09:37

just add a cooldown delay to the click and make it so you can only click after the cooldown wears off.

Last seen on 01:16, 18. Sep 2021
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I've been watching videos…
Wed, 09/15/2021 - 12:42

I've been watching videos with these for the last week. For some reason it never clicked to us it.......