Started by
Shamichto
on
Topic category: Help with Minecraft modding (Java Edition)
Hi everybody, I just need help to do a sinlg_use item, the others topics are from 2-3 years ago ! I want to create a bandage that when you right click in the air (or on a block) one of the stack is use, can't find how to do this.
Thx for the help, have a great moding day.
ok first set its max stack size to 64. then put item usage count to 1.
i meant set to 1 not put to 1.
Ok after ?
I would suggest this solution because I think it's more easy to understand:
Step 1: Add a "Item right-clicked " procedure
Step 2: Code as follow: https://i.imgur.com/UgEUp9y.jpg (p/s: I would recommend you to add cool down for your item)
Step 3: Done
Its pretty easy and simple, hope this helps! :)
Oh and replace the iron ingot to your custom item