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 pumpkin 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 Pumpkin is:
The Pumpkin item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.
Pumpkins are the block that grow from pumpkin seeds in Minecraft. They cannot be crafted, but yield 4 pumpkin seeds when placed into the crafting table. As of 1.13, this item does not have a face carved into it. The new carved pumpkin block does, however.
|Max Stack Size||64|
|Recipes Used In||Pumpkin Seeds, Pumpkin Pie|
|Min / Max State IDs||3493 - 3493|