Minecraft Wiki
Advertisement
Minecraft Wiki
Information icon.svg
ฟีเจอร์นี้พบได้เฉพาะใน รุ่น Java

.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[]

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

.minecraft/path

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:

  1. Press ⌘ Command+Space or open the Spotlight popup through the magnifying glass icon in 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.

.minecraft file hierarchy[]

List
  • .minecraft
    • assets
      • indexes
        • version.json
      • log_configs
        • client-version.xml
      • objects
      • skins
      • virtual
    • bin
      • jinput.jar
      • lwjgl.jar
      • lwjgl_util.jar
      • minecraft.jar (it is the client.jar for 1.5.2. The game doesn't use it though; it uses the "versions" folder instead.)
      • natives
        • (.dll files)
    • debug
      • debug-report-year-month-day_hour.minute.second.zip
      • profile-report-year-month-day_hour.minute.second.txt
    • libraries
      • [Various libraries packaged per Maven convention (without POM files)]
    • logs
      • year-month-day-sessionNumber.log.gz
      • latest.log
    • resourcepacks
    • saves
      • worldName
        • advancements
          • uuid.json
        • data
          • idcounts.dat
          • map_id.dat
          • scoreboard.dat
          • raids.dat
        • datapacks
        • DIM1
        • DIM-1
        • generated
          • (namespace)
            • structures
              • name.nbt
        • playerdata
          • uuid.dat
        • poi
        • region
        • stats
          • uuid.json
        • icon.png
        • level.dat
        • level.dat_mcr
        • level.dat_old
        • resources.zip
        • session.lock
    • screenshots
      • year-month-day_hour.minute.second.png
    • stats
      • stats_player_unsent.dat
      • stats_player_unsent.old
    • texturepacks
    • texturepacks-mp-cache
    • versions
      • version
        • version.jar
        • version.json
    • debug.stitched_items.png
    • debug.stitched_terrain.png
    • hotbar.nbt
    • lastlogin
    • launcher_log.txt
    • launcher_profiles.json
    • options.txt
    • output-client.log
    • output-server.log
    • realms_persistence.json
    • servers.dat
    • textures_0.png
    • textures_1.png
    • textures_2.png
    • textures_3.png
    • textures_4.png
    • usercache.json

Use of a resource pack can be force 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.

ประวัติ[]

รุ่น Java
1.1317w43aลบข้อมูลโครงสร้างออก
เพิ่มโฟลเดอร์ datapacks
1.1418w47aเพิ่ม raids.dat
19w13aลบ villages.dat ออก และเพิ่มส่วนไฟล์ poi

อ้างอิง[]

Hju