Started by
Radek_Slayer
on
Topic category: Help with Minecraft modding (Java Edition)
i want the procedure to wait 20 ticks and add one "Percent" item to inventory then wait 20 ticks again and then add one "Percent" item to inventory again and like that multiple times but it just waits 20 ticks and it adds a lots of these "Percents" in an incredibly fast time.
can someone help me?
Edited by Radek_Slayer on Sun, 07/09/2023 - 09:37
What this does is, every single tick, 20 ticks later, it will add an item to your inventory. I would suggest not making this "Item in hand" trigger, and instead, after the "Add 1 item to inventory" block, add a "Call procedure ..." block (under Advanced) and setting the procedure in the block to be this procedure.
it didn't work :( it didn't add any Percents to my inventory when i held the Computer
Now you will need to start off this loop somehow. Try setting this procedure to the trigger "When right clicked (entity pos.)"
thanks! it worked :)