Detecting right click release or detecting when right click not pressed

Started by Water577 on

Topic category: Help with MCreator software

Last seen on 03:27, 1. Oct 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detecting right click release or detecting when right click not pressed

So I want to have a player persistent variable telling me when right click not pressed / released. This is for my gun mod, and will make it so the player has to release right click then click again to shoot

Last seen on 02:25, 1. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedures have the "Player…
Tue, 10/01/2024 - 00:13

Procedures have the "Player rightclick with item" additional trigger you can use.

Last seen on 01:29, 1. Oct 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I mean like a way to tell…
Tue, 10/01/2024 - 01:09

I mean like a way to tell when right click not pressed or run a procedure 1 time when right click pressed. When i hold right click  i don't want it to do procedure over and over again.

Last seen on 01:55, 1. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you make your item …
Tue, 10/01/2024 - 01:55

If you make your item "Useable" (Like bows, shields, foods, or tridents) you could just use "Player uses item" and "Player stops using item".

Last seen on 03:27, 1. Oct 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When I put the shoot…
Tue, 10/01/2024 - 03:21

When I put the shoot Procedure in the "Player stops using item" or "Player uses item" place it doesn't run the procedure at all.