You can summon a cod whenever you want using a cheat (game command) in Minecraft. This is done using the /summon command. When you summon a cod, you will get a cod that is alive and swims around in the water.
Let's explore how to do this.
* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Summon Command in Minecraft Java Edition (PC/Mac)
In Minecraft Java Edition (PC/Mac), the syntax to summon a cod using the /summon command is:
/summon cod [pos] [nbt]
Definitions
- pos is optional. It is the x y z coordinate where the cod should spawn. If no coordinate is specified, the cod will spawn in the current location.
- nbt is optional. It is a compound NBT tag (formerly called data tag) that sets a property for the cod such as {CustomName:"\"Fishy\""} or {Health:5.0f}. See NBT tags for cod.
Summon Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE) 1.20, the syntax to summon a cod using the /summon command is:
/summon cod <nameTag> [spawnPos]
/summon cod [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon cod [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon cod [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Pocket Edition (PE) 1.16, 1.17, 1.18 and 1.19, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent] [nameTag]
/summon cod <nameTag> [spawnPos]
In Minecraft Pocket Edition (PE) 1.12, 1.13 and 1.14, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent]
Definitions
- spawnPos is optional. It is the x y z coordinate where the cod should spawn. If no coordinate is specified, the cod will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the cod.
- nameTag is the custom name to assign to the cod. It will appear as a nametag above the cod.
- xRot is the x-rotation that the cod is facing in degrees. Positive values look downward and negative values look upward. 0=facing forward, 90=facing straight down, -90=facing straight up.
- yRot is the y-rotation that the cod is facing in degrees. 0=South, 90=West, 180=North, 270=East.
- lookAtEntity is the name of a player (or a target selector) that the cod will face when spawned.
- lookAtPositon is a set of x y z coordinates that the cod will face when spawned.
Summon Command in Minecraft Xbox One Edition
In Minecraft Xbox One Edition 1.20, the syntax to summon a cod using the /summon command is:
/summon cod <nameTag> [spawnPos]
/summon cod [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon cod [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon cod [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Xbox One Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent] [nameTag]
/summon cod <nameTag> [spawnPos]
In Minecraft Xbox One Edition 1.12, 1.13 and 1.14, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent]
Definitions
- spawnPos is optional. It is the x y z coordinate where the cod should spawn. If no coordinate is specified, the cod will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the cod.
- nameTag is the custom name to assign to the cod. It will appear as a nametag above the cod.
- xRot is the x-rotation that the cod is facing in degrees. Positive values look downward and negative values look upward. 0=facing forward, 90=facing straight down, -90=facing straight up.
- yRot is the y-rotation that the cod is facing in degrees. 0=South, 90=West, 180=North, 270=East.
- lookAtEntity is the name of a player (or a target selector) that the cod will face when spawned.
- lookAtPositon is a set of x y z coordinates that the cod will face when spawned.
Summon Command in Minecraft PS4 Edition
In Minecraft PS4 Edition 1.20, the syntax to summon a cod using the /summon command is:
/summon cod <nameTag> [spawnPos]
/summon cod [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon cod [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon cod [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft PS4 Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent] [nameTag]
/summon cod <nameTag> [spawnPos]
In Minecraft PS4 Edition 1.14, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent]
Definitions
- spawnPos is optional. It is the x y z coordinate where the cod should spawn. If no coordinate is specified, the cod will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the cod.
- nameTag is the custom name to assign to the cod. It will appear as a nametag above the cod.
- xRot is the x-rotation that the cod is facing in degrees. Positive values look downward and negative values look upward. 0=facing forward, 90=facing straight down, -90=facing straight up.
- yRot is the y-rotation that the cod is facing in degrees. 0=South, 90=West, 180=North, 270=East.
- lookAtEntity is the name of a player (or a target selector) that the cod will face when spawned.
- lookAtPositon is a set of x y z coordinates that the cod will face when spawned.
Summon Command in Minecraft Nintendo Switch Edition
In Minecraft Nintendo Switch Edition 1.20, the syntax to summon a cod using the /summon command is:
/summon cod <nameTag> [spawnPos]
/summon cod [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon cod [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon cod [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Nintendo Switch Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent] [nameTag]
/summon cod <nameTag> [spawnPos]
In Minecraft Nintendo Switch Edition 1.12, 1.13 and 1.14, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent]
Definitions
- spawnPos is optional. It is the x y z coordinate where the cod should spawn. If no coordinate is specified, the cod will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the cod.
- nameTag is the custom name to assign to the cod. It will appear as a nametag above the cod.
- xRot is the x-rotation that the cod is facing in degrees. Positive values look downward and negative values look upward. 0=facing forward, 90=facing straight down, -90=facing straight up.
- yRot is the y-rotation that the cod is facing in degrees. 0=South, 90=West, 180=North, 270=East.
- lookAtEntity is the name of a player (or a target selector) that the cod will face when spawned.
- lookAtPositon is a set of x y z coordinates that the cod will face when spawned.
Summon Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition 1.20, the syntax to summon a cod using the /summon command is:
/summon cod <nameTag> [spawnPos]
/summon cod [spawnPos] [yRot] [xRot] [spawnEvent] [nameTag]
/summon cod [spawnPos] facing <lookAtEntity> [spawnEvent] [nameTag]
/summon cod [spawnPos] facing <lookAtPosition> [spawnEvent] [nameTag]
In Minecraft Windows 10 Edition 1.16, 1.17, 1.18 and 1.19, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent] [nameTag]
/summon cod <nameTag> [spawnPos]
In Minecraft Windows 10 Edition 1.12, 1.13 and 1.14, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent]
Definitions
- spawnPos is optional. It is the x y z coordinate where the cod should spawn. If no coordinate is specified, the cod will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the cod.
- nameTag is the custom name to assign to the cod. It will appear as a nametag above the cod.
- xRot is the x-rotation that the cod is facing in degrees. Positive values look downward and negative values look upward. 0=facing forward, 90=facing straight down, -90=facing straight up.
- yRot is the y-rotation that the cod is facing in degrees. 0=South, 90=West, 180=North, 270=East.
- lookAtEntity is the name of a player (or a target selector) that the cod will face when spawned.
- lookAtPositon is a set of x y z coordinates that the cod will face when spawned.
Summon Command in Minecraft Education Edition
In Minecraft Education Edition 1.14.31, 1.17.30 and 1.18.32, the syntax to summon a cod using the /summon command is:
/summon cod [spawnPos] [spawnEvent] [nameTag]
/summon cod <nameTag> [spawnPos]
In Minecraft Education Edition 1.12, the syntax to summon a cod is:
/summon cod [spawnPos] [spawnEvent]
In Minecraft Education Edition 1.9 and older, the syntax to summon a cod is:
/summon cod [spawnPos]
Definitions
- spawnPos is optional. It is the x y z coordinate where the cod should spawn. If no coordinate is specified, the cod will spawn in the current location.
- spawnEvent is optional. It is the name of a game event for the cod.
- nameTag is the custom name to assign to the cod. It will appear as a nametag above the cod.
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Example in Java Edition (PC/Mac) 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20
To summon a cod in Minecraft Java Edition (PC/Mac) 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20:
/summon cod
To summon a cod that is named Fishy:
/summon cod ~ ~ ~ {CustomName:"\"Fishy\""}
Example in Pocket Edition (PE)
To summon a cod in Minecraft PE:
/summon cod
To summon a cod at the coordinates (12, 65, -8):
/summon cod 12 65 -8
Example in Xbox One Edition
To summon a cod in Minecraft Xbox One Edition:
/summon cod
To summon a cod that is 4 blocks West of your current position:
/summon cod ~-4 ~ ~
Example in PS4 Edition
To summon a cod in Minecraft PS4 Edition:
/summon cod
To summon a cod at the coordinates (8, 67,100):
/summon cod 8 67 100
Example in Nintendo Switch Edition
To summon a cod in Minecraft Nintendo Switch Edition:
/summon cod
To summon a cod at the coordinates (8, 72, 100):
/summon cod 8 72 100
Example in Windows 10 Edition
To summon a cod in Minecraft Windows 10 Edition:
/summon cod
To summon a cod that is 1 block above your current position:
/summon cod ~ ~1 ~
Example in Education Edition
To summon a cod in Minecraft Education Edition:
/summon cod
To summon a cod at the coordinates (-70, 63, 12):
/summon cod -70 63 12
In this example, we are going to summon a cod in Minecraft Java Edition (PC/Mac) 1.20 with the following command:
Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.
Congratulations, you have summoned a cod in Minecraft.
If you need help with /summon commands, you can use these tools to automatically generate commands for you: