Minecraft Wiki
잔글 (175.201.95.140(토론)의 편집을 Minejango2의 마지막 판으로 되돌림)
태그: 일괄 되돌리기
잔글편집 요약 없음
(사용자 3명의 중간 판 6개는 보이지 않습니다)
13번째 줄: 13번째 줄:
 
| /'''level.dat'''
 
| /'''level.dat'''
 
| [[#level.dat format|(현재 문서)]]
 
| [[#level.dat format|(현재 문서)]]
| 레벨의 글로벌 정보를 저장함.
+
| 레벨(세계)의 글로벌 정보를 저장함.
 
|-
 
|-
 
|/''level.dat_new''
 
|/''level.dat_new''
 
| —
 
| —
  +
|Program writes new global information about the level and after that file is renamed to level.dat
| 프로그램이 레벨에 대한 새 글로벌 정보를 작성하고 파일 이름이 level.dat으로 변경된 후에 생기는 파일.
 
 
|-
 
|-
 
| /''level.dat_mcr''
 
| /''level.dat_mcr''
28번째 줄: 28번째 줄:
 
|-
 
|-
 
| /'''session.lock'''
 
| /'''session.lock'''
| [[#session.lock format|(below)]]
+
| [[#session.lock format|(현재 문서)]]
 
| Used to give write access to the last program to modify this file.
 
| Used to give write access to the last program to modify this file.
 
|-
 
|-
48번째 줄: 48번째 줄:
 
|-
 
|-
 
| /'''data'''/''command_storage_<namespace>.dat''
 
| /'''data'''/''command_storage_<namespace>.dat''
| [[Command storage format]]
+
| [[명령어 저장 포맷]]
 
| Stores information about the general purpose, key/value [[command storage]], since [[19w38a]].
 
| Stores information about the general purpose, key/value [[command storage]], since [[19w38a]].
 
|-
 
|-
 
| /'''data'''/''idcounts.dat''<br>/'''data'''/''map_<#>.dat''
 
| /'''data'''/''idcounts.dat''<br>/'''data'''/''map_<#>.dat''
| [[Map item format]]
+
| [[지도 아이템 포맷]]
 
| Stores the map data for the craftable [[Map]] items.
 
| Stores the map data for the craftable [[Map]] items.
 
|-
 
|-
64번째 줄: 64번째 줄:
   
 
/'''DIM1'''/''poi''/
 
/'''DIM1'''/''poi''/
|[[#poi format|(below)]]
+
|[[#poi format|(현재 문서)]]
 
|Villager identified beds, job sites, and bells in the world.
 
|Villager identified beds, job sites, and bells in the world.
 
|-
 
|-
105번째 줄: 105번째 줄:
 
|}
 
|}
   
== <samp>level.dat</samp> format ==
+
== <samp>level.dat</samp> 포맷 ==
 
The '''<samp>level.dat</samp>''' file contains global information about the world such as the time of day, the singleplayer player, the level generator used, and the seed. It is an [[NBT Format|NBT]] file with this structure:
 
The '''<samp>level.dat</samp>''' file contains global information about the world such as the time of day, the singleplayer player, the level generator used, and the seed. It is an [[NBT Format|NBT]] file with this structure:
 
<div class="treeview">
 
<div class="treeview">
142번째 줄: 142번째 줄:
 
***** {{nbt|string}}: A single datapack.
 
***** {{nbt|string}}: A single datapack.
 
***{{nbt|int|DataVersion}}: An integer displaying the [[data version]].
 
***{{nbt|int|DataVersion}}: An integer displaying the [[data version]].
 
***{{nbt|long|DayTime}}: The time of day. 0 is sunrise, 6000 is mid day, 12000 is sunset, 18000 is mid night, 24000 is the next day's 0. This value keeps counting past 24000 and does not reset to 0.
 
***{{nbt|byte|Difficulty}}: The current difficulty setting. 0 is Peaceful, 1 is Easy, 2 is Normal, and 3 is Hard. Defaults to 2.
 
***{{nbt|byte|Difficulty}}: The current difficulty setting. 0 is Peaceful, 1 is Easy, 2 is Normal, and 3 is Hard. Defaults to 2.
 
***{{nbt|byte|DifficultyLocked}}: 1 or 0 (true/false) - True if the difficulty has been locked. Defaults to 0.
 
***{{nbt|byte|DifficultyLocked}}: 1 or 0 (true/false) - True if the difficulty has been locked. Defaults to 0.
***{{nbt|long|DayTime}}: The time of day. 0 is sunrise, 6000 is mid day, 12000 is sunset, 18000 is mid night, 24000 is the next day's 0. This value keeps counting past 24000 and does not reset to 0.
 
 
***{{nbt|compound|DimensionData}}: This tag contains level data specific to certain dimensions.
 
***{{nbt|compound|DimensionData}}: This tag contains level data specific to certain dimensions.
 
****{{nbt|compound|1}}: Data for The End
 
****{{nbt|compound|1}}: Data for The End
158번째 줄: 158번째 줄:
 
******{{nbt|long|DragonUUIDMost}}: The most significant bits of the current Ender Dragon's [http://docs.oracle.com/javase/6/docs/api/java/util/UUID.html Universally Unique IDentifier]. This is joined with DragonUUIDLeast to form the dragon's unique ID.
 
******{{nbt|long|DragonUUIDMost}}: The most significant bits of the current Ender Dragon's [http://docs.oracle.com/javase/6/docs/api/java/util/UUID.html Universally Unique IDentifier]. This is joined with DragonUUIDLeast to form the dragon's unique ID.
 
******{{nbt|byte|PreviouslyKilled}}: 1 or 0 (true/false) - If the ender dragon has ever been defeated. Used to determine EXP given by dragon
 
******{{nbt|byte|PreviouslyKilled}}: 1 or 0 (true/false) - If the ender dragon has ever been defeated. Used to determine EXP given by dragon
 
*** {{nbt|compound|GameRules}}: The [[Commands/gamerule|gamerules]] used in the world.
  +
*** {{nbt|compound|WorldGenSettings}}: Used in 1.16, the generation settings for each dimension.
  +
****{{nbt|compound|dimensions}}: Contains all the dimensions
  +
*****{{nbt|compound|''Dimension ID''}}: The root for [[Custom dimension|generator settings]]
 
*** {{nbt|int|GameType}}: The default game mode for the singleplayer player when they initially spawn. 0 is [[Survival]], 1 is [[Creative]], 2 is [[Adventure]], 3 is [[Spectator]]. Note: Singleplayer worlds do not use this field to save which game mode the player is currently in.
 
*** {{nbt|int|GameType}}: The default game mode for the singleplayer player when they initially spawn. 0 is [[Survival]], 1 is [[Creative]], 2 is [[Adventure]], 3 is [[Spectator]]. Note: Singleplayer worlds do not use this field to save which game mode the player is currently in.
*** {{nbt|compound|GameRules}}: The [[Commands/gamerule|gamerules]] used in the world.
 
 
****{{nbt|string|Rule name}}: The value for the given rule. This is always an NBT string, which is either <code>true</code> or <code>false</code> for the majority of rules (with it being a number for some other rules, and any arbitrary string for a user-defined rule)
 
****{{nbt|string|Rule name}}: The value for the given rule. This is always an NBT string, which is either <code>true</code> or <code>false</code> for the majority of rules (with it being a number for some other rules, and any arbitrary string for a user-defined rule)
***{{nbt|string|generatorName}}: The name of the generator; {{cd|default}}, {{cd|flat}}, {{cd|largeBiomes}}, {{cd|amplified}}, {{cd|buffet}}, {{cd|debug_all_block_states}} or {{cd|default_1_1}}. Not case sensitive, but always written in the case here. The last one can only exist if the file was edited. It is a variation of the default generation. It can also be {{cd|customized}} if it is a customized world from before 1.13. In this case the world will become {{cd|default}} if opened using 1.13 or newer.
+
***{{nbt|string|generatorName}}: Used in 1.15 and below. The name of the generator; {{cd|default}}, {{cd|flat}}, {{cd|largeBiomes}}, {{cd|amplified}}, {{cd|buffet}}, {{cd|debug_all_block_states}} or {{cd|default_1_1}}. Not case sensitive, but always written in the case here. The last one can only exist if the file was edited. It is a variation of the default generation. It can also be {{cd|customized}} if it is a customized world from before 1.13. In this case the world will become {{cd|default}} if opened using 1.13 or newer.
***{{nbt|compound|generatorOptions}}: Used in [[buffet]], [[superflat]] and old [[customized]] worlds. Format below.
+
***{{nbt|compound|generatorOptions}}: Used in 1.15 and below. Used in [[buffet]], [[superflat]] and old [[customized]] worlds. Format below.
*** {{nbt|int|generatorVersion}}: The version of the level generator. The effects of changing this are unknown, but values other than 0 have been observed.
+
*** {{nbt|int|generatorVersion}}: Used in 1.15 and below. The version of the level generator. The effects of changing this are unknown, but values other than 0 have been observed.
 
***{{nbt|byte|hardcore}}: 1 or 0 (true/false) - true if the player will respawn in [[Spectator]] on death in singleplayer. Affects all three game modes.
 
***{{nbt|byte|hardcore}}: 1 or 0 (true/false) - true if the player will respawn in [[Spectator]] on death in singleplayer. Affects all three game modes.
 
***{{nbt|byte|initialized}}: 1 or 0 (true/false) - Normally true after a world has been initialized properly after creation. If the initial simulation was canceled somehow, this can be false and the world will be re-initialized on next load.
 
***{{nbt|byte|initialized}}: 1 or 0 (true/false) - Normally true after a world has been initialized properly after creation. If the initial simulation was canceled somehow, this can be false and the world will be re-initialized on next load.
170번째 줄: 173번째 줄:
 
***{{nbt|byte|MapFeatures}}: 1 or 0 (true/false) - true if the map generator should place structures such as villages, strongholds, and mineshafts. Defaults to 1. Always 1 if the world type is Customized.
 
***{{nbt|byte|MapFeatures}}: 1 or 0 (true/false) - true if the map generator should place structures such as villages, strongholds, and mineshafts. Defaults to 1. Always 1 if the world type is Customized.
 
***{{nbt|compound|Player}}: The state of the Singleplayer player. This overrides the <player>.dat file with the same name as the Singleplayer player. This is only saved by Servers if it already exists, otherwise it is not saved for server worlds. See [[Player.dat format#NBT Structure|Player.dat Format]].
 
***{{nbt|compound|Player}}: The state of the Singleplayer player. This overrides the <player>.dat file with the same name as the Singleplayer player. This is only saved by Servers if it already exists, otherwise it is not saved for server worlds. See [[Player.dat format#NBT Structure|Player.dat Format]].
***{{nbt|long|RandomSeed}}: The [[Seed (level generation)|random level seed]] used to generate consistent terrain.
 
 
***{{nbt|byte|raining}}: 1 or 0 (true/false) - true if the level is currently experiencing rain, snow, and cloud cover.
 
***{{nbt|byte|raining}}: 1 or 0 (true/false) - true if the level is currently experiencing rain, snow, and cloud cover.
 
***{{nbt|int|rainTime}}: The number of ticks before "raining" is toggled and this value gets set to another random value.
 
***{{nbt|int|rainTime}}: The number of ticks before "raining" is toggled and this value gets set to another random value.
 
***{{nbt|long|RandomSeed}}: The [[Seed (level generation)|random level seed]] used to generate consistent terrain.
 
***{{nbt|long|SizeOnDisk}}: The estimated size in bytes of the level. Currently not modified or used by Minecraft, but was previously.
 
***{{nbt|long|SizeOnDisk}}: The estimated size in bytes of the level. Currently not modified or used by Minecraft, but was previously.
 
***{{nbt|int|SpawnX}}: The X coordinate of the world spawn.
 
***{{nbt|int|SpawnX}}: The X coordinate of the world spawn.
190번째 줄: 193번째 줄:
 
</div>
 
</div>
   
== generatorOptions tag format ==
+
== generatorOptions tag 포맷 ==
The {{nbt|compound|generatorOptions}} tag format varies depending on the generator name. It only affects the [[Overworld]] dimension.
+
The {{nbt|compound|generatorOptions}} tag format varies depending on the generator name. It only affects the [[Overworld]] dimension. This applies to 1.15 and below.
   
 
This is the format for the [[Buffet]] [[world type]]:
 
This is the format for the [[Buffet]] [[world type]]:
214번째 줄: 217번째 줄:
 
<div class="treeview">
 
<div class="treeview">
 
* {{nbt|compound|generatorOptions}}:
 
* {{nbt|compound|generatorOptions}}:
** {{nbt|compound|structures}}:
+
**{{nbt|compound|structures}}:
*** {{nbt|compound|<structure name>}}: An empty compound named as the [[Superflat#Structure generation options|structure]], for example <code>decoration</code>. If parameters are set, for example <code>village(distance=9 size=1)</code>, then the compound contains this information.
+
***{{nbt|compound|<structure name>}}: An empty compound named as the [[Superflat#Structure generation options|structure]], for example <code>decoration</code>. If parameters are set, for example <code>village(distance=9 size=1)</code>, then the compound contains this information.
**** {{nbt|string|<parameter name>}}: The parameter value is a number represented by a string.
+
****{{nbt|string|<parameter name>}}: The parameter value is a number represented by a string.
 
** {{nbt|list|layers}}:
 
** {{nbt|list|layers}}:
 
*** {{nbt|compound}}: A layer.
 
*** {{nbt|compound}}: A layer.
224번째 줄: 227번째 줄:
 
**** {{nbt|short|height}}: The height of the layer, used in worlds created since 1.13-pre5, if it's >= 128 blocks.
 
**** {{nbt|short|height}}: The height of the layer, used in worlds created since 1.13-pre5, if it's >= 128 blocks.
 
** {{nbt|string|biome}}: The [[Java Edition data values#Biomes|biome ID]].
 
** {{nbt|string|biome}}: The [[Java Edition data values#Biomes|biome ID]].
** {{nbt|string|flat_world_options}}: The unescaped "[[server.properties#Java Edition 3|generator-settings]]" string. Only created if the [[world]] was generated through a [[server]]. It is currently not parsed by the game due to {{bug|134900}}, thus the above compounds won't be created, making "generator-settings" ineffective.
+
** {{nbt|string|flat_world_options}}: The unescaped "[[server.properties#Java Edition 3|generator-settings]]" string. Only created if the [[world]] was generated through a [[server]]. Until snapshot [[20w11a]], it is not parsed by the game due to {{bug|134900}}, thus the above compounds won't be created, making "generator-settings" ineffective.
 
</div>
 
</div>
   
 
This is the format for the [[Customized]] world type that existed before [[Java Edition 18w06a|18w06a]]:
 
This is the format for the [[Customized]] world type that existed before [[Java Edition 18w06a|18w06a]]:
{{wip}}
+
{{wip|section=1}}
   
== session.lock format ==
+
== session.lock 포맷 ==
 
This file contains the timestamp of when the level was last accessed. The file contains a single 64-bit integer in big endian format, which is the timestamp, stored as the number of milliseconds elapsed since 1970-01-01 00:00:00, in UTC.
 
This file contains the timestamp of when the level was last accessed. The file contains a single 64-bit integer in big endian format, which is the timestamp, stored as the number of milliseconds elapsed since 1970-01-01 00:00:00, in UTC.
   
241번째 줄: 244번째 줄:
 
Minecraft can sometimes try to hold the lock on a level even after the player has started playing a different level, and this can cause strange behavior. It is recommended to ensure that Minecraft is closed before trying to acquire a lock on a level.
 
Minecraft can sometimes try to hold the lock on a level even after the player has started playing a different level, and this can cause strange behavior. It is recommended to ensure that Minecraft is closed before trying to acquire a lock on a level.
   
== <samp>poi</samp> format ==
+
== <samp>poi</samp> 포맷 ==
 
Files in ''<samp>poi</samp>'' folder use similar structure to ''<samp>region</samp>'' [[Anvil file format|Anvil]] files (hence the ''<samp>mca</samp>'' extension), but the [[NBT Format|NBT]] content is different.
 
Files in ''<samp>poi</samp>'' folder use similar structure to ''<samp>region</samp>'' [[Anvil file format|Anvil]] files (hence the ''<samp>mca</samp>'' extension), but the [[NBT Format|NBT]] content is different.
   
257번째 줄: 260번째 줄:
 
**{{nbt|int|DataVersion}}: Structure version. As of 1.15.2 the value is ''2230''.
 
**{{nbt|int|DataVersion}}: Structure version. As of 1.15.2 the value is ''2230''.
 
</div>
 
</div>
  +
  +
== 함께 보기 ==
  +
* [[Bedrock Edition 레벨 포맷]]
   
 
{{Java Edition}}
 
{{Java Edition}}
 
[[분류:Java Edition|레벨 포맷]]
 
[[분류:개발]]
 
[[분류:개발]]
   
[[en:Java Edition level format]]
 
 
[[de:Level Format]]
 
[[de:Level Format]]
  +
[[en:Java Edition level format]]
 
[[fr:Format de niveau]]
 
[[fr:Format de niveau]]
 
[[nl:Level formaat]]
 
[[nl:Level formaat]]
  +
[[pt:Formato de nível da Edição Java]]
 
[[zh:Level格式]]
 
[[zh:Level格式]]
 
[[ja:Levelフォーマット]]
 
[[ja:Levelフォーマット]]

2020년 9월 19일 (토) 01:45 판

Bedrock Edition의 레벨 포맷, Bedrock Edition 레벨 포맷을(를) 참조하십시오.
Information icon
이 기능은 Java Edition 전용입니다. 

Each level is its own folder. A level folder is often identified by having a level.dat file, along with other subfolders to store the maps and regions of the level.

Level folders will always contain the items in bold, and will sometimes contain the items in italics.

적절한 경로 문서 설명
/level.dat (현재 문서) 레벨(세계)의 글로벌 정보를 저장함.
/level.dat_new Program writes new global information about the level and after that file is renamed to level.dat
/level.dat_mcr A backup of the level.dat file before conversion from MCRegion to Anvil.
/level.dat_old A backup of the level.dat file before conversion from the Alpha level format to MCRegion or Anvil. [출처 필요]
/session.lock (현재 문서) Used to give write access to the last program to modify this file.
/players/<player>.dat Player.dat format Stores the individual states of the players that have played on this level, for versions before 1.7.6.
/playerdata/<uuid>.dat Player.dat format Stores the individual states of the players that have played on this level, since 1.7.6.
/stats/<uuid>.json Statistics storage format Stores the statistics of the players that have played on this level, since 1.7.2.
/advancements/<uuid>.json TBD Stores the advancements and unlocked recipes of the players that have played on this level, since 17w13a.
/data/command_storage_<namespace>.dat 명령어 저장 포맷 Stores information about the general purpose, key/value command storage, since 19w38a.
/data/idcounts.dat
/data/map_<#>.dat
지도 아이템 포맷 Stores the map data for the craftable Map items.
/data/villages.dat
/data/villages_nether.dat
/data/villages_end.dat
villages.dat format Stores information about the Villages in the world. The "nether" and "end" files have been added in 1.8. Replaced by point of interest region files in 1.14.
/poi/

/DIM-1/poi/

/DIM1/poi/

(현재 문서) Villager identified beds, job sites, and bells in the world.
/data/raids.dat
/DIM-1/data/raids_nether.dat
/DIM1/data/raids_end.dat
raids.dat format Stores information about the ongoing raids in the world.
/datapacks/ Data pack Stores the world's data packs.
/region/ Contains region files for the Overworld.
/DIM-1/region/ Contains region files for The Nether.
/DIM1/region/ Contains region files for The End.
/region/r.<#>.<#>.mca
/DIM-1/region/r.<#>.<#>.mca
/DIM1/region/r.<#>.<#>.mca

/poi/r.<#>.<#>.mca

/DIM-1/poi/r.<#>.<#>.mca

/DIM1/poi/r.<#>.<#>.mca

Anvil file format Individual region files.
/region/r.<#>.<#>.mcr
/DIM-1/r.<#>.<#>.mcr
/DIM1/r.<#>.<#>.mcr
Region file format Backups of the region files before conversion from MCRegion to Anvil.
/<#>/<#>/c.<#>.<#>.dat Alpha level format Backups of the chunk files before conversion from the Alpha level format to MCRegion.

level.dat 포맷

The level.dat file contains global information about the world such as the time of day, the singleplayer player, the level generator used, and the seed. It is an NBT file with this structure:

  • The root tag.
    •  Data: This tag contains all the level data.
      •  allowCommands: 1 or 0 (true/false) - true if cheats are enabled.
      •  BorderCenterX: Center of the world border on the X coordinate. Defaults to 0.
      •  BorderCenterZ: Center of the world border on the Z coordinate. Defaults to 0.
      •  BorderDamagePerBlock: Defaults to 0.2.
      •  BorderSize: Width and length of the border of the border. Defaults to 60000000.
      •  BorderSafeZone: Defaults to 5.
      •  BorderSizeLerpTarget: Defaults to 60000000.
      •  BorderSizeLerpTime: Defaults to 0.
      •  BorderWarningBlocks: Defaults to 5.
      •  BorderWarningTime: Defaults to 15.
      •  clearWeatherTime: The number of ticks until "clear weather" has ended.
      •  CustomBossEvents: A collection of bossbars.
        •  ID: The ID of a bossbar (e.g. custom:boss)
          •  Players: A list of players that may see this boss bar.
          •  Color: ID of the color of the bossbar. Also sets the color of the display text of the bossbar, provided that the display text does not explicitly define a color for itself. See color codes for accepted values.
          •  CreateWorldFog: 1 or 0 (true/false) - If the bossbar should create fog.
          •  DarkenScreen: 1 or 0 (true/false) - If the bossbar should darken the sky.
          •  Max: The maximum health of the bossbar.
          •  Value: The current health of the bossbar.
          •  Name: The display name of the bossbar as a JSON text component.
          •  Overlay: The ID of the overlay to be shown over the health bar. Accepted values are: progress, notched_6, notched_10, notched_12, and notched_20.
          •  PlayBossMusic: 1 or 0 (true/false) - If the bossbar should initiate boss music.
          •  Visible: 1 or 0 (true/false) - If the bossbar should be visible to the listed players.
      •  DataPacks: Options for datapacks.
        •  Disabled: List of disabled datapacks.
          • : A single datapack.
        •  Enabled: List of enabled datapacks. By default, this is populated with a single string "vanilla".
          • : A single datapack.
      •  DataVersion: An integer displaying the data version.
      •  DayTime: The time of day. 0 is sunrise, 6000 is mid day, 12000 is sunset, 18000 is mid night, 24000 is the next day's 0. This value keeps counting past 24000 and does not reset to 0.
      •  Difficulty: The current difficulty setting. 0 is Peaceful, 1 is Easy, 2 is Normal, and 3 is Hard. Defaults to 2.
      •  DifficultyLocked: 1 or 0 (true/false) - True if the difficulty has been locked. Defaults to 0.
      •  DimensionData: This tag contains level data specific to certain dimensions.
        •  1: Data for The End
          •  DragonFight: Data for the ender dragon fight. Only appears after the end is entered.
            •  ExitPortalLocation: Location of the End's exit portal that the ender dragon flies to upon its death
              •  X: The X coordinate of the portal.
              •  Y: The Y coordinate of the portal.
              •  Z: The Z coordinate of the portal.
            •  Gateways: Contains a list of locations of the End gateway portals that haven't been spawned.
              • : The angle of a future gateway, from 0 to 19. 0 is east of the exit portal, and numbers increase clockwise.
            •  DragonKilled: 1 or 0 (true/false) - If the dragon is currently alive.
            •  DragonUUIDLeast: The least significant bits of the current Ender Dragon's Universally Unique IDentifier. This is joined with DragonUUIDMost to form the dragon's unique ID.
            •  DragonUUIDMost: The most significant bits of the current Ender Dragon's Universally Unique IDentifier. This is joined with DragonUUIDLeast to form the dragon's unique ID.
            •  PreviouslyKilled: 1 or 0 (true/false) - If the ender dragon has ever been defeated. Used to determine EXP given by dragon
      •  GameRules: The gamerules used in the world.
      •  WorldGenSettings: Used in 1.16, the generation settings for each dimension.
        •  dimensions: Contains all the dimensions
          •  Dimension ID: The root for generator settings
      •  GameType: The default game mode for the singleplayer player when they initially spawn. 0 is Survival, 1 is Creative, 2 is Adventure, 3 is Spectator. Note: Singleplayer worlds do not use this field to save which game mode the player is currently in.
        •  Rule name: The value for the given rule. This is always an NBT string, which is either true or false for the majority of rules (with it being a number for some other rules, and any arbitrary string for a user-defined rule)
      •  generatorName: Used in 1.15 and below. The name of the generator; default, flat, largeBiomes, amplified, buffet, debug_all_block_states or default_1_1. Not case sensitive, but always written in the case here. The last one can only exist if the file was edited. It is a variation of the default generation. It can also be customized if it is a customized world from before 1.13. In this case the world will become default if opened using 1.13 or newer.
      •  generatorOptions: Used in 1.15 and below. Used in buffet, superflat and old customized worlds. Format below.
      •  generatorVersion: Used in 1.15 and below. The version of the level generator. The effects of changing this are unknown, but values other than 0 have been observed.
      •  hardcore: 1 or 0 (true/false) - true if the player will respawn in Spectator on death in singleplayer. Affects all three game modes.
      •  initialized: 1 or 0 (true/false) - Normally true after a world has been initialized properly after creation. If the initial simulation was canceled somehow, this can be false and the world will be re-initialized on next load.
      •  LastPlayed: The Unix time in milliseconds when the level was last loaded.
      •  LevelName: The name of the level.
      •  MapFeatures: 1 or 0 (true/false) - true if the map generator should place structures such as villages, strongholds, and mineshafts. Defaults to 1. Always 1 if the world type is Customized.
      •  Player: The state of the Singleplayer player. This overrides the <player>.dat file with the same name as the Singleplayer player. This is only saved by Servers if it already exists, otherwise it is not saved for server worlds. See Player.dat Format.
      •  raining: 1 or 0 (true/false) - true if the level is currently experiencing rain, snow, and cloud cover.
      •  rainTime: The number of ticks before "raining" is toggled and this value gets set to another random value.
      •  RandomSeed: The random level seed used to generate consistent terrain.
      •  SizeOnDisk: The estimated size in bytes of the level. Currently not modified or used by Minecraft, but was previously.
      •  SpawnX: The X coordinate of the world spawn.
      •  SpawnY: The Y coordinate of the world spawn.
      •  SpawnZ: The Z coordinate of the world spawn.
      •  thundering: 1 or 0 (true/false) - true if the rain/snow/cloud cover is a lightning storm and dark enough for mobs to spawn under the sky.
      •  thunderTime: The number of ticks before "thundering" is toggled and this value gets set to another random value.
      •  Time: The number of ticks since the start of the level.
      •  version: The NBT version of the level, with 1.14.4 being 19133.
      •  Version: Information about the Minecraft version the world was saved in.
        •  Id: An integer displaying the data version.
        •  Name: The version name as a string, e.g. "15w32b".
        •  Snapshot: 1 or 0 (true/false) – Whether the version is a snapshot or not.
      •  WanderingTraderId: The UUID of the current wandering trader in the world.
      •  WanderingTraderSpawnChance: The current chance of the wandering trader spawning next attempt; this value is the percentage and will be divided by 10 when loaded by the game, for example a value of 50 means 5.0% chance.
      •  WanderingTraderSpawnDelay: The amount of ticks until another wandering trader is attempted to spawn

generatorOptions tag 포맷

The  generatorOptions tag format varies depending on the generator name. It only affects the Overworld dimension. This applies to 1.15 and below.

This is the format for the Buffet world type:

  •  generatorOptions:
    •  biome_source:
      •  options: Ignored if the biome source ID is minecraft:vanilla_layered.
        •  biomes:
          • : A biome ID. If this or the biome source ID is omitted or invalid, the code assumes minecraft:ocean.
        •  size: The size of the biomes. Only used when the biome source ID is minecraft:checkerboard. The biome squares will have sides of 2<size> (which can be < 1) chunks. If no value is entered, the code assumes 2.
      •  type: An applicable biome source ID. It determines how the biomes are distributed. Cannot be selected in-game and defaults to minecraft:fixed for unmodified worlds.
    •  chunk_generator:
      •  options:
        •  default_block: A block ID, by default minecraft:stone.
        •  default_fluid: A fluid ID, by default minecraft:water.
      •  type: An applicable chunk generator ID. It determines the overall structure of the dimension. If this is omitted or invalid, the code assumes minecraft:surface.

This is the format for the Superflat world type:

  •  generatorOptions:
    •  structures:
      •  <structure name>: An empty compound named as the structure, for example decoration. If parameters are set, for example village(distance=9 size=1), then the compound contains this information.
        •  <parameter name>: The parameter value is a number represented by a string.
    •  layers:
      • : A layer.
        •  block: The block ID.
        •  height: The height of the layer, used in worlds created before 1.13-pre5.
        •  height: The height of the layer, used in worlds created since 1.13-pre5, if it's < 128 blocks.
        •  height: The height of the layer, used in worlds created since 1.13-pre5, if it's >= 128 blocks.
    •  biome: The biome ID.
    •  flat_world_options: The unescaped "generator-settings" string. Only created if the world was generated through a server. Until snapshot 20w11a, it is not parsed by the game due to MC-134900, thus the above compounds won't be created, making "generator-settings" ineffective.

This is the format for the Customized world type that existed before 18w06a:

현재 이 문단은 작업이 진행중입니다. 
이 문서를 편집하여 더더욱 완벽에 가까운 문서를 만들어주시면 감사하겠습니다.
토론 문서를 이용하면 문서를 위키 편집자들과 합의하며 가꿀 수 있습니다.


session.lock 포맷

This file contains the timestamp of when the level was last accessed. The file contains a single 64-bit integer in big endian format, which is the timestamp, stored as the number of milliseconds elapsed since 1970-01-01 00:00:00, in UTC.

Unlike typical lock files, this file ensures that the last program to access the level is that one that has read and write access. The process goes something like this:

  1. Program opens session.lock
  2. Program writes timestamp to session.lock
  3. Program monitors session.lock for changes
  4. If the contents of session.lock change, program aborts and gives up its lock on the level.

Minecraft can sometimes try to hold the lock on a level even after the player has started playing a different level, and this can cause strange behavior. It is recommended to ensure that Minecraft is closed before trying to acquire a lock on a level.

poi 포맷

Files in poi folder use similar structure to region Anvil files (hence the mca extension), but the NBT content is different.

  • The root tag.
    •  Data: This tag contains all the level data.
      •  Sections: Keys are whole numbers (possibly chunk height sections). 틀:Info needed
        •  <number>:
          •  Valid: (only observed value so far was 1) 틀:Info needed
          •  Records: May be empty.
            • : Single record.
              •  pos: 3-element array encoding X, Y and Z
              •  free_tickets: Typically 1 or 0, but can be over 30 for type minecraft:meeting. 틀:Info needed
              •  type: Type of the point, for example: minecraft:home, minecraft:meeting, minecraft:butcher, minecraft:armorer, etc.
    •  DataVersion: Structure version. As of 1.15.2 the value is 2230.

함께 보기

  • Bedrock Edition 레벨 포맷