The Pumpkin is a block that naturally generates in patches across various biomes and can be worn as a helmet or used as a component in crafting recipes. Players often utilize it to create golems or as a decorative element during festive occasions. When carved, it becomes a Jack o'Lantern, a light-emitting variant. It also prevents Endermen from becoming aggressive when looked at directly while worn on the player's head.
The numerical item ID for Pumpkin is 86
Numerical item IDs will only work in Minecraft versions below 1.13.
The item ID for Pumpkin is minecraft:pumpkin
This is the spawn command to give yourself Pumpkin 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