Data version

From Minecraft Wiki
Jump to: navigation, search
Information icon.svg
This feature is exclusive to Java Edition.

A data version, also known as a world version,[1][2] is a positive integer used in world save data to denote a specific version.

Usage[edit]

The game prompting the player whether they want to back up their outdated world.

Upon selecting and loading a singleplayer world, the game will check if the client has a data version newer or older than the selected world. If it does, the game will then prompt the user whether they want to back up their world before playing it if the world is older, or warn them that their world map become corrupted if the world is newer.

Versioning[edit]

Every version of Java Edition since 15w32a, including minor releases and snapshots, has its own data version. The version takes the form of an ever-increasing positive integer unlike client versions. Data versions are necessary because client versions usually cannot be directly compared since they use different formats (i.e., "1.14" and "19w02a" cannot be compared). Data versions may skip numbers between major releases.

Storage locations[edit]

Data versions can be found in many different places.

options.txt[edit]

The very first line of options.txt since 1.10-pre1 displays the data version, named version.

level.dat[edit]

The data version is stored in two places inside the level.dat file of a world save: in the root Data compound named DataVersion and also in the Version compound named Id.

  • level.dat
    •  Data: Information about the level.dat file.
      •  DataVersion: An integer displaying the data version.
      •  Version: Versioning information about when the world was last saved.
        •  Id: An integer displaying the data version.

Region files[edit]

Each chunk in the region files (located in .minecraft\saves\<world name>\region named r.<region X>.<region Z>.mca) contains information about the data version when it was last loaded.

  •  r.x.z.mca: Information about the region at exact region coordinates [x,y] (1 region = 32×32 chunks)
    •  Chunk [x1,y1]     in world at (x2,y2): Information about the chunk at relative chunk coordinates [x1,y1], located at exact chunk coordinates [x2,y2] (1 chunk = 16×16 blocks)
      •  DataVersion: An integer displaying the data version.

.dat and .nbt files[edit]

All .dat and .nbt files contain the data version in their root compound of when the file was last saved.

  •  file name
    •  DataVersion: An integer displaying the data version.

version.json[edit]

Each Minecraft build since 18w47b also specifies its current data version in the version.json file, found in the root directory of the client and server jars.

  • version.json
    •  world_version: The data version of this build.

List of data versions[edit]

The latest Java Edition release version, 1.14.4, has a data version of 1976. The latest Java Edition development version, 19w38b, has a data version of 2206.

