Started by
Charwie
on
Topic category: Help with Minecraft modding (Java Edition)
title says it all i want to have it so when you right click a block you get a item and then you can't get that item again until a specified amount of time later
You need to add a counter in the update tick trigger, count ticks since the last click and check for that in the right click trigger. I suggest you store the timer variable as a NBT value.
Thanks this helped a ton!
No problem :)