SignUpdatePacket implement

This commit is contained in:
yefengeeeeeeeeeee 2025-05-03 16:19:35 +08:00
parent e3f0ed0744
commit de98590660
5 changed files with 46 additions and 3 deletions

View file

@ -197,7 +197,7 @@ abstract class ProtocolInfo9{
const HURT_ARMOR_PACKET = 0xa5;
const SET_ENTITY_DATA_PACKET = 0xa6;
const SET_ENTITY_MOTION_PACKET = 0xa7;
//const SET_ENTITY_LINK_PACKET = 0xa?;// Change
//const SET_ENTITY_LINK_PACKET = 0xa?;
const SET_HEALTH_PACKET = 0xa8;// Change
const SET_SPAWN_POSITION_PACKET = 0xa9;
const ANIMATE_PACKET = 0xaa;
@ -210,7 +210,8 @@ abstract class ProtocolInfo9{
const CONTAINER_SET_DATA_PACKET = 0xb1;
const CONTAINER_SET_CONTENT_PACKET = 0xb2;
const CONTAINER_ACK_PACKET = 0xb3;
const CHAT_PACKET = 0xb4;//12 change
const CHAT_PACKET = 0xb4;
const SIGN_UPDATE_PACKET = 0xb5;
const ADVENTURE_SETTINGS_PACKET = 0xb6;
const ENTITY_DATA_PACKET = 0xb7;
const PLAYER_INPUT_PACKET = 0xb9;
@ -278,7 +279,8 @@ abstract class ProtocolInfo8{
const CONTAINER_SET_DATA_PACKET = 0xae;
const CONTAINER_SET_CONTENT_PACKET = 0xaf;
const CONTAINER_ACK_PACKET = 0xb;
const CHAT_PACKET = 0xb1;//12 change
const CHAT_PACKET = 0xb1;
const SIGN_UPDATE_PACKET = 0xb2;
const ADVENTURE_SETTINGS_PACKET = 0xb3;
const ENTITY_DATA_PACKET = 0xb2;
const PLAYER_INPUT_PACKET = 0xb9;
@ -346,6 +348,7 @@ abstract class ProtocolInfo6{
const CONTAINER_SET_CONTENT_PACKET = 0xad;
const CONTAINER_ACK_PACKET = 0xae;
const CHAT_PACKET = 0xaf;
const SIGN_UPDATE_PACKET = 0xb0;
//const ADVENTURE_SETTINGS_PACKET = 0xb3;
//const ENTITY_DATA_PACKET = 0xb2;
//const PLAYER_INPUT_PACKET = 0xb9;