Pixel art illustration of a raw cod fish with blue-gray scales and a lighter belly
Minecraft Java Item ID

Raw Cod ID

Raw cod is caught by fishing or dropped by cod mobs. It cooks into cooked cod and can tame cats and feed dolphins.

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

Raw Cod Item Facts

Maximum stack64
Available inSurvival and Creative
Shared ID, data value 0 (Java 1.12.2 and earlier)349

Shared ID, data value 0 (Java 1.12.2 and earlier): Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Raw Cod

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

/give @p minecraft:cod 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 349 1

Give command syntax by version

Java 1.13+
/give @p minecraft:cod 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 349 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:cod 1
Same namespaced ID (namespace optional)

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 Raw Cod

Finding Raw Cod

  • Dropped when a Cod is killed.
  • Dropped when a Dolphin is killed.
  • Dropped when a Polar Bear is killed.
  • Dropped when an Elder Guardian is killed.
  • Dropped when a Guardian is killed.

Prefer commands? Jump back to the give command matrix above to get Raw Cod instantly.

Raw Cod Command Examples

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

Raw Cod FAQ

What is the item ID for Raw Cod?

The item ID for Raw Cod is minecraft:cod. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Raw Cod?

Raw Cod has the historical numerical ID 349 with data value 0, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:cod instead.

How do I give myself Raw Cod in Minecraft?

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

How many Raw Cod can stack in one slot?

Raw Cod stacks up to 64 per inventory slot.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Food & Drinks

Item ID: minecraft:golden_apple
Item ID: minecraft:honey_bottle
Item ID: minecraft:apple
Item ID: minecraft:bread
Item ID: minecraft:cooked_beef
Item ID: minecraft:cooked_porkchop
Item ID: minecraft:cooked_chicken
Item ID: minecraft:carrot