The tags people actually edit
A Java level.dat keeps almost everything inside a single Data compound; a Bedrock level.dat keeps its tags flat at the root. The names below are the ones worth knowing — search for any of them in the tree and the editor will jump to it.
| Tag | Type | Edition | What it controls |
|---|---|---|---|
LevelName | String | Both | The world's display name. Stale after copying a world folder — the rename guide covers it. |
GameType / gameType | Int | Both | 0 survival, 1 creative, 2 adventure, 3 spectator. |
Difficulty | Byte / Int | Both | 0 peaceful, 1 easy, 2 normal, 3 hard. |
hardcore | Byte | Both | 1 locks the world to hardcore rules. |
allowCommands / commandsEnabled | Byte | Java / Bedrock | Whether cheats are enabled. |
SpawnX, SpawnY, SpawnZ | Int | Both | World spawn coordinates. |
Time, DayTime | Long | Java | Total ticks and the time of day. |
currentTick | Int | Bedrock | Bedrock's equivalent world clock. |
RandomSeed / WorldGenSettings.seed | Long | Java | World seed. Held as a real 64-bit value here, not a rounded double. |
GameRules / individual gamerule tags | Compound / Byte | Java / Bedrock | Everything /gamerule sets — see the game rules guide. |
DataVersion | Int | Java | The world format version. Check it before moving a world between Minecraft versions. |
lastOpenedWithVersion | List of Int | Bedrock | The Bedrock client or server build that last wrote the world. |
Player | Compound | Both | Single-player inventory, position and stats embedded in the world file. |