0

I want to make a tnt that create 2 new primed tnt every time one of them explode. Is there a command to do that?

3
  • Keep in mind to be careful with this because normal methods would make it multiple infinitely until the game crashes
    – Penguin
    Commented Nov 26, 2020 at 23:47
  • I’m trying to test if my device can handle it Commented Nov 27, 2020 at 0:48
  • no device can handle infinitely expanding entities as it expands infinitely and will crash no mtter what device it is. You would have to have a special method.
    – Penguin
    Commented Nov 27, 2020 at 1:58

1 Answer 1

1

You can test for any primed TNT in your world, and if it succeeds, set a redstone block to a nearby location which is next to another command block:

Rpt: /testfor @e[type=tnt]
Cnd: /setblock 12 23 34 redstone_block
13
  • What do rpt and cnd mean?
    – Penguin
    Commented Nov 26, 2020 at 23:46
  • @Penguin Command block settings. If you were to make a command chain out of these, those display the required settings for the command blocks. CND = conditional, RPT = repeating.
    – One 2 Many
    Commented Nov 27, 2020 at 0:07
  • I mean a command to check if the primed tnt explodes. Commented Nov 27, 2020 at 0:46
  • Probably I can add delay to the command block Commented Nov 27, 2020 at 0:50
  • @Redstoner1635 Yes. When the /testfor detects a primed TNT, wait 4 seconds and then run the command.
    – One 2 Many
    Commented Nov 27, 2020 at 0:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .