Development resources
From Minecraft Wiki

Minecraft is written in Java and C++, 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. From this, the community has derived information for the files that use the NBT format.

NBT format[edit]

TheNBT format is used by almost every file in Minecraft. It is a GZipped 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.

Level formats[edit]

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, servers, level generators, and other programs. Blocks,Items,Data values, and Entities are common to all map types.

Java Edition[edit]

Bedrock Edition[edit]

Other formats[edit]

  • Servers.dat format used to store the list of saved multiplayer servers.
  • Schematic files are NBT files used by a few 3rd party utilities to store sections of a map for later use.


These are community-created libraries to interact with the various files used by Minecraft.

MCModifyJava/C++Library that allows for loading, manipulating, and saving all Minecraftformats.
Example NBT ClassJavaBasic brute-force Java class that reads and writes NBT structures.
Example Classic Level ClassJavaJava class(es) to read and write Classic levels.
顾轻舟司少帅免费阅读完整版无弹窗在线观看全集免费完 ,盲井高清字幕在线观看全集免费完整版第03集 雪梨影院,红色一片日本高清免费在线观看 红色一片日本高清免费高清 SubstrateC#C# classes to load and edit levels.
Craft.NetC#C# library for writing server software and messing with worlds and such.
c10tC++An open source cartography tool.
libnbt++C++C++ library to read and write NBT structures.
CNBTCC library to read and write NBT structures.
Minecraft-PerlPerlPerl library to edit Minecraft files.
Python NBT ParserPythonPython library to edit NBT structures.
顾轻舟司少帅免费阅读完整版无弹窗在线观看全集免费完 ,盲井高清字幕在线观看全集免费完整版第03集 雪梨影院,红色一片日本高清免费在线观看 红色一片日本高清免费高清 pymclevelPythonPython library to edit Minecraft levels. MCEdit was built upon this library.
J2BlocksJavaA Java library for easy generation of Minecraftworlds.
nbtlibPythonA modern python library to read and edit nbt data.

Mod creation tools[edit]

  • Minecraft Coder Pack used to create and edit mods to both the Minecraft client and server
  • MCAnimator - a 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[edit]

Classic server protocol used by the Minecraft Classic Creative Multiplayer server.

For info on the current multiplayer protocol, see the MCDevs wiki (


/djgpp/Djgpp, GCC for WindowsWindows
/Cygwin the Linux-on-Windows (Unix Environment)WindowsGood for Windows users.
/express/Microsoft Visual Studio ExpressWindowsFree version of Visual Studio, an IDE and compiler for C++, C# and Visual Basic.
/javase/downloads/index.jspJava Development Kit downloadCross-platformEssential if you want to interpret Java code