Pixel art illustration of a small pile of melon seeds
Minecraft Java Item ID

Melon Seeds ID

Melon seeds are planted on farmland to grow a stem that produces melon blocks on adjacent dirt. They are crafted from melon slices and provide a renewable food farming option.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:melon_seeds

Melon Seeds Item Facts

CategoryMaterials
Maximum stack64
Available inSurvival and Creative
Historical numerical ID362

Historical numerical ID: Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Melon Seeds

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:melon_seeds 1

Customize this command →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 362 1

Give command syntax by version

Java 1.13+
/give @p minecraft:melon_seeds 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 362 1 0
Numerical ID + data value

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Melon Seeds

Crafting Recipe

Combine 1 melon slice in any arrangement on a crafting table — makes 1 × Melon Seeds.

Prefer commands? Jump back to the give command matrix above to get Melon Seeds instantly.

About Melon Seeds in Minecraft

Melon seeds are planted on farmland to grow a stem that produces melon blocks on adjacent dirt. They are crafted from melon slices and provide a renewable food farming option.

Melon Seeds Command Examples

  • Give 1 to nearest player: /give @p minecraft:melon_seeds 1
  • Give 1 to yourself: /give @s minecraft:melon_seeds 1
  • Give to a specific player: /give PlayerName minecraft:melon_seeds 1
  • Clear from inventory: /clear @p minecraft:melon_seeds

Melon Seeds FAQ

What is the item ID for Melon Seeds?

The item ID for Melon Seeds is minecraft:melon_seeds. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Melon Seeds?

Melon Seeds has the historical numerical ID 362, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:melon_seeds instead.

How do I give myself Melon Seeds in Minecraft?

Open the chat window and run /give @p minecraft:melon_seeds 1 to give the nearest player one Melon Seeds. Replace @p with a player name to target someone else.

How many Melon Seeds can stack in one slot?

Melon Seeds stacks up to 64 per inventory slot.

How do you craft Melon Seeds?

Melon Seeds is crafted on a crafting table with 1 melon slice, which yields 1 Melon Seeds.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Materials

Item ID: minecraft:diamond
Item ID: minecraft:netherite_ingot
Item ID: minecraft:blaze_rod
Item ID: minecraft:heart_of_the_sea
Item ID: minecraft:magma_cream
Item ID: minecraft:nether_star