com.mojang is the folder used internally by Minecraft. It contains worlds, JSON data, and other files necessary for the game to run.
Locating com.mojang
Below is a table showing the default directory for com.mojang.[1]
| Platform | Location |
|---|---|
| Windows (including mobile) | %localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang
|
| Android and Fire OS | sdcard/games/com.mojang
|
| iOS | Minecraft/games/com.mojang
|
On Xbox One, the files are stored locally.[more information needed] They are also stored online if signed in to Xbox Live.[1]
On iOS, the folder can be accessed simply by searching com.mojang in the Files app.[more information needed]
com.mojang file hierarchy
- com.mojang
- behavior_packs (see Behavior packs )
- development_behavior_packs[more information needed]
- development_resource_packs[more information needed]
- development_skin_packs[more information needed]
- logs
- ClientCorrelation<ID>.dat[more information needed]
- minecraftpe
- catalog_info.json
- clientId.txt
- custom.png
- global_resource_packs.json
- hs[more information needed]
- options.txt
- telemetry_info.json
- valid_known_packs.json
- minecraftWorlds
- <internal world ID>
- behavior_packs (see Behavior packs )
- db
- <region ID>.dat[note 1]
- CURRENT.dat
- LOCK.dat[more information needed]
- MANIFEST-<ID>.dat
- level.dat
- level.dat_old
- levelname.txt
- resource_packs (see Resource packs )
- world_behavior_packs.json
- world_icon.jpg
- world_resource_packs.json
- resource_packs (see Resource packs )
- skin_packs
- <skin pack name>[more information needed]
- ud<id> (there may be more than 1)
- world_templates[more information needed]
Add-ons
Each world, and the com.mojang folder itself, has a resource_packs folder. This contains resource packs with the following structure:
- <resource pack name>[more information needed]
- manifest.json
- pack_icon.png
- shaders
- glsl
- renderchunk.dat
- hlsl
- renerchunk.fragment.dat
- glsl
- text
- <language>.lang
- languages.json
Behavior packs can contain anything that a resource pack contains, plus additional files:[verify]
- <behavior pack name>[more information needed]
- loot_tables
- blocks[verify]
- <block name>.json
- entities
- <entity name>.json
- blocks[verify]
- recipes
- <item name>.json
- loot_tables
History
| Pocket Edition Alpha | |||||
|---|---|---|---|---|---|
| 0.15.0 | build 1 | Added resource_packs. | |||
| 0.16.0 | build 1 | Added behavior_packs. | |||
Notes
References
| Editions |
| ||||||
|---|---|---|---|---|---|---|---|
| Development |
| ||||||
| Technical | |||||||
| Multiplayer | |||||||
| Exclusive features |
| ||||||
| Removed | |||||||