Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Com.mojang: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{exclusive|bedrock|education}}
{{exclusive|bedrock|education}}


{{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.
{{File|directory|'''com.mojang'''|inline=1}} is a game directory which contains the [[Minecraft:player]]'s save data, such as [[Minecraft:world]]s, custom [[Minecraft:resource pack]]s 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 world files, presumably those with a failed export.{{info needed}}
** {{File|directory|archive}}: Contains exported [[Minecraft: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 skin files.
** {{File|directory|custom_skins}}: Contains imported [[Minecraft:skin]] files.
** {{File|directory|development_behavior_packs}}: Contains custom-made behavior packs.
** {{File|directory|development_behavior_packs}}: Contains custom-made [[Minecraft:behavior packs]].
** {{File|directory|development_resource_packs}}: Contains custom-made resource packs.
** {{File|directory|development_resource_packs}}: Contains custom-made [[Minecraft:resource packs]].
** {{File|directory|development_skin_packs}}: Contains custom-made skin packs.
** {{File|directory|development_skin_packs}}: Contains custom-made [[Minecraft: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 resource packs are globally activated.
*** {{File|file|global_resource_packs.json}}: Determines which [[Minecraft: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 worlds.
** {{File|directory|minecraftWorlds}}: Contains [[Minecraft:world]]s.
*** {{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 resource packs.
** {{File|directory|resource_packs}}: Contains imported [[Minecraft:resource pack]]s.
** {{File|directory|skin_packs}}: Contains imported skin packs.
** {{File|directory|skin_packs}}: Contains imported [[Minecraft: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 world templates.
** {{File|directory|world_templates}}: Contains [[Minecraft:World template|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 resource pack for the [[Minecraft:SoulSteel]] button on the main menu.
** {{File|directory|cdn}}: Contains a [[Minecraft:Resource pack#Internal resource packs|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 menu screens are shown.
*** {{File|file|currentTreatments}}: Contains some settings for which types of [[Minecraft:Menu screen|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 capes.
*** {{File|directory|persona}}: Contains Marketplace [[Minecraft:Character Creator]] items and [[Minecraft: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|resource_packs}}
*** {{File|directory|[[Minecraft:Resource pack|resource_packs]]}}
*** {{File|directory|[[Minecraft:Skin pack|skin_packs]]}}
*** {{File|directory|[[Minecraft:Skin pack|skin_packs]]}}
*** {{File|directory|world_templates}}
*** {{File|directory|[[Minecraft:World template|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 chunk data.
**** {{File|file|chunks.dat}}: Stores [[Minecraft: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 player data.
**** {{File|file|[[Minecraft:Bedrock Edition level format/v0.1.0 alpha#player.dat|player.dat]]}}: Stores [[Minecraft:player]] data.
</div>
</div>
}}
}}
|{{HistoryLine||v0.2.0|Added {{File|file|entities.dat|inline=1}} under {{File|directory|''world name''|inline=1}}, which stores entity data.
|{{HistoryLine||v0.2.0|Added {{File|file|entities.dat|inline=1}} under {{File|directory|''world name''|inline=1}}, which stores [[Minecraft: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|Microsoft.MinecraftUWP}}, the directory which stores all vanilla resources.
* [[Minecraft:Bedrock Edition installation files|''Bedrock Edition'' installation files]], the directory which stores all vanilla resources and app assets.
* [[Minecraft:Bedrock Edition cache files|''Bedrock Edition'' cache files]], the storage of temporary cache.


== Notes ==
== Notes ==
Line 236: Line 237:
[[Category:Development]]
[[Category:Development]]


es:Com.mojang
[[Minecraft:es:Com.mojang]]
fr:Com.mojang
[[Minecraft:fr:Com.mojang]]
ja:Com.mojang
[[Minecraft:ja:Com.mojang]]
lzh:Com.mojang
[[Minecraft:lzh:Com.mojang]]
pt:Com.mojang
[[Minecraft:pt:Com.mojang]]
zh:Com.mojang
[[Minecraft:zh:Com.mojang]]

Latest revision as of 11:02, 19 May 2026

Template:Lowercase title Template:For Template:Distinguish Template:Exclusive

Template:File is a game directory which contains the Minecraft:player's save data, such as Minecraft:worlds, custom Minecraft: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
  • Internal: /data/user/user ID/com.mojang.minecraftpe/games/com.mojang
  • External: /storage/emulated/user ID/Android/data/com.mojang.minecraftpe/files/games/com.mojang
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

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.

History

Template:HistoryTable

See also

Notes

Template:Notelist

References

Template:Reflist


Navigation

Template:Navbox Bedrock Edition

Minecraft:es:Com.mojang Minecraft:fr:Com.mojang Minecraft:ja:Com.mojang Minecraft:lzh:Com.mojang Minecraft:pt:Com.mojang Minecraft:zh:Com.mojang