How to make a block catch on fire when right clicked with flint and steel

Started by i9e_ on

Topic category: Help with modding (Java Edition)

Last seen on 19:23, 28. Feb 2023
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a block catch on fire when right clicked with flint and steel
Tue, 02/14/2023 - 20:31 (edited)

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
Last seen on 15:56, 2. Dec 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi i9e_,   Go to your Block,…
Sat, 02/18/2023 - 11:50

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 )

Last seen on 15:56, 2. Dec 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ohh forgot to say that u…
Sat, 02/18/2023 - 11:58

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

Last seen on 14:49, 4. Dec 2023
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
its not workin i made an…
Thu, 07/13/2023 - 16:22

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