Started by
i9e_
on
Topic category: Help with Minecraft modding (Java Edition)
So, i have made a custom block that is kinda like the redstone dust, when you right click on a block with it, it will place a pile of powder. And when you right click on the pile with flint and steel, it will turn itself into a fire and the flint and steel should lose durability. And i don't know how to achieve that with procedures.
Edited by i9e_ on Tue, 02/14/2023 - 20:31
Hi i9e_,
Go to your Block, go to Properties and Check this:
Go to Trigges and Activate this:
Use this code:
Go Back to Triggers and choose the procedure
Now It works ( not for offhand cause it will cause bugs ( but i g no one uses it either) later )
Ohh forgot to say that u need to click this to add the variable and set it to string:
Now the Set Local item in hand should be ther for u aswell
its not workin i made an item and i right clicked it onto a block after i put all the code and binded it but it didnt work