Return to site

How To Find Minecraft Save Folder

broken image


This article is about the folder in Java Edition. For the folder in Bedrock Edition, see com.mojang.
  1. Windows 10 Minecraft File Location
  2. Minecraft Folder Windows 10
  3. How To Find Minecraft Save Folder Maker
  4. How To Find Minecraft Save Folder Command
  5. How To Find Minecraft Save Folder Minecraft
This feature is exclusive to Java Edition.
How To Find Minecraft Save Folder

.minecraft (or simply minecraft in macOS) is the folder Minecraft creates to run from. This folder includes the .jar files, sound, music, resource packs, personal options, worlds, etc.

Locating .minecraft[edit]

Below is a table showing the default directory for .minecraft.

OSLocation
Windows%APPDATA%.minecraft
macOS~/Library/Application Support/minecraft
Linux~/.minecraft

Mr Minecraft 3rd Party Addons guy, do you know if there is a program to modify that file? I keep hearing that the files are saved in some specific format, and it would be nice to reorder the lists w/o having to delete and readd every server. If you are using windows 7 or vista then type%appdata% in your start menu search bar. It will open into a folder. In the folder will be.minecraft or a folder called roaming. If the folder called roaming is there, open it and you will see the.minecraft folder.

Minecraft

.minecraft (or simply minecraft in macOS) is the folder Minecraft creates to run from. This folder includes the .jar files, sound, music, resource packs, personal options, worlds, etc.

Locating .minecraft[edit]

Below is a table showing the default directory for .minecraft.

OSLocation
Windows%APPDATA%.minecraft
macOS~/Library/Application Support/minecraft
Linux~/.minecraft

Mr Minecraft 3rd Party Addons guy, do you know if there is a program to modify that file? I keep hearing that the files are saved in some specific format, and it would be nice to reorder the lists w/o having to delete and readd every server. If you are using windows 7 or vista then type%appdata% in your start menu search bar. It will open into a folder. In the folder will be.minecraft or a folder called roaming. If the folder called roaming is there, open it and you will see the.minecraft folder.

Locating the .minecraft folder can be vital for installing a resource pack, or to locate any made screenshots.

The Windows location in the table above is just the default case. Launchers can set the .minecraft at any path.

If you're a Windows user and are unfamiliar with how to find your appdata folder, follow these steps:

  1. Click Start → Run. If you don't see 'Run', press ⊞ Windows + R.
  2. Type %APPDATA%.minecraft and click 'OK'.

If you're a Mac user, you can open the folder through Spotlight:

Windows 10 Minecraft File Location

  1. Press ⌘ Command + Space or open the Spotlight popup through the magnifying glass icon on the right of the Menu Bar.
  2. Type ~/Library/Application Support/minecraft and hit ↵ Enter.

On Linux or macOS, the ~ in the path refers to the home directory. Folders starting with a . are hidden by default. In most file managers, hitting Ctrl + H toggles their hidden status. In macOS specifically, since version 10.12 (Sierra), the shortcut ⌘ Command + ⇧ Shift + . toggles the hidden status of files.


If you want to change directory of the .minecraft folder, see Tutorials/Custom Minecraft directory.

.minecraft file hierarchy[edit]

Use of a resource pack can be forced by naming its zip file to resources.zip and placing it in the root folder of the world save.[1] This feature is single-player only;[2] however, there is another way for servers to ask clients if they want to use the server resource pack.

For windows OS and linux, the contents of nativelog.txt and nativeUpdaterLog.txt can be found within launcher_log.txt when applicable (i.e. the contents ofnativeUpdaterLog.txt will only be present in latest_log.txt after the launcher is updated / launched for the first time).

History[edit]

Java Edition Infdev
June 29, 2010Added level.dat_old
Java Edition Alpha
v1.0.13Added session.lock
Java Edition
1.1317w43aRemoved structure data.
Added datapacks folder.
1.1418w47aAdded raids.dat
19w13aRemoved villages.dat and added poi region files.

References[edit]

  1. https://www.mojang.com/2014/02/minecraft-snapshot-14w07a/
  2. MC-73716


Versions
  • Demo
  • PC Gamer Demo(Beta 1.3)
Development
Version history
  • Classic
  • Removed features
  • Mentioned features
Technical
  • Known bugs
  • Commands
  • Data values
.minecraft
Development resources
  • Structure block file format
Legacy development resources
Multiplayer
Game customization
Retrieved from 'https://minecraft.gamepedia.com/.minecraft?oldid=1770289'
This article may need cleanup to comply with the style guide.[discuss]
Please help the Minecraft Wiki clean up this page if you can.
The talk page may contain suggestions.
This feature is exclusive to Java Edition.

The Region file format is a storage format for Minecraftchunks introduced in Beta 1.3, in which groups of 32×32 chunks (512×256×512 blocks, 67,108,864 total) are stored in a region file. Online game show. This file format took the place of the Alpha level format, which had been in use since the Infdev development phase, in which chunks were stored in individual files. It could be said that a region is a part of a file system where the header shows the player positions for each file and sector is the allocation size.

The system is based on McRegion,[1] a mod by Scaevolus, also known for his development of the Optimine project. The McRegion format was adopted nearly unchanged, except for the addition of a table of chunk update timestamps. Fcpeffects – print stacker (final cut pro x) download free. JahKob has claimed that this format is up to 7 times faster than the previous system.[2] The difference in a world's total file size between the Region file format and the Alpha level format is negligible.

The format has been superseded by the Anvil file format; however, the Anvil file format made changes only to the Chunk format and changed only the region file extensions from '.mcr' to '.mca'.

  • 1Region files

