How do I mimic a flint and steel?

Started by Jargonloster on

Topic category: Help with MCreator software

Last seen on 18:04, 6. Jun 2019
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I mimic a flint and steel?
Wed, 06/05/2019 - 18:38 (edited)

I've got an item that acts *almost* like a flint and steel when right-clicking a block and spawns lightning when sneak right-clicking a block. 

The problem is that in order to act like a flint and steel I'm spawning a "fire block" at y+1 in relation to the block right clicked, but with a normal flint and steel, fire can be placed on the side of blocks as well. I tried looking at the actual code for the flint and steel, but I couldn't completely decipher it.

So any help with this would be great.

I'll attach an image of my procedure code: 

http://prntscr.com/ny2e30

Edited by Jargonloster on Wed, 06/05/2019 - 18:38
Last seen on 09:08, 28. Mar 2021
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh... I will see the…
Sat, 06/15/2019 - 08:03

Oh... I will see the screenshot and write the problem.

Last seen on 09:08, 28. Mar 2021
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I mean "what is the problem".
Sat, 06/15/2019 - 08:04

I mean "what is the problem".

Last seen on 09:08, 28. Mar 2021
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, idk.
Sat, 06/15/2019 - 08:06

Ok, idk.