com.mojang is the folder used internally by Minecraft. It contains worlds, JSON data, and other files necessary for the game to run.
Below is a table showing the default directory for com.mojang.
|Windows (including mobile)
|Android and Fire OS
On Xbox One, the files are stored locally.[more information needed] They are also stored online if signed in to Xbox Live.
On iOS, the folder can be accessed simply by searching
com.mojang in the Files app.[more information needed]
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]
Behavior packs can contain anything that a resource pack contains, plus additional files:[verify]
- ↑ The region ID is a 6-digit number. The region containing the player[verify] is a .log instead of a .dat.