Started by
Tiny Desk Engineer
on
Topic category: Help with Minecraft modding (Java Edition)
I have a tool which needs to do something every tick the player holding it is holding right click, along with doing another thing on the tick the player starts pressing right click. How can I do this?
Add procedure here ->
For when the player is doing something else when it starts pressing, add an nbt boolean variable and set it true if the condition is met
Verify if the nbt variable is true, if it is, execute the thing you want to execute