TNT

TNT is an explosive block.

Obtaining
TNT can be broken instantly with any tool, or without a tool. However, primed TNT cannot be broken.

Natural generation
Nine TNT blocks occur naturally in each desert temple trap.

Usage


TNT blocks can be activated by:
 * being with flint and steel
 * a powered redstone current
 * being shot with a Flame-enchanted arrow
 * being placed by a dispenser
 * being hit by a fire charge
 * coming into contact with spreading fire or lava
 * being in the blast radius of a nearby explosion, including that of another TNT block

Behavior
Once activated, TNT turns into an entity. It is spawned at the center (+0.5,+0.5,+0.5) of a powered TNT block, while itself is a cube with an edge length of 0.98. Its fuse lasts 40 redstone ticks (4 seconds/80 game ticks) if activated by redstone or fire, or a random number between 10 to 30 game ticks (.5 to 1.5 seconds) if it's destroyed by an explosion.

Primed TNT's texture blinks, with its texture alternating between its standard texture and a pure white texture. The texture will blink at a rate of 2 times per second.

Once spawned, primed TNT is given a vertical velocity of 0.2 m/tick, and a horizontal velocity of 0.02 m/tick in a random direction. If it does not collide with another block, it will travel 0.166m horizontally on flat ground before it stops. When the countdown timer expires, the TNT explodes. When unsupported, it will fall 77 blocks before exploding. The explosion has an explosive force of 4.

Primed TNT will catch on fire if it is shot through lava. It can be pushed by water.

When the player primes TNT and the primed block falls into the end, the TNT block will detonate when the player enters the end. When primed TNT is directed towards a nether portal, it will only pass through said blocks and not travel into the Nether.

Primed TNT will explode immediately if summoned by a command without specifying the fuse time, because it defaults to zero.

If the TNT explodes in water, it will do no damage to blocks, but will still damage mobs. In the Console Edition, though, it does not damage mobs.

Redstone component
For redstone to activate TNT, it must lead directly to the TNT, or power an adjacent block.

Traps
TNT traps can be used in variety of traps. The simplest of them - a land mine - is made of TNT connected to a pressure plate or tripwire with redstone.

Cannons
TNT cannons are mechanisms that launch primed TNT into the air. Some cannons can also be used to launch other entities into the air or into other objects.

Mob farms
Mobs killed by player-ignited TNT (via flint and steel or by flaming arrows) will drop experience orbs as though they were killed by the player in regular combat.

Other uses
Because they are destroyed in one hit, they can be used in spleef arenas. They work better than dirt or other materials and do not need a tool to be destroyed. This use depends on no player coming in with items that could be used to activate TNT.

Due to their destructive force, they are commonly used by griefers.

Data values
TNT uses one ID name:. It uses block data to determine whether the TNT should activate when broken or not. It also uses block states, which will replace block data in the future.

Trivia

 * "TNT" stands for Trinitrotoluene.
 * However, the use of sand in the crafting recipe references dynamite, a different high explosive consisting of nitroglycerine mixed with diatomaceous earth (which is mostly silica, the same chemical compound as yellow sand).
 * If TNT is blown up just as an arrow passes by, then the arrow is redirected opposite of the blast.
 * Although flint and steel cannot light fires in Adventure Mode, it can still ignite TNT.
 * While under the effects of a Potion of Night Vision, TNT will appear full bright as usual, but will ignore the potion's effect and take on the light around it when primed, because it's an entity when it's primed.
 * If TNT, when primed, hops up and just barely lands on a block directly below and next to it, and then slides off, the TNT will fall, but the explosion will appear where the TNT almost landed before sliding off.
 * It takes 19.75 blocks to fall for it to reduce the timer for one second.
 * Although primed TNT will get caught in cobwebs, TNT propelled fast enough will fly through them without slowing down at all.
 * The longest fuse time for TNT is 127 ticks.