Info
Minecraft is written in Java, and although the class files are obfuscated, the community has figured out most of the inner workings of Minecraft. Notch himself gave notes on a common format used by Minecraft, the NBT format See the NBT file format. For using NBT in commands, see Tutorials/Command NBT Tags. The Named Binary Tag format is used by Minecraft for the various files in which it saves data. . From this, the community has derived information for the files that use the NBT format.
NBT format
The NBT format See the NBT file format. For using NBT in commands, see Tutorials/Command NBT Tags. The Named Binary Tag format is used by Minecraft for the various files in which it saves data. is used by almost every file in Minecraft. It is a GZip`d tree structure of tags, where each tag has a type, name, and payload based on the type. In 1.2 snapshot 12w07a and above, an additional tag type was added to the original tag types that existed since Indev.
Videos
Level formats
Each edition of Minecraft uses its own file format to store levels. The following information about the different level file formats can be used by software developers to create map editors The contents of this page are not supported by Mojang AB, the Minecraft Wiki, the Minecraft IRC channel or the Minecraft Forums. See third-party programs. For the official Minecraft program, see Minecraft , servers, level generators, and other programs. Blocks Blocks may refer to: Block - cubes that make up the Minecraft world as a whole. Blocks music disc This disambiguation page lists articles associated with the same title. If an internal link led you , Items See items as they are in the inventory. For the entity that items and blocks turn into when dropped, see Item (entity). For the items that mobs leave behind on death, see , Data Values See values from the latest PCPersonal Computer version of Minecraft. For values from Classic, see Data values/Classic. For values from Indev, see Data values/Indev. For values from the Pocket Edition, see Pocket Edition , and Entities A player standing in front of a large group of entities The hitboxes of several entities. Note the blue line which points to the direction the entity is "facing." Entities encompass all dynamic, moving objects are common to all map types.
- Classic level format The Classic level format is used by all varieties of Minecraft Classic. It is compressed with gzip and contains a short header followed by serialized Java objects. Single-player levels have the extension ".mine". Levels used used by Minecraft Classic Classic Starting version 0.0.9a (May 16, 2009) Latest version 0.30 (Dec. 22, 2009) Paid No Classic versions 0.0.11a to 0.0.13a_03, as well as version c0.30_01c are available to play in the launcher. Be that as it may, please note : Survival, Creative, and Multiplayer.
- Indev level format The .mclevel map format is an old map format, created by Notch. It is based on the NBT Format. The map format is in use since indev version 0.31. While Alpha (and Infdev) levels use used by Minecraft Indev Indev Starting version 0.31 (Dec. 23, 2009) Latest version Minecraft Indev (Feb. 23, 2010) Paid Yes This page contains content that is no longer in the game. These featuresSpecial attraction only exist in outdated versions of .
- Alpha level format See Minecraft Alpha 1.2.6. For Minecraft 1.0, see Level Format. Minecraft Infdev introduced a new data storage challenge while under development: Terrain generated in infdev has the potential to be almost 235 used by Minecraft Alpha Alpha Starting version Alpha 1.0.0 (Jun. 28, 2010) Latest version Alpha 1.2.6 (Dec. 3, 2010) Paid Yes Alpha versions 1.0.0 to 1.2.6 are available to play in the launcher. Be that as it may, please note that these versions (previously Minecraft Infdev Infdev Starting version Minecraft Infdev (27th of Feb., 2010) Latest version Minecraft Infdev (27th of Jun., 2010) Paid Yes A version of Infdev from Jun. 18, 2010 is available to play in the launcher. Be that as it may, ).
- Level format In Minecraft 1.0, 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 used by Minecraft 1.0 Minecraft 1.0 Starting version 1.0.0 (Nov. 18th, 2011) Latest version 1.12 Paid Yes Website http://www.minecraft.net/ See the official releaseAnnounce of Minecraft for the PC. For the version, see 1.0.0. For the first
- Player.dat format .dat files are used by servers to store the state of individual players. The format is also used within level.dat files to store the state of the singleplayer player, which overrides any .dat files with used to store the state of players.
- Anvil file format See the file format. For the item repair block, see Anvil. The Anvil 1] file format was officially introduced in Minecraft 1.2. It brings a list of changes and improvements over from used by Minecraft 1.0 Minecraft 1.0 Starting version 1.0.0 (Nov. 18th, 2011) Latest version 1.12 Paid Yes Website http://www.minecraft.net/ See the official release of Minecraft for the PC. For the version, see 1.0.0. For the first (from 1.2)
- Region file format The Region file format is a storage format for Minecraft chunks introduced in Minecraft Beta 1.3, in which groups of 32×32 chunks are stored in a region file. This file format took the place of used by Minecraft Beta Beta Starting version Beta 1.0 (Dec. 20, 2010) Latest version Beta 1.9-pre6 (Nov. 13, 2011) Paid Yes These versions are available to play in the launcher. Be that as it may, please note that these versions contain bugs. You ll (from Beta 1.3).
- Chunk format Chunks store the terrain and entities within a 16×256×16 area. They also store precomputed lighting, heightmap data for Minecraft s performance, and other meta information. Contents 1 NBT structure 2 Block format 3 Entity format 3.1 for the individual 16x256x16 chunks contained in regions.
- Region file format The Region file format is a storage format for Minecraft chunks introduced in Minecraft Beta 1.3, in which groups of 32×32 chunks are stored in a region file. This file format took the place of used by Minecraft Beta Beta Starting version Beta 1.0 (Dec. 20, 2010) Latest version Beta 1.9-pre6 (Nov. 13, 2011) Paid Yes These versions are available to play in the launcher. Be that as it may, please note that these versions contain bugs. You ll (from Beta 1.3).
- Map item format This article may need cleanup to comply with the style guide. Please help improve this if you can. The talk page may contain suggestions. Minecraft Beta 1.6 added craftable map items. Unlike books, maps do used to store the colors on the craftable Map Map Type Tools Durability N/A Renewable Yes Stackable Yes (64) First appearances See History Data values Drawn dec: 358 hex: 166 bin: 101100110 Empty dec: 395 hex: 18B bin: 110001011 Name PC Drawn: filled_map Empty: map PE Drawn: ? Empty: emptymap This items.
- Villages.dat format This article is a stub. Please help us by expanding it. See the format of villages.dat, which stores information on village doors, player reputation, etc. For the format of Village.dat, which stores used to store the state of villages in a level.
- Structure block file format This article is a stub. Please help us by expanding it. Structure files are stored as a gzipped NBT file. This file format is used to store structures such as End city, Igloo and Fossil use to store structured saved by the Structure Block Structure Block Type Solid Block Requirements None Physics No Transparency No Luminance No Blast resistance 18,000,000 Hardness -1 Tool None Renewable No Stackable Yes (64) Flammable No Drops No Block entity id structure_block Data value .
- Pocket Edition level format used by Minecraft Pocket Edition.
Other formats
- Servers.dat format This article is a stub. Please help us by expanding it. The servers.dat (file located in the .minecraft folder) is used to store the list of saved multiplayer servers. It does not store the direct used to store the list of saved multiplayer servers.
- Schematic files This article is a stub. Please help us by expanding it. The contents of this page are not supported by Mojang AB, the Minecraft Wiki, the Minecraft IRC channel or the Minecraft Forums. The .schematic are NBT files used by a few 3rd party utilities to store sections of a map for later use.
Libraries
These are community-created libraries to interact with the various files used by Minecraft.
Name/Link | Language | Description |
---|---|---|
MCModify | Java/C++ | Library that allows for loading, manipulating, and saving all Minecraft formats. |
Example NBT Class This article is an orphan, as few or no other articles link to it. Please introduce links to this page from related articles You can help us by linking to it or categorizing it. This | Java | Basic brute-force Java class that reads and writes NBT structures. |
Example Classic Level Class This article is an orphan, as few or no other articles link to it. Please introduce links to this page from related articles You can help us by linking to it or categorizing it. To | Java | Java class(es) to read and write Classic levels. |
Substrate | C# | C# classes to load and edit levels. |
Craft.Net | C# | C# library for writing server software and messing with worlds and such. |
c10t | C++ | An open source cartography tool. |
libnbt++ | C++ | C++ library to read and write NBT structures. |
CNBT | C | C library to read and write NBT structures. |
Minecraft-Perl | Perl | Perl library to edit Minecraft files. |
Python NBT Parser | Python | Python library to edit NBT structures. |
pymclevel | Python | Python library to edit Minecraft levels. MCEdit was built upon this library. |
J2Blocks | Java | A Java library for easy generation of Minecraft worlds. |
Mod creation tools
- Minecraft Coder Pack The contents of this page are not supported by Mojang AB, the Minecraft Wiki, the Minecraft IRC channel or the Minecraft Forums. The Mod Coder Pack is a collection of scripts and tools to help used to create and edit mods to both the Minecraft client and server
- MCAnimator - a brand-new modeler: used to create custom models which can have textures and animations. Has many tools to help you in the creation process. You can export to all the latest Minecraft versions. It has a library that allows perfect animations control.
- Techne - the modeler: used to create custom models for in game use, comes with library of standard models.
- FMCModeler can be used to create custom models for in game use, can also create models from Java code (with some restrictions). Written in Flash. It appears to be abandoned, but it`s still working when used with CustomRenderer.
Server protocol
Classic Server Protocol The contents of this page are not supported by Mojang AB, the Minecraft Wiki, the Minecraft IRC channel or the Minecraft Forums. It has been suggested that the contents of this page be split into used by the Minecraft Classic Creative Multiplayer server.
For info on the current multiplayer protocol, see the MCDevs wiki (wiki.vg).
Resources
URL | Program | OS | Notes |
---|---|---|---|
http://www.delorie.com/djgpp/ | Djgpp, GCC for Windows | Windows | |
http://www.cygwin.com/ | Cygwin the Linux-on-Windows (Unix Environment) | Windows | Good for Windowsis a separate viewing area on a computer display screen in a system that allows multiple viewing areas as part of a graphical user interface users. |
http://www.microsoft.com/express/ | Microsoft Visual Studio Express | Windows | Free version of Visual Studio, an IDE and compiler for C++, C# and Visual Basic. |
http://java.sun.com/javase/downloads/index.jsp | Java Development Kit download | Cross-platform | Essential if you want to interpret Java code |