Introduction: Minecraft Auto-Lighting TNT

About: Hello, I'm Heshy.

Hello, in this Instructable I'm going to show you how to make Auto-Lighting TNT with just a few command blocks. After you finish this project, you will be able to explode TNT without any fire source.

Step 1: Placing the Command Blocks

So, first we need to give ourselves a command block. (Be sure that cheats are enabled on the world, and that you're on creative mode.) Do this by typing "/give @p command_block".

Next we need to place 4 blocks in a straight line, being sure to place them with their arrows facing the backs of the blocks. (Refer to the picture.)

Step 2: Changing the Command Block Types

In order for the circuit to work, we need a repeating command block, and 3 chain command blocks.

Do the following:

1. Open the first command block by right-clicking it.

2. Click the "Impulse" button twice.

3. Leave the "Unconditional" button alone.

4. Click the "Needs Redstone" button once.

5. Open the next command block in line by right-clicking it.

6. Click the "Impulse" button once.

7. Leave the "Unconditional" button alone.

8. Click the "Needs Redstone" button once.

9. Do steps 5-8 until you have changed all the command blocks.

Step 3: Programming the Command Blocks

Now it's time for the fun part! Programming the command blocks.

Do as following:

In the first command block (The now purple one.)

type this code into the text box:

/testfor @e[score_place_tnt_min=1]

In the second command block.

type this code into the text box:

/execute @e[score_place_tnt_min=1] ~ ~ ~ /fill ~3 ~3 ~3 ~-3 ~-3 ~-3 redstone_block 0 replace air

In the third command block.

type this code into the text box:

/execute @e[score_place_tnt_min=1] ~ ~ ~ /fill ~3 ~3 ~3 ~-3 ~-3 ~-3 air 0 replace redstone_block

In the fourth command block.

type this code into the text box:

/scoreboard players set @e[score_place_tnt_min=1] place_tnt 0

Now all we have to do is type "/scoreboard objectives add place_tnt stat.useItem.minecraft.tnt", and we're done!

Now if you place a TNT, it will automatically light!

Step 4: How Does It Work?

Alright nice, it works! But why and how does it work?

This is how it works:

When you place a TNT block, it triggers a scoreboard objective.

Then, a command block realizes that you placed a TNT.

Finally, it surrounds your player with a bunch of redstone blocks, which appear and disappear so quickly, that you don't see them. The redstone blocks light the TNT, and, boom! We have ourselves auto-lighting TNT!

Step 5: Conclusion

Thanks for taking the time to read this Instructable. I hope you enjoyed it!

Comment below to give me feedback, or other ways that I can improve this project.

Minecraft Challenge 2018

Participated in the
Minecraft Challenge 2018