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

Started by jadenquinn8 on

Topic category: Help with modding (Java Edition)

Last seen on 06:31, 18. Nov 2022
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.

Last seen on 06:31, 18. Nov 2022
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.

Last seen on 14:43, 2. Aug 2022
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.