Raw Cod command
minecraft:codEnglish name Raw Cod
Raw Cod (minecraft:cod) can be stacked up to 64.Restores 2 hunger when eaten.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.
Common Commands
Give the nearest player 1 Raw Cod
/give @p minecraft:cod
Give a stack (64)
/give @p minecraft:cod 64
Give all players
/give @a minecraft:cod
Gold Name
/give @p cod[custom_name={translate:"item.minecraft.cod",color:"gold",italic:false}]To use a name of your own, replace the translate part with plain text
Clear all Raw Cod from the player
/clear @p minecraft:cod
Check if holding Raw Cod
/execute as @a if items entity @s weapon.mainhand minecraft:cod run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.cod"}]Basic Information
- Item ID
- minecraft:cod
- Max Stack Size
- 64
- Hunger
- 2 (Saturation: 0.4)
- Type
- Item
Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.