Minecraft:Com.mojang: Difference between revisions
More actions
imported>LauraFii m "See also" above notes and references |
Remove broken links to missing pages |
||
| Line 4: | Line 4: | ||
{{exclusive|bedrock|education}} | {{exclusive|bedrock|education}} | ||
{{File|directory|'''com.mojang'''|inline=1}} is a game directory which contains the | {{File|directory|'''com.mojang'''|inline=1}} is a game directory which contains the player's save data, such as worlds, custom resource packs and [[Minecraft:behavior pack]]s, [[Minecraft:screenshot]]s, [[Minecraft:options.txt|game settings]], and more. | ||
== Location == | == Location == | ||
| Line 26: | Line 26: | ||
<div class="treeview"> | <div class="treeview"> | ||
* {{File|directory|com.mojang}} | * {{File|directory|com.mojang}} | ||
** {{File|directory|archive}}: Contains exported | ** {{File|directory|archive}}: Contains exported world files, presumably those with a failed export.{{info needed}} | ||
** {{File|directory|behavior_packs}}: Contains imported [[Minecraft:behavior pack]]s. | ** {{File|directory|behavior_packs}}: Contains imported [[Minecraft:behavior pack]]s. | ||
** {{File|directory|custom_skins}}: Contains imported | ** {{File|directory|custom_skins}}: Contains imported skin files. | ||
** {{File|directory|development_behavior_packs}}: Contains custom-made | ** {{File|directory|development_behavior_packs}}: Contains custom-made behavior packs. | ||
** {{File|directory|development_resource_packs}}: Contains custom-made | ** {{File|directory|development_resource_packs}}: Contains custom-made resource packs. | ||
** {{File|directory|development_skin_packs}}: Contains custom-made | ** {{File|directory|development_skin_packs}}: Contains custom-made skin packs. | ||
*** {{File|file|ClientCorrelation<ID>.dat}}{{info needed}} | *** {{File|file|ClientCorrelation<ID>.dat}}{{info needed}} | ||
** {{File|directory|editor}}: Data related to ''[[Minecraft:Bedrock Editor]]'' | ** {{File|directory|editor}}: Data related to ''[[Minecraft:Bedrock Editor]]'' | ||
| Line 59: | Line 59: | ||
*** {{File|file|external_servers.txt}}: Contains all external servers added in the [[Minecraft:server list]], with their address and port. | *** {{File|file|external_servers.txt}}: Contains all external servers added in the [[Minecraft:server list]], with their address and port. | ||
*** {{File|file|custom.png}}: Contains a custom skin.{{Verify|I did not find this directory on Windows, is it exclusive to certain versions?}} | *** {{File|file|custom.png}}: Contains a custom skin.{{Verify|I did not find this directory on Windows, is it exclusive to certain versions?}} | ||
*** {{File|file|global_resource_packs.json}}: Determines which | *** {{File|file|global_resource_packs.json}}: Determines which resource packs are globally activated. | ||
*** {{File|file|hs}}{{note|This file has no extension. It is a plaintext list of UUIDs, separated by newlines.{{info needed|What are the UUIDs for? I've heard people say this is for rolling out the new Bedrock UI, but I can not confirm nor deny that.}}}} | *** {{File|file|hs}}{{note|This file has no extension. It is a plaintext list of UUIDs, separated by newlines.{{info needed|What are the UUIDs for? I've heard people say this is for rolling out the new Bedrock UI, but I can not confirm nor deny that.}}}} | ||
*** {{File|file|invalid_known_packs.json}}: Shows all packs that can't be activated in-game. | *** {{File|file|invalid_known_packs.json}}: Shows all packs that can't be activated in-game. | ||
| Line 69: | Line 69: | ||
*** {{File|file|telemetry_info.json}} | *** {{File|file|telemetry_info.json}} | ||
*** {{File|file|valid_known_packs.json}}: Shows all internal packs.{{info needed}} | *** {{File|file|valid_known_packs.json}}: Shows all internal packs.{{info needed}} | ||
** {{File|directory|minecraftWorlds}}: Contains | ** {{File|directory|minecraftWorlds}}: Contains worlds. | ||
*** {{File|directory|''internal world ID''}}: See {{Slink|World|Directory structure}} for contents. | *** {{File|directory|''internal world ID''}}: See {{Slink|World|Directory structure}} for contents. | ||
** {{File|directory|resource_packs}}: Contains imported | ** {{File|directory|resource_packs}}: Contains imported resource packs. | ||
** {{File|directory|skin_packs}}: Contains imported | ** {{File|directory|skin_packs}}: Contains imported skin packs. | ||
** {{File|directory|Screenshots}}{{sic}}: Contains [[Minecraft:screenshot]]s. | ** {{File|directory|Screenshots}}{{sic}}: Contains [[Minecraft:screenshot]]s. | ||
*** {{File|directory|''XUID''}}: Contains screenshots made on a specific Xbox account. The XUID is the ID of the player's Xbox account. | *** {{File|directory|''XUID''}}: Contains screenshots made on a specific Xbox account. The XUID is the ID of the player's Xbox account. | ||
| Line 81: | Line 81: | ||
**** {{File|file|<''UUID''>.mc}}: Additional file of unknown format and not generated on every platform. | **** {{File|file|<''UUID''>.mc}}: Additional file of unknown format and not generated on every platform. | ||
** {{File|file|ud''id''.dat}} (there may be more than one) | ** {{File|file|ud''id''.dat}} (there may be more than one) | ||
** {{File|directory|world_templates}}: Contains | ** {{File|directory|world_templates}}: Contains world templates. | ||
** {{File|file|xal}}{{verify|Exists in PE 1.16.0+?}}{{info needed|Is it the account data for XBL?}}{{verify|Is this a regular file and not a directory?}} | ** {{File|file|xal}}{{verify|Exists in PE 1.16.0+?}}{{info needed|Is it the account data for XBL?}}{{verify|Is this a regular file and not a directory?}} | ||
</div> | </div> | ||
| Line 88: | Line 88: | ||
On Windows devices, the root directory for ''Minecraft'' user data is {{File|directory|Minecraft Bedrock|inline=1}} or {{File|directory|Minecraft Bedrock Preview|inline=1}}. This directory contains some data outside of user-specific data in {{File|directory|com.mojang|inline=1}}, such as [[Minecraft:Marketplace]] content.<div class="treeview"> | On Windows devices, the root directory for ''Minecraft'' user data is {{File|directory|Minecraft Bedrock|inline=1}} or {{File|directory|Minecraft Bedrock Preview|inline=1}}. This directory contains some data outside of user-specific data in {{File|directory|com.mojang|inline=1}}, such as [[Minecraft:Marketplace]] content.<div class="treeview"> | ||
* {{File|directory|Minecraft Bedrock}} | * {{File|directory|Minecraft Bedrock}} | ||
** {{File|directory|cdn}}: Contains a | ** {{File|directory|cdn}}: Contains a resource pack for the [[Minecraft:SoulSteel]] button on the main menu. | ||
** {{File|directory|Flighting}} | ** {{File|directory|Flighting}} | ||
*** {{File|file|currentProgressions}}: Some technical information.{{Info needed}} | *** {{File|file|currentProgressions}}: Some technical information.{{Info needed}} | ||
*** {{File|file|currentTreatments}}: Contains some settings for which types of | *** {{File|file|currentTreatments}}: Contains some settings for which types of menu screens are shown. | ||
** {{File|directory|games\com.mojang}} | ** {{File|directory|games\com.mojang}} | ||
*** {{File|file|uwpMigration.dat}}: Related to the migration of user data from the UWP app to the GDK app (empty by default).{{Info needed}} | *** {{File|file|uwpMigration.dat}}: Related to the migration of user data from the UWP app to the GDK app (empty by default).{{Info needed}} | ||
| Line 99: | Line 99: | ||
** {{File|directory|premium_cache}}: Contains [[Minecraft:Marketplace]] packs. | ** {{File|directory|premium_cache}}: Contains [[Minecraft:Marketplace]] packs. | ||
*** {{File|directory|[[Minecraft:Behavior pack|behavior_packs]]}} | *** {{File|directory|[[Minecraft:Behavior pack|behavior_packs]]}} | ||
*** {{File|directory|persona}}: Contains Marketplace [[Minecraft:Character Creator]] items and | *** {{File|directory|persona}}: Contains Marketplace [[Minecraft:Character Creator]] items and capes. | ||
**** {{File|directory|''internal ID''}}: A character creator "pack", with the <code>persona_piece</code> type. | **** {{File|directory|''internal ID''}}: A character creator "pack", with the <code>persona_piece</code> type. | ||
**** {{File|file|personaCatalogItemCache.json}}: Stores data (including URLs, authors, and UUIDs) related to character creator items. | **** {{File|file|personaCatalogItemCache.json}}: Stores data (including URLs, authors, and UUIDs) related to character creator items. | ||
*** {{File|directory | *** {{File|directory|resource_packs}} | ||
*** {{File|directory|[[Minecraft:Skin pack|skin_packs]]}} | *** {{File|directory|[[Minecraft:Skin pack|skin_packs]]}} | ||
*** {{File|directory | *** {{File|directory|world_templates}} | ||
** {{File|directory|treatments\treatments_packs2}} | ** {{File|directory|treatments\treatments_packs2}} | ||
*** {{File|file|treatment_tags.json}}: Contains a list of tags, likely related to the {{File|file|currentTreatments|inline=1}} file.{{Info needed}} | *** {{File|file|treatment_tags.json}}: Contains a list of tags, likely related to the {{File|file|currentTreatments|inline=1}} file.{{Info needed}} | ||
| Line 122: | Line 122: | ||
** {{File|directory|minecraftWorlds}} | ** {{File|directory|minecraftWorlds}} | ||
*** {{File|directory|''world name''}} | *** {{File|directory|''world name''}} | ||
**** {{File|file|chunks.dat}}: Stores | **** {{File|file|chunks.dat}}: Stores chunk data. | ||
**** {{File|file|[[Minecraft:Bedrock Edition level format#level.dat|level.dat]]}}: Stores information about the world. | **** {{File|file|[[Minecraft:Bedrock Edition level format#level.dat|level.dat]]}}: Stores information about the world. | ||
**** {{File|file|[[Minecraft:Bedrock Edition level format/v0.1.0 alpha#player.dat|player.dat]]}}: Stores | **** {{File|file|[[Minecraft:Bedrock Edition level format/v0.1.0 alpha#player.dat|player.dat]]}}: Stores player data. | ||
</div> | </div> | ||
}} | }} | ||
|{{HistoryLine||v0.2.0|Added {{File|file|entities.dat|inline=1}} under {{File|directory|''world name''|inline=1}}, which stores | |{{HistoryLine||v0.2.0|Added {{File|file|entities.dat|inline=1}} under {{File|directory|''world name''|inline=1}}, which stores entity data. | ||
|{{File|file|player.dat|inline=1}} is no longer created nor used by the game and the data previously in there has been moved to {{File|file|level.dat|inline=1}}. Existing {{File|file|player.dat|inline=1}} files still remain.}} | |{{File|file|player.dat|inline=1}} is no longer created nor used by the game and the data previously in there has been moved to {{File|file|level.dat|inline=1}}. Existing {{File|file|player.dat|inline=1}} files still remain.}} | ||
|{{HistoryLine||v0.3.3|This version creates unused duplicate directories under <code>com.mojang/../games/com.mojang/minecraftWorlds</code>. {{File|directory|minecraftWorlds|inline=1}} does not have any additional files.}} | |{{HistoryLine||v0.3.3|This version creates unused duplicate directories under <code>com.mojang/../games/com.mojang/minecraftWorlds</code>. {{File|directory|minecraftWorlds|inline=1}} does not have any additional files.}} | ||
| Line 222: | Line 222: | ||
== See also == | == See also == | ||
* {{Cd| | * {{Cd|Microsoft.MinecraftUWP}}, the directory which stores all vanilla resources. | ||
== Notes == | == Notes == | ||
| Line 236: | Line 236: | ||
[[Category:Development]] | [[Category:Development]] | ||
es:Com.mojang | |||
fr:Com.mojang | |||
ja:Com.mojang | |||
lzh:Com.mojang | |||
pt:Com.mojang | |||
zh:Com.mojang | |||
Revision as of 15:43, 9 April 2026
Template:Lowercase title Template:For Template:Distinguish Template:Exclusive
Template:File is a game directory which contains the player's save data, such as worlds, custom resource packs and Minecraft:behavior packs, Minecraft:screenshots, game settings, and more.
Location
Below is a table showing the default path of Template:File.
| Platform | Path |
|---|---|
| Windows | %appdata%\Minecraft Bedrock\Users\user ID\games\com.mojang
|
| Windows (Preview) | %appdata%\Minecraft Bedrock Preview\Users\user ID\games\com.mojang
|
| Android and Fire OS |
|
| iOS and iPadOS | On My iPhone/Minecraft/games/com.mojang
|
Windows
On Windows, every signed in user has its own Template:File directory, located in the Users directory. A shared Template:File directory for all players and signed out players is stored in Users\Shared\games.
This means that worlds, options, and add-ons are stored separately for every player. User data in the directory of a signed in user is not visible for signed out players or different accounts.
Each player's data is synchronized with the Xbox cloud storage. The game synchronizes with the cloud during startup.
Android
On Android, there are two distinct Template:File directories - internal and external. If the File Storage Location option is set to Application, all data is stored in the internal directory. If it's set to External, some data (such as worlds) is stored in the external directory, but the internal directory is still used for other data.
The external directory can be viewed and edited by users, though it might require workarounds in newer Android versions. The internal directory cannot be viewed or edited without root access. It's not possible to migrate worlds and other data between those directories without root access.
The user ID is usually 0, but differs if the user is a secondary user. /storage/emulated/user ID is often presented as Internal storage or similar by file managers, or when you access the device via MTP (connected to a Linux, macOS or Windows computer).
Directory structure
- Template:File
- Template:File: Contains exported world files, presumably those with a failed export.Template:Info needed
- Template:File: Contains imported Minecraft:behavior packs.
- Template:File: Contains imported skin files.
- Template:File: Contains custom-made behavior packs.
- Template:File: Contains custom-made resource packs.
- Template:File: Contains custom-made skin packs.
- Template:File: Data related to Minecraft:Bedrock Editor
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File: Contains all saved hotbars.
- Template:File
- Template:File: JSON file containing one Template:Cd byte, whether the startup tutorial has been shown or not.
- Template:File
- Template:File: Stores all states of the windows in Tool Mode (expanded or not, size), and all buttons in the action bar.
- Template:File
- Template:File: Contains some information about the contents of this directory.
- Template:File
- Template:File
- Template:File: Matches the ID of the world in Template:File.
- Template:File
- Template:File
- Template:File: The ID of the currently selected hotbar in the global file.
- Template:File: Which hotbar slot is currently selected.
- Template:File
- Template:File: Contains some information about the contents of this directory.
- Template:File
- Template:File: Matches the ID of the world in Template:File.
- Template:File
- Template:File: Contains saved structure files.Template:Verify
- Template:File
- Template:File
- Template:File
- Template:File: Contains certain options related to Minecraft:Bedrock Editor.
- Template:File: Some information about Minecraft:Marketplace content.Template:Info needed
- Template:File: An ID of the client.Template:Info needed
- Template:File: Contains all external servers added in the Minecraft:server list, with their address and port.
- Template:File: Contains a custom skin.Template:Verify
- Template:File: Determines which resource packs are globally activated.
- Template:FileTemplate:Note
- Template:File: Shows all packs that can't be activated in-game.
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File: Shows all internal packs.Template:Info needed
- Template:File
- Template:File: Contains worlds.
- Template:File: See Template:Slink for contents.
- Template:File: Contains imported resource packs.
- Template:File: Contains imported skin packs.
- Template:FileTemplate:Sic: Contains Minecraft:screenshots.
- Template:File: Contains screenshots made on a specific Xbox account. The XUID is the ID of the player's Xbox account.
- Template:File: Screenshot in JPEG format.
- Template:File: Additional file of unknown format and not generated on every platform.
- Template:File: Screenshot in JPEG format.
- Template:File: Contains screenshot capture time.
- Template:File: Additional file of unknown format and not generated on every platform.
- Template:File: Contains screenshots made on a specific Xbox account. The XUID is the ID of the player's Xbox account.
- Template:File (there may be more than one)
- Template:File: Contains world templates.
- Template:FileTemplate:VerifyTemplate:Info neededTemplate:Verify
Root directory
On Windows devices, the root directory for Minecraft user data is Template:File or Template:File. This directory contains some data outside of user-specific data in Template:File, such as Minecraft:Marketplace content.
- Template:File
- Template:File: Contains a resource pack for the Minecraft:SoulSteel button on the main menu.
- Template:File
- Template:File: Some technical information.Template:Info needed
- Template:File: Contains some settings for which types of menu screens are shown.
- Template:File
- Template:File: Related to the migration of user data from the UWP app to the GDK app (empty by default).Template:Info needed
- Template:File: Stores all content logs.
- Template:File: Template:Info needed
- Template:File: A content log file, formatted like chat messages with the time, type, and level. Content logging is also visible and managable in-game in the Creator settings tab or as messages on the top of the screen.
- Template:File: Contains Minecraft:Marketplace packs.
- Template:File
- Template:File: Contains Marketplace Minecraft:Character Creator items and capes.
- Template:File: A character creator "pack", with the
persona_piecetype. - Template:File: Stores data (including URLs, authors, and UUIDs) related to character creator items.
- Template:File: A character creator "pack", with the
- Template:File
- Template:File
- Template:File
- Template:File
- Template:File: Contains a list of tags, likely related to the Template:File file.Template:Info needed
- Template:File: Contains folders for each user with the Template:File folder inside, storing user data.
- Template:File: Unknown file, may contain multiple files.Template:Info needed
- Template:File: Contains some data related to the packs.Template:Info needed
- Template:File: Template:Info needed
History
See also
- Template:Cd, the directory which stores all vanilla resources.
Notes
References
Template:Navbox Bedrock Edition
es:Com.mojang fr:Com.mojang ja:Com.mojang lzh:Com.mojang pt:Com.mojang zh:Com.mojang