Region files[edit]

Region file location[edit]

Region files are located in a subfolder of the world directory called 'region', and have names in the form r.x.z.mcr, where x and z are the region's coordinates. Twitterrific 5 for twitter 5 1. The coordinates for the region a chunk belongs to can be found by taking the floor of the chunk coordinates divided by 32.

In Java Edition:

Diskkeeper pro 1 4 10. Or in bit-operation(bit shift):

For example, a chunk at (30, -3) would be in the region (0, -1), and one at (70, -30) would be at (2, -1).

Structure[edit]

Region files begin with an 8kB header containing information about which chunks are present in the region file, when they were last updated, and where they can be found. The location in the region file of a chunk at (x, z) (in chunk coordinates) must be found at byte offset 4 * ((x mod 32) + (z mod 32) * 32) in its region file. In case the values of x mod 32 or z mod 32 are negative (which happens when using % operator in Java/C/C++), simply add 32 or the player can replace mod with & (AND operator). Offset calculation look like this: 4 * ((x & 31) + (z & 31) * 32). Its timestamp can be found 4096 bytes later in the file. The remainder of the file consists of data for up to 1024 chunks, interspersed with unused space.

byte0 - 40954096 - 81918192..
descriptionlocations (1024 entries)timestamps (1024 entries)chunks and unused space

Chunk location[edit]

Location information for a chunk consists of four bytes split into two fields: the first three bytes are a (big-endian) offset in 4KiB sectors from the start of the file, and a remaining byte that gives the length of the chunk (also in 4KiB sectors, rounded up). Chunks are always less than 1MiB in size. If a chunk isn't present in the region file (e.g. because it hasn't been generated or migrated yet), both fields are zero.

byte0123
descriptionoffsetsector count

A chunk with an offset of 2 begins right after the timestamps table.

Chunk timestamps[edit]

The entries in the timestamp table are individual four-byte big-endian integers, representing the last modification time of a chunk in epoch seconds.

byte0123
descriptiontimestamp

Chunk data[edit]

Minecraft Folder Windows 10

Chunk data begins with a (big-endian) four-byte length field that indicates the exact length of the remaining chunk data in bytes. The following byte indicates the compression scheme used for chunk data, and the remaining (length-1) bytes are the compressed chunk data.

Minecraft always pads the last chunk's data to be a multiple-of-4096B in length (so that the entire file has a size that is a multiple of 4KiB). Minecraft does not accept files in which the last chunk is not padded. Note that this padding is not included in the length field.

byte012345..
descriptionlength (in bytes)compression typecompressed data (length-1 bytes)

There are currently three defined compression schemes:

valuemethod
1GZip (RFC1952) (unused in practice)
2Zlib (RFC1950)
3since a version before 1.15.1[keep it uncompressed](unused in practice)

How To Find Minecraft Save Folder Maker

The uncompressed data is in NBT format and follows the information detailed on the chunk format article; if compressed with compression scheme 1, the compressed data would be the same as the on-disk content of an Alpha chunk file. Note that chunks are always saved using compression scheme 2 by the official client.

If the value of compression scheme increases by 128, the compressed data is saved in a file called c.x.z.mcc, where x and z are the chunk's coordinates, instead of the usual position.

Migration and level.dat[edit]

How Minecraft looks when converting to the new format.

Beta 1.3 converts any 'old' chunks into region files before loading the world, rather than incrementally as they are loaded during play. As part of the conversion, level.dat is updated with TAG_Int('version') (note case) set to 19132. Beta 1.3 also introduces a new level name field, TAG_String('LevelName'). There's also introduced new TAG_Byte('Sleeping') in player TAG_Compounds - level.dat in singleplayer, [player name].dat in multiplayer that indicates whether is player in the bed. It has value 1(true) or 0(false). For the beta 1.8, TAG_Int('GameType') was added. In beta 1.9, TAG_byte('hardcore') was added.

The format of level.dat is otherwise unchanged.

See also[edit]

External links[edit]

How To Find Minecraft Save Folder Command

References[edit]

  1. http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/mods-discussion/1346703-mod-mcregion-v5-optimized-saves-1-2_02#p2619453
  2. http://www.pcgamer.com/minecraft-dev-diary-new-block-magic-fiddles/

Software[edit]

How To Find Minecraft Save Folder Minecraft

The community has developed programs to work with region files:

NameDescriptionScreenshot
McRegionThis mod optimizes how chunks are stored on the disk, meaning pauses to load or save a chunk as the player moves around a world become much shorter and less noticeable.
Minecraft Region FixerThis tool is a python script that tries to fix problems in region files. It can find some typical errors (corrupted chunks, wrong located chunks, too many entities problems), and can fix these errors in various ways (deleting the chunks, replacing them with a backup copy, or relocating the chunk). This is a command-line application.
MCA2NBTA simple Unix command-line utility to convert a Minecraft .mca region file (in anvil format) to a directory with the same basename containing an uncompressed NBT file for each of its chunks.
Region ScannerA Java Edition 1.7.10 (only) Java command line utility to analyze and mass edit region files
Versions
  • Demo
  • PC Gamer Demo(Beta 1.3)
Development
Version history
  • Classic
  • Removed features
  • Mentioned features
Technical
  • Known bugs
  • Commands
  • Data values
.minecraft
Development resources
  • Region file format
  • Structure block file format
Legacy development resources
Multiplayer
Game customization
Retrieved from 'https://minecraft.gamepedia.com/Region_file_format?oldid=1701590'




broken image