For tnt you can add a function in stateplay.cpp for exemple when a tnt explode, a function void makeExplode(int x, int y, int z, int range) and
Then :
for(int start_x = x ; start_x < x + range; start_x ++)
Same with y
Same with z
{
If get block (start_x,...) == tnt then
makeExplode(start_x,...)
Else
Block (start_x,...) = 0
}






