Fuck yefeng typo && Thanks to @Sunch233

This commit is contained in:
yefengeeeeeeeeeee 2025-04-12 20:40:19 +08:00
parent 2712adc29f
commit ce61a1024c
3 changed files with 15 additions and 11 deletions

View file

@ -111,7 +111,7 @@ abstract class ProtocolInfo12{
const MOVE_ENTITY_PACKET_POSROT = 0x93;
const ROTATE_HEAD_PACKET = 0xff;
const MOVE_PLAYER_PACKET = 0x94;
const PLACE_BLOCK_PACKET = 0x96;
const PLACE_BLOCK_PACKET = 0x95;
const REMOVE_BLOCK_PACKET = 0x96;
const UPDATE_BLOCK_PACKET = 0x97;
const ADD_PAINTING_PACKET = 0x98;
@ -206,12 +206,12 @@ abstract class ProtocolInfo9{
const RESPAWN_PACKET = 0xab;
const SEND_INVENTORY_PACKET = 0xac;
const DROP_ITEM_PACKET = 0xad;
const CONTAINER_OPEN_PACKET = 0xab;
const CONTAINER_CLOSE_PACKET = 0xac;
const CONTAINER_SET_SLOT_PACKET = 0xad;
const CONTAINER_SET_DATA_PACKET = 0xae;
const CONTAINER_SET_CONTENT_PACKET = 0xaf;
const CONTAINER_ACK_PACKET = 0xb;
const CONTAINER_OPEN_PACKET = 0xae;
const CONTAINER_CLOSE_PACKET = 0xaf;
const CONTAINER_SET_SLOT_PACKET = 0xb0;
const CONTAINER_SET_DATA_PACKET = 0xb1;
const CONTAINER_SET_CONTENT_PACKET = 0xb2;
const CONTAINER_ACK_PACKET = 0xb3;
const CHAT_PACKET = 0xb4;//12 change
const ADVENTURE_SETTINGS_PACKET = 0xb6;
const ENTITY_DATA_PACKET = 0xb7;
@ -263,7 +263,7 @@ abstract class ProtocolInfo7{ // MCPE 0.3 - 0.5 seem using same packet id
const REQUEST_CHUNK_PACKET = 0x9d;
const CHUNK_DATA_PACKET = 0x9e;
const PLAYER_EQUIPMENT_PACKET = 0x9f;
const PLAYER_ARMOR_EQUIPMENT_PACKET = 0xa0;
// const PLAYER_ARMOR_EQUIPMENT_PACKET = 0xa0;
const INTERACT_PACKET = 0xa0;//Change
const USE_ITEM_PACKET = 0xa1;
const PLAYER_ACTION_PACKET = 0xa2;