Commands/seed
Minecraft Wiki article. Categories: Java_Edition, Commands
📌 Mirrored from Minecraft Wiki
This article is reproduced from Commands/seed on the Minecraft Wiki. Mirrored from revision 3670276. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
On this page
This feature is exclusive to Java Edition.
/seed{
"title": "<code>/seed</code>",
"rows": [
{
"field": "\n* 0 in singleplayer\n* 2 in multiplayer",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Displays the world seed, which can be copied on click.
Syntax
seed
Result
Always successful.
Output
| Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
|---|---|---|---|---|---|
| Any | Java Edition | On success | 1 | 1 | the long-type seed cast to a 32-bit integer |
History
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.3.1 | 12w21a | Added /seed. | |||||
| 1.13 | 18w19a | The output of /seed can now be copied to clipboard. | |||||
Navigation
Sources
- Commands/seed — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3670276.