[MCreator 1.8.1 procedures]How to make TNT that ONLY explodes conditionally

Started by jadenquinn8 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[MCreator 1.8.1 procedures]How to make TNT that ONLY explodes conditionally

I want to know how to create a block that is basically TNT, that ONLY explodes if flint and steel is in player’s hand, just like the one from MC.

Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MAIN HAND that is.
Mon, 01/07/2019 - 20:52

MAIN HAND that is.

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Then add to when block…
Tue, 01/08/2019 - 19:02

Then add to when block rightclicked 

if mainhand = flint_and_steel:

    explode at x y z.

Done.