Java Edition data values/Protocol and data versions

Protocol versions are used to identify a game version over the network, such that only compatible versions may connect with each other. Data versions indicate the version of the game a world was saved with, so that it can be upgraded to newest version.