Started by
Water577
on
Topic category: Help with MCreator software
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
Procedures have the "Player rightclick with item" additional trigger you can use.
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.
If you make your item "Useable" (Like bows, shields, foods, or tridents) you could just use "Player uses item" and "Player stops using item".
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.
Is your item usable? ("Item use duration" in "Properties" of your item)
^ it should be greater than -1
^ if you want it to not be actually consumed just set it to a very high number
yeah the duration is greater then -1, the duration is 40, would it have something to do with it being a gecko lib animated item?
oh, ummm maybe..? In that case I don't know.. sorry.
its fine, its not too important.