From db38b824b7dbcc8d8913c91bfd169331b4b37af4 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Wed, 30 Jan 2013 16:00:22 +0100 Subject: [PATCH] Protocol changes 1 --- src/protocol/current.php | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/protocol/current.php b/src/protocol/current.php index fc892521..4e33fd2e 100644 --- a/src/protocol/current.php +++ b/src/protocol/current.php @@ -68,21 +68,26 @@ define("MC_CHUNK_DATA", 0x9e); define("MC_PLAYER_EQUIPMENT", 0x9f); + +//a0 set armor slot define("MC_INTERACT", 0xa1); define("MC_USE_ITEM", 0xa2); define("MC_PLAYER_ACTION", 0xa3); define("MC_SET_ENTITY_DATA", 0xa4); define("MC_SET_ENTITY_MOTION", 0xa5); -define("MC_SET_HEALTH", 0xa6); -define("MC_SET_SPAWN_POSITION", 0xa7); -define("MC_ANIMATE", 0xa8); -define("MC_RESPAWN", 0xa9); -define("MC_DROP_ITEM", 0xab); -define("MC_CONTAINER_OPEN", 0xac); -define("MC_CONTAINER_CLOSE", 0xad); -define("MC_CONTAINER_SET_SLOT", 0xae); +define("MC_SET_HEALTH", 0xa8); +define("MC_SET_SPAWN_POSITION", 0xa9); +define("MC_ANIMATE", 0xaa); -define("MC_CLIENT_MESSAGE", 0xb1); -define("MC_SIGN_UPDATE", 0xb2); -define("MC_ADVENTURE_SETTINGS", 0xb3); \ No newline at end of file +define("MC_RESPAWN", 0xac); + +define("MC_DROP_ITEM", 0xad); + +define("MC_CONTAINER_OPEN", 0xae); +define("MC_CONTAINER_CLOSE", 0xaf); +define("MC_CONTAINER_SET_SLOT", 0xb0); + +define("MC_CLIENT_MESSAGE", 0xb4); +define("MC_SIGN_UPDATE", 0xb5); +define("MC_ADVENTURE_SETTINGS", 0xb6); \ No newline at end of file