A data version, also known as a world version,[1][2] is a positive integer used in a world saved data to denote a specific version, and determines whether the player should be warned about opening that world due to client version incompatibilities.
Usage[]
Upon selecting and loading a singleplayer world, the game checks if the client has a data version newer or older than the selected world. If it does, the game then prompts the user whether they want to back up their world before playing it if the world is older, or warn them that their world may become corrupted if the world is newer.
Versioning[]
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 any release.
Storage locations[]
Data versions can be found in many different places.
Player data[]
In-game, the data version can be obtained using the command /data get entity @s DataVersion
.
options.txt[]
The first line of options.txt since 1.10-pre1 displays the data version, named version
.
level.dat[]
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.
- Data: Information about the level.dat file.
Region files[]
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 saved.
- 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.
- 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)
.dat and .nbt files[]
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[]
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[]
The latest Java Edition release version, 1.20.2, has a data version of 3578.
History[]
Java Edition | |||||
---|---|---|---|---|---|
1.9{{Extension DPL}}<ul><li>[[Minecart with Hopper|Minecart with Hopper]]<br/>{{ItemEntity |image=Minecart with Hopper.png |renewable=Yes |stackable=No |size=Height: 0.7 Blocks<br>Width: 0.98 Blocks |networkid='''[[JE]]''': 10 |drops=1 {{ItemLink|Minecart with Hopper}}<br>plus contents |health={{hp|6}} }} A '''minecart with hopper''' is a [[minecart]] with a [[hopper]] inside. Unlike a normal hopper, it pulls items from containers much more quickly, cannot push items into containers, can collect [[Item (entity)|item entities]] through a single layer of [[solid block]]s and is locked and unlocked via [[Activator Rail|activator rails]]. == Obtaining == === Crafting === {{Crafting |Output= Minecart with Hopper |type= Transportation |Hopper|Minecart}} Minecarts with hoppers can be retrieved by attacking them. By doing so it drop as an [[item (entity)|item]] and any other contents of the hopper are dropped as well. == Usage == [[File:Minecart with Hopper GUI.png|thumb|176px|The GUI of a minecart with hopper.]] Minecarts with hoppers are placed similarly to other [[minecart]]s. A minecart with hopper pulls in items lying nearby (within a range slightly larger than the cart itself), or inside a container directly above the minecart, at a rate of 1 item every [[game tick]] (20 items per second), eight times as fast as a normal hopper. It also picks up items that are lying on a block directly above the track. It does not push items into containers, but a hopper underneath the track can remove items from a minecart with hopper on the track. Ordinary hoppers can also drop items into a minecart with hopper like other containers, at the normal speed of 2.5 items per second. In Bedrock Edition, a minecart with hopper on curved rail pulls in items in a hopper lying in front of its moving direction and 1 block above if hopper's output funnel is pointed downward and no block is below that hopper.<ref>{{bug|MCPE-94293}}</ref> The hopper can be disabled by passing over a powered [[activator rail]], and can be reenabled by an inactive activator rail. An empty minecart with hopper can travel more than 85 blocks without stopping (as opposed to a normal cart going less than 12 blocks) from a dead stop using a 2 powered track starter even with another cart in front of them. However, the distance traveled by a minecart with hopper depends on the hopper's load. Using a 1 powered rail starter track, a minecart with an empty hopper travels 64 blocks until it stops (as opposed to an empty normal minecart going 8 blocks). The distance traveled diminishes non-linearly with increased hopper load; a minecart with a full hopper can travel only 16 blocks in this setup. {{See also|Tutorials/Storage minecarts}} == Sounds == {{Edition|Java}}:<br> Minecarts with hoppers use the Friendly Creatures sound category for entity-dependent sound events.<ref group=sound name=rollsource>{{bug|MC-42132}}</ref> {{Sound table |sound=Minecart rolling.ogg |subtitle=Minecart rolls |source=Friendly Creatures <ref group=sound name=rollsource/> |overridesource=1 |description=While a minecart with hopper is moving |id=entity.minecart.riding |translationkey=subtitles.entity.minecart.riding |volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref> |pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref> |distance=16 |foot=1}} {{Edition|Bedrock}}: {{Sound table |type=bedrock |sound=Minecart rolling.ogg |source=neutral |description=While a minecart with hopper is moving |id=minecart.base |foot=1}} == Data values == === ID === {{edition|java}}: {{ID table |edition=java |firstcolumnname=Item |showforms=y |generatetranslationkeys=y |displayname=Minecart with Hopper |spritetype=item |nameid=hopper_minecart |form=item |foot=1}} {{ID table |edition=java |firstcolumnname=Entity |generatetranslationkeys=y |displayname=Minecart with Hopper |spritetype=entity |nameid=hopper_minecart |foot=1}} {{edition|bedrock}}: {{ID table |edition=bedrock |firstcolumnname=Item |shownumericids=y |showforms=y |notshowbeitemforms=y |generatetranslationkeys=y |displayname=Minecart with Hopper |spritetype=item |nameid=hopper_minecart |id=526 |form=item |foot=1}} {{ID table |edition=bedrock |firstcolumnname=Entity |shownumericids=y |generatetranslationkeys=y |displayname=Minecart with Hopper |spritetype=entity |nameid=hopper_minecart |id=96 |foot=1}} === Entity data === Minecarts with hoppers have entity data associated with them that contain various properties of the entity. {{el|java}}: {{main|Entity format}} {{/ED}} {{el|bedrock}}: : See [[Bedrock Edition level format/Entity format]]. == Video == <div style="text-align:center">{{yt|I5etC7LeCac}}</div> == History == {{History|java}} {{History||1.5|snap=13w03a|[[File:Minecart with Hopper JE1 BE1.png|32px]] [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.}} {{History||1.9|snap=15w43a|Loot tables are added; minecarts with hopper now can use loot tables.}} {{History||1.9.1|snap=pre2|The title of the [[inventory]] is changed from 'Hopper minecart' to 'Minecart with Hopper'.}} {{History||1.11|snap=16w32a|The entity ID of the minecart with hopper has now been changed from <code>MinecartHopper</code> to <code>hopper_minecart</code>.}} {{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 408.}} {{History||1.14|snap=18w43a|[[File:Minecart with Hopper JE2 BE2.png|32px]] [[File:Minecart with Hopper (item) JE2 BE2.png|32px]] The textures of the minecart with hopper have now been changed.}} {{History||1.15|snap=19w38a|[[File:Minecart with Hopper 19w38a.png|32px]] The hopper now appears dark, same as suffocating mobs.}} {{History|||snap=19w39a|The hopper now renders correctly.}} {{History||1.16.2|snap=Pre-release 1|Opening or destroying a minecart with hopper now angers nearby [[piglin]]s.}} {{History||1.19|snap=22w13a|The crafting recipe for a minecart with hopper is now shapeless.|Breaking a minecart with hopper will now drop the item instead of the minecart and hopper separately, though the contents of the hopper are still dropped.<ref>{{bug|MC-249493|||Fixed}}</ref>}} {{History||1.19.4|snap=23w06a|Minecart with hopper now no longer aggravates [[piglin]]s when opened.}} {{History|pocket alpha}} {{History||v0.14.0|snap=build 1|[[File:Minecart with Hopper JE1 BE1.png|32px]] [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.}} {{History|pocket}} {{History||1.1.0|snap=alpha 1.1.0.0|The entity ID of the minecart with hopper has now been changed from <code>minecarthopper</code> to <code>hopper_minecart</code>.}} {{History|bedrock}} {{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Hopper JE2 BE2.png|32px]] [[File:Minecart with Hopper (item) JE2 BE2.png|32px]] The textures of the minecart with hopper have now been changed.}} {{History||1.19.0|snap=beta 1.19.0.30|Breaking a minecart with hopper will now drop the item instead of the minecart and hopper separately, though the contents of the hopper are still dropped.}} {{History|console}} {{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Hopper JE1 BE1.png|32px]] [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.}} {{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart with Hopper JE2 BE2.png|32px]] [[File:Minecart with Hopper (item) JE2 BE2.png|32px]] The textures of the minecart with hopper have now been changed.}} {{History|new 3ds}} {{History||0.1.0|[[File:Minecart with Hopper JE1 BE1.png|32px]] [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper. |Minecarts with hopper emit smoke [[particles]] when destroyed.}} {{History|foot}} == Issues == {{issue list}} == Gallery == <gallery> File:First hopper Minecart Image.png|The first image of hopper carts released by Dinnerbone.<ref>{{Tweet|Dinnerbone|291215700213772289|Well you guys got that quick. The letters in the hotbar were for <nowiki>[imgur link]|January 15, 2013}}</ref> File:13w03a Banner.png|The 13w03a banner showing a minecart with hopper and a [[dropper]]. </gallery> == References == {{reflist}} {{items}} {{entities}} [[Category:Mechanics]] [[Category:Storage]] [[cs:Vozík s násypkou]] [[de:Trichterlore]] [[es:Vagoneta con tolva]] [[fr:Wagonnet à entonnoir]] [[hu:Tölcsér csille]] [[it:Carrello da miniera]] [[ja:ホッパー付きのトロッコ]] [[ko:호퍼가 실린 광산 수레]] [[nl:Mijnkar met trechter]] [[pl:Wagonik z lejem]] [[pt:Carrinho de mina com funil]] [[ru:Вагонетка с воронкой]] [[uk:Вагонетка з лійкою]] [[zh:漏斗矿车]]</li><li>[[Powder Snow Bucket|Powder Snow Bucket]]<br/>{{Item | title = Powder Snow Bucket | image = Powder Snow Bucket.png | renewable = Yes | stackable = No }} A '''powder snow bucket''' is a [[bucket]] with [[powder snow]] inside. == Obtaining == A powder snow bucket can be obtained by {{ctrl|using}} an [[empty bucket]] on a [[powder snow block]] or [[powder snow cauldron]]. == Usage == Pressing {{control|use}} while holding a powder snow bucket places a [[powder snow]] block. {{IN|Java}}, powder snow may also be placed inside empty [[cauldron]]s, creating powder snow cauldrons. [[Dispenser]]s can also create and place powder snow buckets. However, they cannot do so with [[cauldron]]s. You can also use it to cushion falls in the [[nether]] by placing it below you when falling. == Sounds == {{el|je}}: {{Sound table |sound=Empty powder snow bucket1.ogg |sound2=Empty powder snow bucket2.ogg |subtitle=Bucket empties |source=block |description=When a powder snow bucket is placed |id=item.bucket.empty_powder_snow |translationkey=subtitles.item.bucket.empty |volume=1.0 |pitch=''varies'' <ref group=sound>Each sound event can be 1.0, 0.95, or 1.1</ref> |distance=16}} {{Sound table |sound=Fill powder snow bucket1.ogg |sound2=Fill powder snow bucket2.ogg |subtitle=Bucket fills |source=player |description=When a bucket is filled with powder snow |id=item.bucket.fill_powder_snow |translationkey=subtitles.item.bucket.fill |volume=1.0 |pitch=''varies'' <ref group=sound>Each sound event can be 1.0, 0.9, or 1.1</ref> |distance=16}} {{Sound table |sound=Powder Snow break1.ogg |sound2=Powder Snow break2.ogg |sound3=Powder Snow break3.ogg |sound4=Powder Snow break4.ogg |sound5=Powder Snow break5.ogg |sound6=Powder Snow break6.ogg |sound7=Powder Snow break7.ogg |subtitle=Block broken |source=block |description=When a bucket is filled with powder snow |id=block.powder_snow.break |translationkey=subtitles.block.generic.break |volume=1.0 |pitch=0.8 |distance=16 |foot=1}} {{el|be}}: {{Sound table |type=bedrock |sound=Fill powder snow bucket1.ogg |sound2=Fill powder snow bucket2.ogg |source=player |description=When a bucket is filled with powder snow |id=bucket.fill_powder_snow |volume=1.0 |pitch=1.0}} {{Sound table |sound=Empty powder snow bucket1.ogg |sound2=Empty powder snow bucket2.ogg |source=block |description=When a powder snow bucket is placed |id=bucket.empty_powder_snow |volume=1.0 |pitch=1.0 |foot=1}} == Data values == === ID === {{edition|java}}: {{ID table |edition=java |showforms=y |generatetranslationkeys=y |displayname=Powder Snow Bucket |spritetype=item |nameid=powder_snow_bucket |form=item |foot=1}} {{edition|bedrock}}: {{ID table |edition=bedrock |shownumericids=y |showforms=y |showaliasids=y |notshowbeitemforms=y |generatetranslationkeys=y |displayname=Powder Snow Bucket |spritetype=item |nameid=powder_snow_bucket |aliasid=bucket / 11 |form=item |id=368 |foot=1}} == History == {{History|java}} {{History||1.17|snap=20w46a|[[File:Powder Snow Bucket JE1 BE1.png|32px]] Added powder snow buckets.}} {{History|bedrock}} {{History||Caves & Cliffs<br>(experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.53|[[File:Powder Snow Bucket JE1 BE1.png|32px]] Added powder snow buckets. |The powder snow bucket replaced the powder snow block in the creative inventory.}} {{History||1.17.0|snap=beta 1.17.0.50|Powder snow bucket are now available without enabling [[Experimental Gameplay]].}} {{h|foot}} == Issues == {{Issue list}} ==Gallery== <gallery> Cozy Cabin Powder Snow Bucket 1.jpg|Teaser image with a barely visible powder snow bucket. Cozy Cabin Powder Snow Bucket 2.jpg|Teaser image with a barely visible powder snow bucket. Cozy Cabin Powder Snow Bucket 3.jpg|Teaser image with a barely visible powder snow bucket. </gallery> {{Items}} [[Category:Renewable resources]] [[Category:Tools]] [[de:Pulverschneeeimer]] [[es:Cubo con nieve polvo]] [[fr:Seau de neige poudreuse]] [[it:Secchio di neve polverosa]] [[ja:粉雪入りバケツ]] [[pl:Wiadro sypkiego śniegu]] [[pt:Balde de neve fofa]] [[ru:Ведро с рыхлым снегом]] [[zh:细雪桶]]</li></ul></nowiki> | 15w32a | Added data versions, starting from version "100". |
See also[]
References[]
- ↑ server.jar or javabridge library source, located in class com.mojang.bridge.game.GameVersion
- ↑ As appeared in the version.json format.