Gunpowder Command Examples
- Give 1 to nearest player:
/give @p minecraft:gunpowder 1 - Give 1 to yourself:
/give @s minecraft:gunpowder 1 - Give to a specific player:
/give PlayerName minecraft:gunpowder 1 - Clear from inventory:
/clear @p minecraft:gunpowder
Gunpowder FAQ
What is the item ID for Gunpowder?
The item ID for Gunpowder is minecraft:gunpowder. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Gunpowder?
Gunpowder has the historical numerical ID 289, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:gunpowder instead.
How do I give myself Gunpowder in Minecraft?
Open the chat window and run /give @p minecraft:gunpowder 1 to give the nearest player one Gunpowder. Replace @p with a player name to target someone else.
How many Gunpowder can stack in one slot?
Gunpowder stacks up to 64 per inventory slot.
What can you craft with Gunpowder?
Gunpowder is used to craft TNT, Fire Charge, Firework Rocket.
Sources and Data Review
Item facts were reviewed for Java Edition 1.21.11 on .