Client version Protocol version Data version
Java Edition 19w38b 555 2206
Java Edition 19w38a 554 2205
Java Edition 19w37a 553 2204
Java Edition 19w36a 552 2203
Java Edition 19w35a 551 2201
Java Edition 19w34a 550 2200
Java Edition Combat Test 2 501 2068
Java Edition 1.14.3 - Combat Test 500 2067
Java Edition 1.14.4 498 1976
Java Edition 1.14.4 Pre-Release 7 497 1975
Java Edition 1.14.4 Pre-Release 6 496 1974
Java Edition 1.14.4 Pre-Release 5 495 1973
Java Edition 1.14.4 Pre-Release 4 494 1972
Java Edition 1.14.4 Pre-Release 3 493 1971
Java Edition 1.14.4 Pre-Release 2 492 1970
Java Edition 1.14.4 Pre-Release 1 491 1969
Java Edition 1.14.3 490 1968
Java Edition 1.14.3 Pre-Release 4 489 1967
Java Edition 1.14.3 Pre-Release 3 488 1966
Java Edition 1.14.3 Pre-Release 2 487 1965
Java Edition 1.14.3 Pre-Release 1 486 1964
Java Edition 1.14.2 485 1963
Java Edition 1.14.2 Pre-Release 4 484 1962
Java Edition 1.14.2 Pre-Release 3 483 1960
Java Edition 1.14.2 Pre-Release 2 482 1959
Java Edition 1.14.2 Pre-Release 1 481 1958
Java Edition 1.14.1 480 1957
Java Edition 1.14.1 Pre-Release 2 479 1956
Java Edition 1.14.1 Pre-Release 1 478 1955
Java Edition 1.14 477 1952
Java Edition 1.14 Pre-Release 5 476 1951
Java Edition 1.14 Pre-Release 4 475 1950
Java Edition 1.14 Pre-Release 3 474 1949
Java Edition 1.14 Pre-Release 2 473 1948
Java Edition 1.14 Pre-Release 1 472 1947
Java Edition 19w14b 471 1945
Java Edition 19w14a 470 1944
Java Edition 19w13b 469 1943
Java Edition 19w13a 468 1942
Java Edition 19w12b 467 1941
Java Edition 19w12a 466 1940
Java Edition 19w11b 465 1938
Java Edition 19w11a 464 1937
Java Edition 19w09a 463 1935
Java Edition 19w08b 462 1934
Java Edition 19w08a 461 1933
Java Edition 19w07a 460 1932
Java Edition 19w06a 459 1931
Java Edition 19w05a 458 1930
Java Edition 19w04b 457 1927
Java Edition 19w04a 456 1926
Java Edition 19w03c 455 1924
Java Edition 19w03b 454 1923
Java Edition 19w03a 453 1922
Java Edition 19w02a 452 1921
Java Edition 18w50a 451 1919
Java Edition 18w49a 450 1916
Java Edition 18w48b 449 1915
Java Edition 18w48a 448 1914
Java Edition 18w47b 447 1913
Java Edition 18w47a 446 1912
Java Edition 18w46a 445 1910
Java Edition 18w45a 444 1908
Java Edition 18w44a 443 1907
Java Edition 18w43c 442 1903
Java Edition 18w43b 441 1902
Java Edition 18w43a 440 1901
Java Edition 1.13.2 404 1631
Java Edition 1.13.2-pre2 403 1630
Java Edition 1.13.2-pre1 402 1629
Java Edition 1.13.1 401 1628
Java Edition 1.13.1-pre2 400 1627
Java Edition 1.13.1-pre1 399 1626
Java Edition 18w33a 398 1625
Java Edition 18w32a 397 1623
Java Edition 18w31a 396 1622
Java Edition 18w30b 395 1621
Java Edition 18w30a 394 1620
Java Edition 1.13 393 1519
Java Edition 1.13-pre10 392 1518
Java Edition 1.13-pre9 391 1517
Java Edition 1.13-pre8 390 1516
Java Edition 1.13-pre7 389 1513
Java Edition 1.13-pre6 388 1512
Java Edition 1.13-pre5 387 1511
Java Edition 1.13-pre4 386 1504
Java Edition 1.13-pre3 385 1503
Java Edition 1.13-pre2 384 1502
Java Edition 1.13-pre1 383 1501
Java Edition 18w22c 382 1499
Java Edition 18w22b 381 1498
Java Edition 18w22a 380 1497
Java Edition 18w21b 379 1496
Java Edition 18w21a 378 1495
Java Edition 18w20c 377 1493
Java Edition 18w20b 376 1491
Java Edition 18w20a 375 1489
Java Edition 18w19b 374 1485
Java Edition 18w19a 373 1484
Java Edition 18w16a 372 1483
Java Edition 18w15a 371 1482
Java Edition 18w14b 370 1481
Java Edition 18w14a 369 1479
Java Edition 18w11a 368 1478
Java Edition 18w10d 367 1477
Java Edition 18w10c 366 1476
Java Edition 18w10b 365 1474
Java Edition 18w10a 364 1473
Java Edition 18w09a 363 1472
Java Edition 18w08b 362 1471
Java Edition 18w08a 361 1470
Java Edition 18w07c 360 1469
Java Edition 18w07b 359 1468
Java Edition 18w07a 358 1467
Java Edition 18w06a 357 1466
Java Edition 18w05a 356 1464
Java Edition 18w03b 355 1463
Java Edition 18w03a 354 1462
Java Edition 18w02a 353 1461
Java Edition 18w01a 352 1459
Java Edition 17w50a 351 1457
Java Edition 17w49b 350 1455
Java Edition 17w49a 349 1454
Java Edition 17w48a 348 1453
Java Edition 17w47b 347 1452
Java Edition 17w47a 346 1451
Java Edition 17w46a 345 1449
Java Edition 17w45b 344 1448
Java Edition 17w45a 343 1447
Java Edition 17w43b 342 1445
Java Edition 17w43a 341 1444
Java Edition 1.12.2 340 1343
Java Edition 1.12.2-pre2 339 1342
Java Edition 1.12.2-pre1 1341
Java Edition 1.12.1 338 1241
Java Edition 1.12.1-pre1 337 1240
Java Edition 17w31a 336 1239
Java Edition 1.12 335 1139
Java Edition 1.12-pre7 334 1138
Java Edition 1.12-pre6 333 1137
Java Edition 1.12-pre5 332 1136
Java Edition 1.12-pre4 331 1135
Java Edition 1.12-pre3 330 1134
Java Edition 1.12-pre2 329 1133
Java Edition 1.12-pre1 328 1132
Java Edition 17w18b 327 1131
Java Edition 17w18a 326 1130
Java Edition 17w17b 325 1129
Java Edition 17w17a 324 1128
Java Edition 17w16b 323 1127
Java Edition 17w16a 322 1126
Java Edition 17w15a 321 1125
Java Edition 17w14a 320 1124
Java Edition 17w13b 319 1123
Java Edition 17w13a 318 1122
Java Edition 17w06a 317 1022
Java Edition 1.11.2 316 922
Java Edition 1.11.1 921
Java Edition 16w50a 920
Java Edition 1.11 315 819
Java Edition 1.11-pre1 314 818
Java Edition 16w44a 313 817
Java Edition 16w43a 816
Java Edition 16w42a 312 815
Java Edition 16w41a 311 814
Java Edition 16w40a 310 813
Java Edition 16w39c 309 812
Java Edition 16w39b 308 811
Java Edition 16w39a 307 809
Java Edition 16w38a 306 807
Java Edition 16w36a 305 805
Java Edition 16w35a 304 803
Java Edition 16w33a 303 802
Java Edition 16w32b 302 801
Java Edition 16w32a 301 800
Java Edition 1.10.2 210 512
Java Edition 1.10.1 511
Java Edition 1.10 510
Java Edition 1.10-pre2 205 507
Java Edition 1.10-pre1 204 506
Java Edition 16w21b 203 504
Java Edition 16w21a 202 503
Java Edition 16w20a 201 501
Java Edition 1.9.4 110 184
Java Edition 1.9.3 183
Java Edition 1.9.3-pre3 182
Java Edition 1.9.3-pre2 181
Java Edition 1.9.3-pre1 109 180
Java Edition 16w15b 179
Java Edition 16w15a 178
Java Edition 16w14a 177
Java Edition 1.9.2 176
Java Edition 1.9.1 108 175
Java Edition 1.9.1-pre3 172
Java Edition 1.9.1-pre2 171
Java Edition 1.9.1-pre1 107 170
Java Edition 1.9 169
Java Edition 1.9-pre4 106 168
Java Edition 1.9-pre3 105 167
Java Edition 1.9-pre2 104 165
Java Edition 1.9-pre1 103 164
Java Edition 16w07b 102 163
Java Edition 16w07a 101 162
Java Edition 16w06a 100 161
Java Edition 16w05b 99 160
Java Edition 16w05a 98 159
Java Edition 16w04a 97 158
Java Edition 16w03a 96 157
Java Edition 16w02a 95 156
Java Edition 15w51b 94 155
Java Edition 15w51a 93 154
Java Edition 15w50a 92 153
Java Edition 15w49b 91 152
Java Edition 15w49a 90 151
Java Edition 15w47c 89 150
Java Edition 15w47b 88 149
Java Edition 15w47a 87 148
Java Edition 15w46a 86 146
Java Edition 15w45a 85 145
Java Edition 15w44b 84 143
Java Edition 15w44a 83 142
Java Edition 15w43c 82 141
Java Edition 15w43b 81 140
Java Edition 15w43a 80 139
Java Edition 15w42a 79 138
Java Edition 15w41b 78 137
Java Edition 15w41a 77 136
Java Edition 15w40b 76 134
Java Edition 15w40a 75 133
Java Edition 15w39c 74 132
Java Edition 15w39b 131
Java Edition 15w39a 130
Java Edition 15w38b 73 129
Java Edition 15w38a 72 128
Java Edition 15w37a 71 127
Java Edition 15w36d 70 126
Java Edition 15w36c 69 125
Java Edition 15w36b 68 124
Java Edition 15w36a 67 123
Java Edition 15w35e 66 122
Java Edition 15w35d 65 121
Java Edition 15w35c 64 120
Java Edition 15w35b 63 119
Java Edition 15w35a 62 118
Java Edition 15w34d 61 117
Java Edition 15w34c 60 116
Java Edition 15w34b 59 115
Java Edition 15w34a 58 114
Java Edition 15w33c 57 112
Java Edition 15w33b 56 111
Java Edition 15w33a 55 111
Java Edition 15w32c 54 104
Java Edition 15w32b 53 103
Java Edition 15w32a 52 100
Java Edition 15w31c 51
Java Edition 15w31b 50
Java Edition 15w31a 49
Java Edition 1.8.9 47
Java Edition 1.8.8
Java Edition 1.8.7
Java Edition 1.8.6
Java Edition 1.8.5
Java Edition 1.8.4
Java Edition 1.8.3
Java Edition 1.8.2
Java Edition 1.8.2-pre7
Java Edition 1.8.2-pre6
Java Edition 1.8.2-pre5
Java Edition 1.8.2-pre4
Java Edition 1.8.2-pre3
Java Edition 1.8.2-pre2
Java Edition 1.8.2-pre1
Java Edition 1.8.1
Java Edition 1.8.1-pre5
Java Edition 1.8.1-pre4
Java Edition 1.8.1-pre3
Java Edition 1.8.1-pre2
Java Edition 1.8.1-pre1
Java Edition 1.8
Java Edition 1.8-pre3 46
Java Edition 1.8-pre2 45
Java Edition 1.8-pre1 44
Java Edition 14w34d 43
Java Edition 14w34c 42
Java Edition 14w34b 41
Java Edition 14w34a 40
Java Edition 14w33c 39
Java Edition 14w33b 38
Java Edition 14w33a 37
Java Edition 14w32d 36
Java Edition 14w32c 35
Java Edition 14w32b 34
Java Edition 14w32a 33
Java Edition 14w31a 32
Java Edition 14w30c 31
Java Edition 14w30b 30
Java Edition 14w30a
Java Edition 14w29b 29
Java Edition 14w29a
Java Edition 14w28b 28
Java Edition 14w28a 27
Java Edition 14w27b 26
Java Edition 14w27a
Java Edition 14w26c 25
Java Edition 14w26b 24
Java Edition 14w26a 23
Java Edition 14w25b 22
Java Edition 14w25a 21
Java Edition 14w21b 20
Java Edition 14w21a 19
Java Edition 14w20b 18
Java Edition 14w20a
Java Edition 14w19a 17
Java Edition 14w18b 16
Java Edition 14w18a
Java Edition 14w17a 15
Java Edition 14w11b 14
Java Edition 14w11a
Java Edition 14w10c 13
Java Edition 14w10b
Java Edition 14w10a
Java Edition 14w08a 12
Java Edition 14w07a 11
Java Edition 14w06b 10
Java Edition 14w06a
Java Edition 14w05b 9
Java Edition 14w05a
Java Edition 14w04b 8
Java Edition 14w04a 7
Java Edition 14w03b 6
Java Edition 14w03a
Java Edition 14w02c 5
Java Edition 14w02b
Java Edition 14w02a
Java Edition 1.7.10
Java Edition 1.7.10-pre4
Java Edition 1.7.10-pre3
Java Edition 1.7.10-pre2
Java Edition 1.7.10-pre1
Java Edition 1.7.9
Java Edition 1.7.8
Java Edition 1.7.7
Java Edition 1.7.6
Java Edition 1.7.6-pre2
Java Edition 1.7.6-pre1
Java Edition 1.7.5 4
Java Edition 1.7.4
Java Edition 1.7.3
Java Edition 13w49a
Java Edition 13w48b
Java Edition 13w48a
Java Edition 13w47e
Java Edition 13w47d
Java Edition 13w47c
Java Edition 13w47b
Java Edition 13w47a
Java Edition 1.7.2
Java Edition 1.7.1 3
Java Edition 1.7
Java Edition 13w43a 2
Java Edition 13w42b 1
Java Edition 13w42a
Java Edition 13w41b 0
Java Edition 13w41a 0


History[edit]

Java Edition
1.915w32aAdded data versions, starting from version "100".

See also[edit]

References[edit]

  1. server.jar or javabridge library source, located in class com.mojang.bridge.game.GameVersion
  2. As appeared in the version.json format.