Skip to content

Instantly share code, notes, and snippets.

@ligustah
Created April 3, 2011 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ligustah/900428 to your computer and use it in GitHub Desktop.
Save ligustah/900428 to your computer and use it in GitHub Desktop.
mobspawn metadata: 91 00 00 00 00 10 00 52 00 00 00 08 7F
mobspawn metadata: 91 00 00 00 00 10 00 52 00 00 00 00 7F
update #46729 metadata: 52 00 00 00 06 7F
//after taming (same packet for each of the wolves)
update #46535 metadata: 91 00 08 4C 69 67 75 73 74 61 68 10 05 52 00 00 00 14 7F
update #53378 metadata: 91 00 08 4C 69 67 75 73 74 61 68 10 05 52 00 00 00 14 7F
//for tamed wolves
/sitting down
update #46535 metadata: 10 05 7F
//getting up
update #46535 metadata: 10 04 7F
//after hitting a wolf (looks like health value)
update #53378 metadata: 52 00 00 00 12 7F
update #53378 metadata: 52 00 00 00 11 7F
Indices:
16 (byte) - bitflags (see below)
17 (string) - name of the player who tamed the wolf
18 (int) - health
Bitflags:
0x01 = sitting down
0x02 = red eyes (aggressive)
0x04 = tamed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment