Development resources

Map File Format
See these pages for information on Map Editing:

Map Editing (general)

Map Editing (hex)

Java Classes to Deserialize Maps

.dat Map Format

Map Format (NBT) 1 2

Java Class to read and write NBT structures

Blocks, items and data values

Packet Protocol
Every packet starts with a byte representing the Packet ID.

Color Codes
Messages sent from the server to the client can contain color codes, which allow coloring of text for various purposes. An ampersand followed by a hex digit in the message tells the client to switch colors while displaying text. To enable color coding, a  character must be present at the beginning of the message. Otherwise, the client will ignore any color codes used.



Mobs

 * See also: Mobs

In multiplayer creative mode, all mobs are treated the same by the client. To create non-player mobs, simply send updates for them as you would a normal player. The client finds a mob's skin by its name, downloading from http://minecraft.net/skin/name.png and defaulting to the generic mob if it doesn't exist. To give your monsters a special skin, you would need to register and pay for an account with the monster's name.

You can also send fake names for actual players in order to force them to have a certain skin.