Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for tnt in Minecraft is shown below:
Items from earlier versions of Minecraft were assigned a numerical ID - a unique number to represent it.
The numerical ID for TNT is:
The TNT item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.
Block states are values assigned to a block that changes its state. For example, many blocks have a "direction" block state which can be used to change the direction a block faces.
Find a table of all blockstates for the TNT block below.
|Block State Name||Type||Values|
|unstable||bool ?|| |
TNT can be crafted by placing sand and gunpowder in the crafting table. The gunpowder should be in the middle and each corner, with sand in the empty slots. When ignited with flint and steel, or a fire arrow, it explodes and does damage to surrounding blocks.
|Max Stack Size||64|
|Recipes Used In||Minecart with TNT|
|Min / Max State IDs||1126 - 1127|