mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Updated to handle more things
This commit is contained in:
parent
02b2e980eb
commit
c63240c7a8
12 changed files with 229 additions and 178 deletions
|
|
@ -47,13 +47,16 @@ define("MC_START_GAME", 0x87);
|
|||
define("MC_ADD_PLAYER", 0x89);
|
||||
|
||||
define("MC_REMOVE_ENTITY", 0x8d);
|
||||
define("MC_ADD_ITEM_ENTITY", 0x8e);
|
||||
|
||||
define("MC_MOVE_ENTITY_POSROT", 0x93);
|
||||
define("MC_MOVE_PLAYER", 0x94);
|
||||
define("MC_PLACE_BLOCK", 0x95);
|
||||
define("MC_REMOVE_BLOCK", 0x96);
|
||||
define("MC_UPDATE_BLOCK", 0x97);
|
||||
|
||||
define("MC_REQUEST_CHUNK", 0x9d);
|
||||
define("MC_CHUNK_DATA", 0x9e);
|
||||
|
||||
define("MC_PLAYER_EQUIPMENT", 0x9f);
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ $dataName = array(
|
|||
MC_ADD_PLAYER => "AddPlayer",
|
||||
|
||||
MC_REMOVE_ENTITY => "RemoveEntity",
|
||||
MC_ADD_ITEM_ENTITY => "AddItemEntity",
|
||||
|
||||
MC_MOVE_ENTITY_POSROT => "MoveEntity_PosRot",
|
||||
MC_MOVE_PLAYER => "MovePlayer",
|
||||
|
|
@ -54,6 +55,7 @@ $dataName = array(
|
|||
MC_REMOVE_BLOCK => "RemoveBlock",
|
||||
|
||||
MC_REQUEST_CHUNK => "RequestChunk",
|
||||
MC_CHUNK_DATA => "ChunkData",
|
||||
|
||||
MC_PLAYER_EQUIPMENT => "PlayerEquipment",
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue