TNT MOD without Forge [Minecraft 1.16]

Diamond Street TNT

CommandBlock [Repeat, Always Active]: /execute as @e[tag=diamondtnt] at @e[tag=diamondtnt] run fill ~ ~ ~ ~ ~ ~10 minecraft:diamond_ore

CommandBlock 2 [Repeat, Always Active]: /kill @e[tag=diamondtnt]

Get TNT: /give @p mooshroom_spawn_egg{EntityTag:{id:"minecraft:slime",Size:0,CustomName:"\"DiamondTNT\"",CustomNameVisible:1,Tags:["diamondtnt"]}}

Diamond Street TNT 1-use-code

summon falling_block ~ ~1 ~ {Time:1,BlockState:{Name:redstone_block},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,Time:1,BlockState:{Name:activator_rail},Passengers:[{id:command_block_minecart,Command:'gamerule commandBlockOutput false'},{id:command_block_minecart,Command:'data merge block ~ ~-2 ~ {auto:0}'},{id:command_block_minecart,Command:'/setblock ~4 ~1 ~ repeating_command_block{Command:"/execute as @e[tag=diamondtnt] at @e[tag=diamondtnt] run fill ~ ~ ~ ~ ~ ~10 minecraft:diamond_ore",auto:1b} destroy'},{id:command_block_minecart,Command:'/setblock ~6 ~1 ~ repeating_command_block{Command:"/kill @e[tag=diamondtnt]",auto:1b} destroy'},{id:command_block_minecart,Command:'setblock ~ ~1 ~ command_block{auto:1,Command:"fill ~ ~ ~ ~ ~-2 ~ air"}'},{id:command_block_minecart,Command:'kill @e[type=command_block_minecart,distance=..1]'}]}]}]}

Miner TNT

CommandBlock [Repeat, Always Active]: /execute as @e[tag=minertnt] at @e[tag=minertnt] run fill ~-10 ~-10 ~-10 ~10 ~10 ~10 minecraft:air

CommandBlock 2 [Repeat, Always Active]: /kill @e[tag=minertnt]

Get TNT: /give @p mooshroom_spawn_egg{EntityTag:{id:"minecraft:slime",Size:0,CustomName:"\"MinerTNT\"",CustomNameVisible:1,Tags:["minertnt"]}}

Miner TNT 1-Use-Code

summon falling_block ~ ~1 ~ {Time:1,BlockState:{Name:redstone_block},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,Time:1,BlockState:{Name:activator_rail},Passengers:[{id:command_block_minecart,Command:'gamerule commandBlockOutput false'},{id:command_block_minecart,Command:'data merge block ~ ~-2 ~ {auto:0}'},{id:command_block_minecart,Command:'/setblock ~4 ~1 ~ repeating_command_block{Command:"/execute as @e[tag=minertnt] at @e[tag=minertnt] run fill ~-10 ~-10 ~-10 ~10 ~10 ~10 minecraft:air",auto:1b} destroy'},{id:command_block_minecart,Command:'/setblock ~6 ~1 ~ repeating_command_block{Command:"/kill @e[tag=minertnt]",auto:1b} destroy'},{id:command_block_minecart,Command:'setblock ~ ~1 ~ command_block{auto:1,Command:"fill ~ ~ ~ ~ ~-2 ~ air"}'},{id:command_block_minecart,Command:'kill @e[type=command_block_minecart,distance=..1]'}]}]}]}

Instant TNT TNT

CommandBlock [Repeat, Always Active]: /execute as @e[tag=tnttnt] at @e[tag=tnttnt] run summon tnt ~ ~ ~

CommandBlock 2 [Repeat, Always Active]: /kill @e[tag=tnttnt]

Get TNT: /give @p mooshroom_spawn_egg{EntityTag:{id:"minecraft:slime",Size:0,CustomName:"\"TNT TNT\"",CustomNameVisible:1,Tags:["tnttnt"]}}

XRay TNT [Developement]

CommandBlock [Repeat, Always Active]: /execute as @e[tag=xraytnt] at @e[tag=xraytnt] run fill ~-10 ~-10 ~-10 ~10 ~10 ~10 minecraft:air replace minecraft:stone

CommandBlock 2 [Repeat, Always Active]: /kill @e[tag=xraytnt]

Get TNT: /give @p mooshroom_spawn_egg{EntityTag:{id:"minecraft:slime",Size:0,CustomName:"\"XRay TNT\"",CustomNameVisible:1,Tags:["xraytnt"]}}