# HG changeset patch # User Steve Losh # Date 1308870350 14400 # Node ID c9f48dc4bfe42955ffaac2b172fadc8e821c7841 # Parent 5a42823461b40bf2414994dca2e4df19fb857a9c Add the rest of the codes. Fuck yeah, Vim. diff -r 5a42823461b4 -r c9f48dc4bfe4 src/clojurecraft/core.clj --- a/src/clojurecraft/core.clj Thu Jun 23 19:02:53 2011 -0400 +++ b/src/clojurecraft/core.clj Thu Jun 23 19:05:50 2011 -0400 @@ -46,6 +46,23 @@ 0x32 :prechunk 0x33 :mapchunk 0x34 :multiblockchange + 0x35 :blockchange + 0x36 :playnoteblock + 0x3C :explosion + 0x3D :soundeffect + 0x46 :newinvalidstate + 0x47 :thunderbolt + 0x64 :openwindow + 0x65 :closewindow + 0x66 :windowclick + 0x67 :setslot + 0x68 :windowitems + 0x69 :updateprogressbar + 0x6A :transaction + 0x82 :updatesign + 0x83 :mapdata + 0xC8 :incrementstatistic + 0xFF :disconnectkick }) (def packet-ids (apply assoc {} (mapcat reverse packet-types)))