scoreboard objectives add tntexplode dummy tntexplode
scoreboard players add @s tntexplode 1
execute @s[scores={tntexplode=79}] ~ ~ ~ summon ghast
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 netherrack 0 replace grass
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 netherrack 0 replace dirt
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 blackstone 0 replace stone
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 soul_soil 0 replace sand
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 soul_sand 0 replace gravel
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 nether_gold_ore 0 replace coal_ore
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 quartz_ore 0 replace iron_ore
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 nether_gold_ore 0 replace gold_ore
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 ancient_debris 0 replace diamond_ore
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 ancient_debris 0 replace emerald_ore
execute @s[scores={tntexplode=79}] ~ ~ ~ fill ~-10 ~-10 ~-10 ~10 ~10 ~10 lava 0 replace water