Gunpowder is a versatile crafting ingredient obtained primarily by killing Creepers, Ghasts, Witches, or looting dungeon chests. It is essential for creating explosives such as TNT, used for mining or as a weapon, and is also a key component in crafting fireworks, allowing players to customize color, shape, and duration of the firework's explosion. Additionally, gunpowder can be used to brew splash potions, turning them into throwable items with various effects.
The numerical item ID for Gunpowder is 289
Numerical item IDs will only work in Minecraft versions below 1.13.
The item ID for Gunpowder is minecraft:gunpowder
This is the spawn command to give yourself Gunpowder in Minecraft which includes the Minecraft /give command. If you are using the Essentials plugin you will need to use /minecraft:give instead of /give