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)
Fix template calls: add MC/ prefix
 
Line 1: Line 1:
{{lowercase title}}
{{MC/Lowercase title}}
{{For|the {{JE}} directory|.minecraft}}
{{For|the {{MC/JE}} directory|.minecraft}}
{{distinguish|Mojang.com}}
{{MC/Distinguish|Mojang.com}}
{{exclusive|bedrock|education}}
{{MC/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 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.
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 world files, presumably those with a failed export.{{MC/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 skin files.
Line 32: Line 32:
** {{File|directory|development_resource_packs}}: Contains custom-made resource packs.
** {{File|directory|development_resource_packs}}: Contains custom-made resource packs.
** {{File|directory|development_skin_packs}}: Contains custom-made skin packs.
** {{File|directory|development_skin_packs}}: Contains custom-made skin packs.
*** {{File|file|ClientCorrelation<ID>.dat}}{{info needed}}
*** {{File|file|ClientCorrelation<ID>.dat}}{{MC/Info needed}}
** {{File|directory|editor}}: Data related to ''[[Minecraft:Bedrock Editor]]''
** {{File|directory|editor}}: Data related to ''[[Minecraft:Bedrock Editor]]''
*** {{File|directory|persistance/client}}
*** {{File|directory|persistance/client}}
Line 40: Line 40:
******* {{File|file|custom_blockpalettes.json}}: Contains all saved hotbars.
******* {{File|file|custom_blockpalettes.json}}: Contains all saved hotbars.
****** {{File|directory|tutorial/0}}
****** {{File|directory|tutorial/0}}
******* {{File|file|Editor.Tutorial.Presented.json}}: JSON file containing one {{cd|value}} byte, whether the startup tutorial has been shown or not.
******* {{File|file|Editor.Tutorial.Presented.json}}: JSON file containing one {{MC/Cd|value}} byte, whether the startup tutorial has been shown or not.
****** {{File|directory|ui_settings/0}}
****** {{File|directory|ui_settings/0}}
******* {{File|file|ui_settings.json}}: Stores all states of the windows in Tool Mode (expanded or not, size), and all buttons in the action bar.
******* {{File|file|ui_settings.json}}: Stores all states of the windows in Tool Mode (expanded or not, size), and all buttons in the action bar.
Line 51: Line 51:
******** {{File|file|selected_palette_item_index.json}}: Which hotbar slot is currently selected.
******** {{File|file|selected_palette_item_index.json}}: Which hotbar slot is currently selected.
****** {{File|file|group_manifest.json}}: Contains some information about the contents of this directory.
****** {{File|file|group_manifest.json}}: Contains some information about the contents of this directory.
*** {{File|directory|structuredb}}: Contains saved structure files.{{verify}}
*** {{File|directory|structuredb}}: Contains saved structure files.{{MC/Verify}}
** {{File|directory|minecraftpe}}
** {{File|directory|minecraftpe}}
*** {{File|directory|editor}}
*** {{File|directory|editor}}
**** {{File|file|editoroptions.txt}}: Contains certain options related to ''[[Minecraft:Bedrock Editor]]''.
**** {{File|file|editoroptions.txt}}: Contains certain options related to ''[[Minecraft:Bedrock Editor]]''.
*** {{File|file|catalog_info.json}}: Some information about [[Minecraft:Marketplace]] content.{{info needed}}
*** {{File|file|catalog_info.json}}: Some information about [[Minecraft:Marketplace]] content.{{MC/Info needed}}
*** {{File|file|clientId.txt}}: An ID of the client.{{info needed}}
*** {{File|file|clientId.txt}}: An ID of the client.{{MC/Info needed}}
*** {{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.{{MC/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 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.{{MC/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.
*** {{File|file|NonAssertErrorLog.txt}}
*** {{File|file|NonAssertErrorLog.txt}}
Line 68: Line 68:
*** {{File|file|storage_object}}
*** {{File|file|storage_object}}
*** {{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.{{MC/Info needed}}
** {{File|directory|minecraftWorlds}}: Contains worlds.
** {{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.
Line 82: Line 82:
** {{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 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}}{{MC/Verify|Exists in PE 1.16.0+?}}{{MC/Info needed|Is it the account data for XBL?}}{{MC/Verify|Is this a regular file and not a directory?}}
</div>
</div>


Line 90: Line 90:
** {{File|directory|cdn}}: Contains a resource pack for the [[Minecraft:SoulSteel]] button on the main menu.
** {{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.{{MC/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 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).{{MC/Info needed}}
** {{File|directory|logs}}: Stores all content logs.
** {{File|directory|logs}}: Stores all content logs.
*** {{File|file|ClientCorrelation''ID''.dat}}: {{Info needed}}
*** {{File|file|ClientCorrelation''ID''.dat}}: {{MC/Info needed}}
*** {{File|file|ContentLogYYYY-MM-DD_HH-MM-SS_''1''.txt}}: 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 [[Minecraft:Settings#Creator|Creator]] settings tab or as messages on the top of the screen.
*** {{File|file|ContentLogYYYY-MM-DD_HH-MM-SS_''1''.txt}}: 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 [[Minecraft:Settings#Creator|Creator]] settings tab or as messages on the top of the screen.
** {{File|directory|premium_cache}}: Contains [[Minecraft:Marketplace]] packs.
** {{File|directory|premium_cache}}: Contains [[Minecraft:Marketplace]] packs.
Line 106: Line 106:
*** {{File|directory|world_templates}}
*** {{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.{{MC/Info needed}}
** {{File|directory|Users}}: Contains folders for each user with the {{File|directory|com.mojang|inline=1}} folder inside, storing user data.
** {{File|directory|Users}}: Contains folders for each user with the {{File|directory|com.mojang|inline=1}} folder inside, storing user data.
** {{File|file|''ID''.ent}}: Unknown file, may contain multiple files.{{Info needed}}
** {{File|file|''ID''.ent}}: Unknown file, may contain multiple files.{{MC/Info needed}}
** {{File|file|PackManifestFactoryCache}}: Contains some data related to the packs.{{Info needed}}
** {{File|file|PackManifestFactoryCache}}: Contains some data related to the packs.{{MC/Info needed}}
** {{File|file|purchase_cache}}: {{Info needed}}
** {{File|file|purchase_cache}}: {{MC/Info needed}}
</div>
</div>


== History ==
== History ==
{{HistoryTable
{{HistoryTable
|{{HistoryLine|pocket alpha}}
|{{MC/HistoryLine|pocket alpha}}
|{{HistoryLine||v0.1.0|Added the {{File|directory|com.mojang|inline=1}} directory at the path <code>/storage/emulated/<user ID>/games/com.mojang</code>.
|{{HistoryLine||v0.1.0|Added the {{File|directory|com.mojang|inline=1}} directory at the path <code>/storage/emulated/<user ID>/games/com.mojang</code>.
|The file hierarchy of com.mojang is as follows:
|The file hierarchy of com.mojang is as follows:
Line 164: Line 164:
|Added {{File|file|levelname.txt|inline=1}} under {{File|directory|''internal world ID''|inline=1}}.
|Added {{File|file|levelname.txt|inline=1}} under {{File|directory|''internal world ID''|inline=1}}.
|<code>level.dat_old</code> is now created if the player goes to a given world's edit menu and changes any settings in it. Doing this also deletes the world's <code>level.dat</code> file, though it is created again upon world reentry.}}
|<code>level.dat_old</code> is now created if the player goes to a given world's edit menu and changes any settings in it. Doing this also deletes the world's <code>level.dat</code> file, though it is created again upon world reentry.}}
|{{HistoryLine||v0.13.0|dev=build 1|The <code>snooper</code> directory has been moved from <code>com.mojang/minecraftpe/snooper</code> to <code>com.mojang/snooper</code>. The old <code>snooper</code> directory still remains, but is no longer updated.}}
|{{MC/HistoryLine||v0.13.0|dev=build 1|The <code>snooper</code> directory has been moved from <code>com.mojang/minecraftpe/snooper</code> to <code>com.mojang/snooper</code>. The old <code>snooper</code> directory still remains, but is no longer updated.}}
|{{HistoryLine||v0.14.2|<code>snooper</code> is no longer created nor updated by the game.}}
|{{MC/HistoryLine||v0.14.2|<code>snooper</code> is no longer created nor updated by the game.}}
|{{HistoryLine||v0.15.0|dev=build 1|Added <code>r.txt</code> file under <code>minecraftpe</code>. The content of this file is <code>Vanilla</code>.
|{{MC/HistoryLine||v0.15.0|dev=build 1|Added <code>r.txt</code> file under <code>minecraftpe</code>. The content of this file is <code>Vanilla</code>.
|<code>LOG</code> and <code>LOG.old</code> files are no longer generated by the game.}}
|<code>LOG</code> and <code>LOG.old</code> files are no longer generated by the game.}}
|{{HistoryLine|||dev=build 2|Added <code>r2.txt</code> file under <code>minecraftpe</code>. The content of this file is <code>Minecraft</code>.
|{{MC/HistoryLine|||dev=build 2|Added <code>r2.txt</code> file under <code>minecraftpe</code>. The content of this file is <code>Minecraft</code>.
|<code>r.txt</code> is no longer created by the game.
|<code>r.txt</code> is no longer created by the game.
|<code>level.dat_old</code> is once again created by the game whenever the player exits a world.}}
|<code>level.dat_old</code> is once again created by the game whenever the player exits a world.}}
|{{HistoryLine|||dev=release|Added <code>resource_packs.txt</code> file under <code>minecraftpe</code>. The content of this file is <code>Minecraft</code>.
|{{MC/HistoryLine|||dev=release|Added <code>resource_packs.txt</code> file under <code>minecraftpe</code>. The content of this file is <code>Minecraft</code>.
|<code>r2.txt</code> is no longer created by the game.}}
|<code>r2.txt</code> is no longer created by the game.}}
|{{HistoryLine||v0.16.0|dev=build 1|<code>resource_packs.txt</code> is now an empty file by default.
|{{MC/HistoryLine||v0.16.0|dev=build 1|<code>resource_packs.txt</code> is now an empty file by default.
|<code>resource_packs.txt</code> files are now created for each individual world under <code><internal world ID></code>.}}
|<code>resource_packs.txt</code> files are now created for each individual world under <code><internal world ID></code>.}}
|{{HistoryLine|||dev=build 4|Added <code>global_resource_packs.txt</code> file under <code>minecraftpe</code>. This file is empty by default.}}
|{{MC/HistoryLine|||dev=build 4|Added <code>global_resource_packs.txt</code> file under <code>minecraftpe</code>. This file is empty by default.}}
|{{HistoryLine|||dev=build 5|Added two directories under <code>com.mojang</code>: <code>behavior_packs</code> and <code>resource_packs</code>. Both are empty by default.
|{{HistoryLine|||dev=build 5|Added two directories under <code>com.mojang</code>: <code>behavior_packs</code> and <code>resource_packs</code>. Both are empty by default.
|Added <code>Perf_Log.csv</code> file under <code>com.mojang</code>.
|Added <code>Perf_Log.csv</code> file under <code>com.mojang</code>.
Line 212: Line 212:
</div>}}
</div>}}
}}
}}
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine||1.18.0|dev=beta 1.18.0.21|Changed the path of the {{File|directory|com.mojang|inline=1}} directory on Android due to API changes.
|{{HistoryLine||1.18.0|dev=beta 1.18.0.21|Changed the path of the {{File|directory|com.mojang|inline=1}} directory on Android due to API changes.
|New path: <code>/data/user/<user ID>/com.mojang.minecraftpe/games/com.mojang</code> (internal) and <code>/storage/emulated/<user ID>/Android/data/com.mojang.minecraftpe/files/games/com.mojang</code> (external).}}
|New path: <code>/data/user/<user ID>/com.mojang.minecraftpe/games/com.mojang</code> (internal) and <code>/storage/emulated/<user ID>/Android/data/com.mojang.minecraftpe/files/games/com.mojang</code> (external).}}
Line 222: Line 222:


== See also ==
== See also ==
* {{Cd|Microsoft.MinecraftUWP}}, the directory which stores all vanilla resources.
* {{MC/Cd|Microsoft.MinecraftUWP}}, the directory which stores all vanilla resources.


== Notes ==
== Notes ==
Line 228: Line 228:


== References ==
== References ==
{{Reflist}}
{{MC/Reflist}}




== Navigation ==
== Navigation ==
{{Navbox Bedrock Edition}}
{{MC/Navbox Bedrock Edition}}


[[Category:Development]]
[[Category:Development]]

Latest revision as of 20:07, 9 April 2026

Template:For Template:Hatnote Script error: No such module "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
  • 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

  1. REDIRECT Template:Code

Template:Redr byte, whether the startup tutorial has been shown or not.

 #vardefine: verifyedition | 

}}<verify for {{#var:verifyedition}}></verify for {{#var:verifyedition}}>{{

 #vardefine: verifyedition | 

}}

 #vardefine: verifyedition | 

}}<verify for {{#var:verifyedition}}></verify for {{#var:verifyedition}}>{{

 #vardefine: verifyedition | 

}}

 #vardefine: verifyedition | 

}}<verify for {{#var:verifyedition}}></verify for {{#var:verifyedition}}>{{

 #vardefine: verifyedition | 

}}​<more information needed></more information needed>{{

 #vardefine: verifyedition | 

}}<verify for {{#var:verifyedition}}></verify for {{#var:verifyedition}}>{{

 #vardefine: verifyedition | 

}}

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

  1. REDIRECT Template:Code

Template:Redr, the directory which stores all vanilla resources.

Notes

Template:Notelist

References

<references group="">

 </references>


Navigation

Editions
Merged
Ports to consoles
Discontinued
Development
Version history
Technical
Creator
Add-ons
Multiplayer
Exclusive features
Blocks
Mobs
Effects
Unused
Removed

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