Minecraft Wiki
Advertisement

This article is about the folder in Bedrock Edition. For the folder in Java Edition, see .minecraft.
Not to be confused with Mojang.com.
Information icon
This feature is exclusive to Bedrock Edition and Minecraft Education. 

com.mojang is the folder used internally by Minecraft Bedrock Edition. It contains worlds, JSON data, and other files necessary for the game to run.

Location[]

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 storage/emulated/0/Android/data/com.mojang.minecraftpe/files/games/com.mojang(Android)
Android Minecraft/games/com.mojang
iOS and iPadOS On My iPhone/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]

File hierarchy[]

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
        • renderchunk.fragment.dat
    • text
      • <language>.lang
      • languages.json

Behavior packs can contain anything that a resource pack contains, plus additional files:[verify]

History[]

Pocket Edition Alpha
v0.1.0Added com.mojang folder.
v0.15.0build 1Added resource_packs.
v0.16.0build 1Added behavior_packs.
Bedrock Edition
1.18.0beta 1.18.0.21Changed the location of com.mojang folder on Android due to API changes.
New location: storage/emulated/0/Android/data/com.mojang.minecraftpe/files/games/com.mojang.

Notes[]

  1. This file has no extension. It is a plaintext list of UUIDs, separated by newlines.[more information needed]
  2. The region ID is a 6-digit number. The region containing the player[verify] is a .log instead of a .dat.

References[]

  1. a b "Managing Data and Game Storage in Minecraft" – help.minecraft.net.
Advertisement