Started by
guardtown4
on
Topic category: Help with Minecraft modding (Java Edition)
I made a procedure that triggers when you right click on air with an item. However, the item's procedure is happening twice. Please help.
It's strange because the procedure plays sounds twice but doesn't send the chat message twice. I'm pretty sure it's some weird stuff with server/client sides.
Show whole procedure
Looks to me that your blocks above the "If/do" flow are misplaced and you have random vars. One of them is set to 30%. This procedure will not work 100% of the time.
Order should be,
If/do block in flow
your Var - I dont think you need vars in this situation
AND block
Then your "set item in hand" block
etc
This is just one way of doing it. If your going to use vars. I highly suggest watching tutorials.
GL
Chew
You can also use the: "Is provided world remove (client side)" in procedure.
Use this to make procedure only run when client side.