ctx.ent.x / ctx.ent.y — block coords where TNT detonates
ctx.ent.power — selected power (x1, x10, x100…)
ctx.strongBlast(x,y,p) — carves crater; returns radius
ctx.spawnExplosionVFX(x,y,r,p) — shockwaves, sparks, screenshake
ctx.applyExplosionDamage(x,y,r,p) — hurts villagers
ctx.fillCircle(x,y,r,tile) — fill crater with WATER/LAVA/etc
ctx.spawnProjectile({...}) — flying TNT projectiles
If you want, I can tailor this page to match your exact API names if your functions differ.