Chunk parsing...

This commit is contained in:
Shoghi Cervantes Pueyo
2012-12-08 23:51:39 +01:00
parent cef574015f
commit cf3aa79c54
7 changed files with 127 additions and 7 deletions

View File

@ -46,6 +46,7 @@ define("MC_START_GAME", 0x87);
define("MC_ADD_PLAYER", 0x89);
define("MC_ADD_ENTITY", 0x8c);
define("MC_REMOVE_ENTITY", 0x8d);
define("MC_ADD_ITEM_ENTITY", 0x8e);

View File

@ -46,6 +46,7 @@ $dataName = array(
MC_ADD_PLAYER => "AddPlayer",
MC_ADD_ENTITY => "AddEntity",
MC_REMOVE_ENTITY => "RemoveEntity",
MC_ADD_ITEM_ENTITY => "AddItemEntity",
@ -55,6 +56,7 @@ $dataName = array(
MC_MOVE_PLAYER => "MovePlayer",
MC_PLACE_BLOCK => "PlaceBlock",
MC_REMOVE_BLOCK => "RemoveBlock",
MC_UPDATE_BLOCK => "UpdateBlock",
MC_REQUEST_CHUNK => "RequestChunk",
MC_CHUNK_DATA => "ChunkData",