Last active
October 7, 2015 21:29
-
-
Save rom1504/f30d0cd18d4fb39d1515 to your computer and use it in GitHub Desktop.
protocol extracted automatically from decompiled minecraft source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"handshaking": { | |
"toServer": { | |
"ji": { | |
"id": "0x00", | |
"fields": [ | |
"ushort" | |
] | |
} | |
} | |
}, | |
"status": { | |
"toServer": { | |
"kb": { | |
"id": "0x00", | |
"fields": [] | |
}, | |
"ka": { | |
"id": "0x01", | |
"fields": [ | |
"long" | |
] | |
} | |
}, | |
"toClient": { | |
"jx": { | |
"id": "0x00", | |
"fields": [] | |
}, | |
"jw": { | |
"id": "0x01", | |
"fields": [ | |
"long" | |
] | |
} | |
} | |
}, | |
"login": { | |
"toClient": { | |
"jp": { | |
"id": "0x00", | |
"fields": [] | |
}, | |
"jn": { | |
"id": "0x01", | |
"fields": [] | |
}, | |
"jm": { | |
"id": "0x02", | |
"fields": [] | |
}, | |
"jo": { | |
"id": "0x03", | |
"fields": [] | |
} | |
}, | |
"toServer": { | |
"jr": { | |
"id": "0x00", | |
"fields": [] | |
}, | |
"js": { | |
"id": "0x01", | |
"fields": [] | |
} | |
} | |
}, | |
"play": { | |
"toClient": { | |
"fj": { | |
"id": "0x00", | |
"fields": [ | |
"byte", | |
"int", | |
"int", | |
"int", | |
"byte", | |
"byte", | |
"int", | |
"short", | |
"short", | |
"short" | |
] | |
}, | |
"fk": { | |
"id": "0x01", | |
"fields": [ | |
"int", | |
"int", | |
"int", | |
"short" | |
] | |
}, | |
"fl": { | |
"id": "0x02", | |
"fields": [ | |
"byte", | |
"int", | |
"int", | |
"int" | |
] | |
}, | |
"fm": { | |
"id": "0x03", | |
"fields": [ | |
"byte", | |
"int", | |
"int", | |
"int", | |
"byte", | |
"byte", | |
"byte", | |
"short", | |
"short", | |
"short" | |
] | |
}, | |
"fn": { | |
"id": "0x04", | |
"fields": [ | |
"ubyte" | |
] | |
}, | |
"fo": { | |
"id": "0x05", | |
"fields": [ | |
"int", | |
"int", | |
"int", | |
"byte", | |
"byte" | |
] | |
}, | |
"fp": { | |
"id": "0x06", | |
"fields": [ | |
"ubyte" | |
] | |
}, | |
"fq": { | |
"id": "0x07", | |
"fields": [] | |
}, | |
"fr": { | |
"id": "0x08", | |
"fields": [ | |
"ubyte" | |
] | |
}, | |
"fs": { | |
"id": "0x09", | |
"fields": [ | |
"ubyte" | |
] | |
}, | |
"ft": { | |
"id": "0x0a", | |
"fields": [ | |
"ubyte", | |
"ubyte" | |
] | |
}, | |
"fu": { | |
"id": "0x0b", | |
"fields": [] | |
}, | |
"fv": { | |
"id": "0x0c", | |
"fields": [ | |
"float", | |
"ubyte", | |
"float", | |
"ubyte" | |
] | |
}, | |
"fw": { | |
"id": "0x0d", | |
"fields": [ | |
"ubyte" | |
] | |
}, | |
"fx": { | |
"id": "0x0e", | |
"fields": [] | |
}, | |
"fy": { | |
"id": "0x0f", | |
"fields": [ | |
"byte" | |
] | |
}, | |
"fz": { | |
"id": "0x10", | |
"fields": [ | |
"int", | |
"short" | |
] | |
}, | |
"ga": { | |
"id": "0x11", | |
"fields": [ | |
"ubyte", | |
"short", | |
"boolean" | |
] | |
}, | |
"gb": { | |
"id": "0x12", | |
"fields": [ | |
"ubyte" | |
] | |
}, | |
"gc": { | |
"id": "0x13", | |
"fields": [ | |
"ubyte", | |
"ubyte", | |
"int" | |
] | |
}, | |
"gd": { | |
"id": "0x14", | |
"fields": [ | |
"ubyte", | |
"short" | |
] | |
}, | |
"ge": { | |
"id": "0x15", | |
"fields": [ | |
"ubyte", | |
"short", | |
"short" | |
] | |
}, | |
"gf": { | |
"id": "0x16", | |
"fields": [ | |
"byte", | |
"short" | |
] | |
}, | |
"gg": { | |
"id": "0x17", | |
"fields": [] | |
}, | |
"gh": { | |
"id": "0x18", | |
"fields": [ | |
"ablebytes", | |
"bytes" | |
] | |
}, | |
"gi": { | |
"id": "0x19", | |
"fields": [] | |
}, | |
"gj": { | |
"id": "0x1a", | |
"fields": [ | |
"int", | |
"byte" | |
] | |
}, | |
"gk": { | |
"id": "0x1b", | |
"fields": [ | |
"float", | |
"float", | |
"float", | |
"float", | |
"int", | |
"byte", | |
"byte", | |
"byte", | |
"float", | |
"float", | |
"float" | |
] | |
}, | |
"gl": { | |
"id": "0x1c", | |
"fields": [ | |
"int", | |
"int" | |
] | |
}, | |
"gm": { | |
"id": "0x1d", | |
"fields": [] | |
}, | |
"gn": { | |
"id": "0x1e", | |
"fields": [ | |
"ubyte", | |
"float" | |
] | |
}, | |
"go": { | |
"id": "0x1f", | |
"fields": [] | |
}, | |
"gp": { | |
"id": "0x20", | |
"fields": [ | |
"int", | |
"int", | |
"boolean", | |
"bytes", | |
"ablebytes" | |
] | |
}, | |
"gq": { | |
"id": "0x21", | |
"fields": [ | |
"int", | |
"int", | |
"boolean" | |
] | |
}, | |
"gr": { | |
"id": "0x22", | |
"fields": [ | |
"int", | |
"boolean", | |
"float", | |
"float", | |
"float", | |
"float", | |
"float", | |
"float", | |
"float", | |
"int" | |
] | |
}, | |
"gs": { | |
"id": "0x23", | |
"fields": [ | |
"int", | |
"int", | |
"int", | |
"float", | |
"ubyte" | |
] | |
}, | |
"gt": { | |
"id": "0x24", | |
"fields": [ | |
"int", | |
"ubyte", | |
"byte", | |
"ubyte", | |
"ubyte", | |
"boolean" | |
] | |
}, | |
"gu": { | |
"id": "0x25", | |
"fields": [ | |
"byte", | |
"boolean", | |
"byte", | |
"byte", | |
"ubyte", | |
"ubyte", | |
"ubyte", | |
"ubyte" | |
] | |
}, | |
"gv.a": { | |
"id": "0x26", | |
"fields": [ | |
"error" | |
] | |
}, | |
"gv.b": { | |
"id": "0x27", | |
"fields": [ | |
"error" | |
] | |
}, | |
"gv.c": { | |
"id": "0x28", | |
"fields": [ | |
"error" | |
] | |
}, | |
"gv": { | |
"id": "0x29", | |
"fields": [ | |
"byte", | |
"byte", | |
"boolean", | |
"byte", | |
"byte", | |
"byte", | |
"boolean", | |
"byte", | |
"byte", | |
"byte", | |
"byte", | |
"byte", | |
"boolean" | |
] | |
}, | |
"gx": { | |
"id": "0x2a", | |
"fields": [] | |
}, | |
"gy": { | |
"id": "0x2b", | |
"fields": [ | |
"byte", | |
"float", | |
"float" | |
] | |
}, | |
"gz": { | |
"id": "0x2c", | |
"fields": [ | |
"int", | |
"int" | |
] | |
}, | |
"ha": { | |
"id": "0x2d", | |
"fields": [ | |
"boolean", | |
"boolean", | |
"boolean" | |
] | |
}, | |
"hb": { | |
"id": "0x2e", | |
"fields": [ | |
"double", | |
"double", | |
"double", | |
"float", | |
"float", | |
"ubyte" | |
] | |
}, | |
"hc": { | |
"id": "0x2f", | |
"fields": [] | |
}, | |
"hd": { | |
"id": "0x30", | |
"fields": [] | |
}, | |
"he": { | |
"id": "0x31", | |
"fields": [ | |
"ubyte" | |
] | |
}, | |
"hf": { | |
"id": "0x32", | |
"fields": [] | |
}, | |
"hg": { | |
"id": "0x33", | |
"fields": [ | |
"int", | |
"ubyte", | |
"ubyte" | |
] | |
}, | |
"hh": { | |
"id": "0x34", | |
"fields": [ | |
"byte" | |
] | |
}, | |
"hi": { | |
"id": "0x35", | |
"fields": [ | |
"double", | |
"double", | |
"double", | |
"double", | |
"double", | |
"double", | |
"double", | |
"double", | |
"double" | |
] | |
}, | |
"hj": { | |
"id": "0x36", | |
"fields": [] | |
}, | |
"hk": { | |
"id": "0x37", | |
"fields": [ | |
"byte" | |
] | |
}, | |
"hl": { | |
"id": "0x38", | |
"fields": [ | |
"byte" | |
] | |
}, | |
"hm": { | |
"id": "0x39", | |
"fields": [] | |
}, | |
"ht": { | |
"id": "0x3a", | |
"fields": [] | |
}, | |
"hn": { | |
"id": "0x3b", | |
"fields": [ | |
"int", | |
"int" | |
] | |
}, | |
"ho": { | |
"id": "0x3c", | |
"fields": [ | |
"short", | |
"short", | |
"short" | |
] | |
}, | |
"hp": { | |
"id": "0x3d", | |
"fields": [] | |
}, | |
"hq": { | |
"id": "0x3e", | |
"fields": [ | |
"float" | |
] | |
}, | |
"hr": { | |
"id": "0x3f", | |
"fields": [ | |
"float", | |
"float" | |
] | |
}, | |
"hs": { | |
"id": "0x40", | |
"fields": [ | |
"byte" | |
] | |
}, | |
"hu": { | |
"id": "0x41", | |
"fields": [ | |
"byte", | |
"byte", | |
"byte" | |
] | |
}, | |
"hv": { | |
"id": "0x42", | |
"fields": [] | |
}, | |
"hw": { | |
"id": "0x43", | |
"fields": [] | |
}, | |
"hx": { | |
"id": "0x44", | |
"fields": [ | |
"long", | |
"long" | |
] | |
}, | |
"hy": { | |
"id": "0x45", | |
"fields": [ | |
"int", | |
"int", | |
"int" | |
] | |
}, | |
"hz": { | |
"id": "0x46", | |
"fields": [] | |
}, | |
"ia": { | |
"id": "0x47", | |
"fields": [] | |
}, | |
"ib": { | |
"id": "0x48", | |
"fields": [] | |
}, | |
"ic": { | |
"id": "0x49", | |
"fields": [ | |
"int", | |
"int", | |
"int", | |
"byte", | |
"byte", | |
"boolean" | |
] | |
}, | |
"id": { | |
"id": "0x4a", | |
"fields": [ | |
"int", | |
"double", | |
"double" | |
] | |
}, | |
"ie": { | |
"id": "0x4b", | |
"fields": [ | |
"byte", | |
"byte", | |
"byte" | |
] | |
}, | |
"gw": { | |
"id": "0x4c", | |
"fields": [ | |
"double", | |
"double", | |
"double", | |
"float", | |
"float" | |
] | |
} | |
}, | |
"toServer": { | |
"ih": { | |
"id": "0x00", | |
"fields": [ | |
"boolean", | |
"boolean" | |
] | |
}, | |
"ii": { | |
"id": "0x01", | |
"fields": [] | |
}, | |
"ij": { | |
"id": "0x02", | |
"fields": [] | |
}, | |
"ik": { | |
"id": "0x03", | |
"fields": [ | |
"byte", | |
"boolean", | |
"ubyte" | |
] | |
}, | |
"il": { | |
"id": "0x04", | |
"fields": [ | |
"byte", | |
"short", | |
"byte" | |
] | |
}, | |
"im": { | |
"id": "0x05", | |
"fields": [ | |
"byte", | |
"byte" | |
] | |
}, | |
"in": { | |
"id": "0x06", | |
"fields": [ | |
"byte", | |
"short", | |
"byte", | |
"short", | |
"byte" | |
] | |
}, | |
"io": { | |
"id": "0x07", | |
"fields": [ | |
"byte" | |
] | |
}, | |
"ip": { | |
"id": "0x08", | |
"fields": [ | |
"ablebytes", | |
"bytes" | |
] | |
}, | |
"iq": { | |
"id": "0x09", | |
"fields": [ | |
"float" | |
] | |
}, | |
"ir": { | |
"id": "0x0a", | |
"fields": [] | |
}, | |
"it": { | |
"id": "0x0b", | |
"fields": [ | |
"double", | |
"double", | |
"double", | |
"float", | |
"float" | |
] | |
}, | |
"is.a": { | |
"id": "0x0c", | |
"fields": [ | |
"error" | |
] | |
}, | |
"is.b": { | |
"id": "0x0d", | |
"fields": [ | |
"error" | |
] | |
}, | |
"is.c": { | |
"id": "0x0e", | |
"fields": [ | |
"error" | |
] | |
}, | |
"is": { | |
"id": "0x0f", | |
"fields": [ | |
"ubyte", | |
"float", | |
"float", | |
"double", | |
"double", | |
"double", | |
"double", | |
"double", | |
"double", | |
"float", | |
"float" | |
] | |
}, | |
"iv": { | |
"id": "0x10", | |
"fields": [ | |
"byte", | |
"float", | |
"float" | |
] | |
}, | |
"iw": { | |
"id": "0x11", | |
"fields": [ | |
"ubyte" | |
] | |
}, | |
"ix": { | |
"id": "0x12", | |
"fields": [] | |
}, | |
"iy": { | |
"id": "0x13", | |
"fields": [ | |
"float", | |
"float", | |
"byte" | |
] | |
}, | |
"iz": { | |
"id": "0x14", | |
"fields": [] | |
}, | |
"ja": { | |
"id": "0x15", | |
"fields": [ | |
"short" | |
] | |
}, | |
"jb": { | |
"id": "0x16", | |
"fields": [ | |
"short" | |
] | |
}, | |
"jc": { | |
"id": "0x17", | |
"fields": [] | |
}, | |
"jd": { | |
"id": "0x18", | |
"fields": [] | |
}, | |
"je": { | |
"id": "0x19", | |
"fields": [] | |
}, | |
"jf": { | |
"id": "0x1a", | |
"fields": [ | |
"ubyte", | |
"ubyte", | |
"ubyte" | |
] | |
}, | |
"jg": { | |
"id": "0x1b", | |
"fields": [] | |
}, | |
"iu": { | |
"id": "0x1c", | |
"fields": [ | |
"float", | |
"float" | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment