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

Started by jadenquinn8 on Mon, 01/07/2019 - 20:52

Topic category: Help with modding (Java Edition)

Last seen on 00:41, 29. Jul 2020
Joined Oct 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
[MCreator 1.8.1 procedures]How to make TNT that ONLY explodes conditionally
Mon, 01/07/2019 - 20:52

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 00:41, 29. Jul 2020
Joined Oct 2015
User points:

User statistics:

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

MAIN HAND that is.

Last seen on 07:58, 28. Oct 2020
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.