@@ -699,15 +699,18 @@ packet_entity_event:
699699 71 : balloon_pop
700700 72 : treasure_hunt
701701 73 : agent_summon
702- 74 : charged_crossbow
702+ 74 : charged_item
703703 75 : fall
704704 data : zigzag32
705705
706706packet_mob_effect :
707707 !id: 0x1c
708708 !bound: client
709709 runtime_entity_id : varint
710- event_id : u8
710+ event_id : u8 =>
711+ 1 : add
712+ 2 : update
713+ 3 : remove
711714 effect_id : zigzag32
712715 amplifier : zigzag32
713716 particles : bool
@@ -753,6 +756,7 @@ packet_interact:
753756 action_id : u8 =>
754757 3 : leave_vehicle
755758 4 : mouse_over_entity
759+ 5 : npc_open
756760 6 : open_inventory
757761 # TargetEntityRuntimeID is the runtime ID of the entity that the player interacted with. This is empty
758762 # for the InteractActionOpenInventory action type.
@@ -1162,7 +1166,11 @@ packet_player_list:
11621166packet_simple_event :
11631167 !id: 0x40
11641168 !bound: client
1165- event_type : lu16
1169+ event_type : lu16 =>
1170+ 0 : uninitialized_subtype
1171+ 1 : enable_commands
1172+ 2 : disable_commands
1173+ 3 : unlock_world_template_settings
11661174
11671175# Event is sent by the server to send an event with additional data. It is typically sent to the client for
11681176# telemetry reasons, much like the SimpleEvent packet.
@@ -1324,7 +1332,7 @@ packet_available_commands:
13241332 # The list of overload parameters for this command
13251333 overloads : []varint
13261334 # Each of the parameters gets an array of posible overloads
1327- _ : []varint
1335+ parameters : []varint
13281336 # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
13291337 parameter_name : string
13301338 value_type : lu16 =>
@@ -1344,9 +1352,9 @@ packet_available_commands:
13441352 # In MC, this + prior field are combined to one 32bit bitfield
13451353 enum_type : lu16 =>
13461354 0x10 : valid
1347- 0x20 : enum
1355+ 0x30 : enum
13481356 0x100 : suffixed
1349- 0x400 : soft_enum
1357+ 0x410 : soft_enum
13501358 # Is this parameter required?
13511359 optional : bool
13521360 # Additinal options for this command (thanks macroshaft...)
@@ -1601,9 +1609,14 @@ packet_show_store_offer:
16011609 unknown0 : string
16021610 unknown1 : bool
16031611
1612+ # PurchaseReceipt is sent by the client to the server to notify the server it purchased an item from the
1613+ # Marketplace store that was offered by the server. The packet is only used for partnered servers.
16041614packet_purchase_receipt :
16051615 !id: 0x5c
16061616 !bound: server
1617+ # Receipts is a list of receipts, or proofs of purchases, for the offers that have been purchased by the
1618+ # player.
1619+ receipts : string[]varint
16071620
16081621packet_player_skin :
16091622 !id: 0x5d
@@ -1614,9 +1627,18 @@ packet_player_skin:
16141627 old_skin_name : string
16151628 is_verified : bool
16161629
1630+ # SubClientLogin is sent when a sub-client joins the server while another client is already connected to it.
1631+ # The packet is sent as a result of split-screen game play, and allows up to four players to play using the
1632+ # same network connection. After an initial Login packet from the 'main' client, each sub-client that
1633+ # connects sends a SubClientLogin to request their own login.
16171634packet_sub_client_login :
16181635 !id: 0x5e
1619- !bound: client
1636+ !bound: server
1637+ # ConnectionRequest is a string containing information about the player and JWTs that may be used to
1638+ # verify if the player is connected to XBOX Live. The connection request also contains the necessary
1639+ # client public key to initiate encryption.
1640+ # The ConnectionRequest in this packet is identical to the one found in the Login packet.
1641+ tokens : ' ["encapsulated", { "lengthType": "varint", "type": "LoginTokens" }]'
16201642
16211643packet_initiate_web_socket_connection :
16221644 !id: 0x5f
@@ -1628,9 +1650,11 @@ packet_set_last_hurt_by:
16281650 !bound: client
16291651 unknown : varint
16301652
1653+ # BookEdit is sent by the client when it edits a book. It is sent each time a modification was made and the
1654+ # player stops its typing 'session', rather than simply after closing the book.
16311655packet_book_edit :
16321656 !id: 0x61
1633- !bound: client
1657+ !bound: server
16341658 type : u8 =>
16351659 0 : replace_page
16361660 1 : add_page
@@ -1701,7 +1725,7 @@ packet_show_profile:
17011725# in the settings UI.
17021726packet_set_default_game_type :
17031727 !id: 0x69
1704- !bound: client
1728+ !bound: server
17051729 # GameType is the new game type that is set. When sent by the client, this is the requested new default
17061730 # game type.
17071731 gamemode : GameMode
@@ -1736,6 +1760,7 @@ packet_lab_table:
17361760 action_type : u8 =>
17371761 0 : combine
17381762 1 : react
1763+ 2 : reset
17391764 # Position is the position at which the lab table used was located.
17401765 position : vec3i
17411766 # ReactionType is the type of the reaction that took place as a result of the items put into the lab
@@ -1889,7 +1914,7 @@ packet_level_event_generic:
18891914# or if the book should be removed from it.
18901915packet_lectern_update :
18911916 !id: 0x7d
1892- !bound: client
1917+ !bound: server
18931918 # Page is the page number in the book that was opened by the player on the lectern.
18941919 page : u8
18951920 # PageCount is the number of pages that the book opened in the lectern has.
@@ -1905,7 +1930,9 @@ packet_video_stream_connect:
19051930 !bound: client
19061931 server_uri : string
19071932 frame_send_frequency : lf32
1908- action : u8
1933+ action : u8 =>
1934+ 1 : none
1935+ 2 : close
19091936 resolution_x : li32
19101937 resolution_y : li32
19111938
@@ -1945,7 +1972,7 @@ packet_map_create_locked_copy:
19451972
19461973packet_structure_template_data_export_request :
19471974 !id: 0x84
1948- !bound: client
1975+ !bound: server
19491976
19501977packet_structure_template_data_export_response :
19511978 !id: 0x85
@@ -1960,7 +1987,7 @@ packet_update_block_properties:
19601987# what blobs it needs and which blobs it already has, in an ACK type system.
19611988packet_client_cache_blob_status :
19621989 !id: 0x87
1963- !bound: client
1990+ !bound: server
19641991 # The number of MISSes in this packet
19651992 misses : varint
19661993 # The number of HITs in this packet
@@ -2224,7 +2251,7 @@ ArmorDamageType: [ "bitflags",
22242251# identical to the SetPlayerGameType packet.
22252252packet_update_player_game_type :
22262253 !id: 0x97
2227- !bound: server
2254+ !bound: client
22282255 # GameType is the new game type of the player. It is one of the constants that can be found in
22292256 # set_player_game_type.go. Some of these game types require additional flags to be set in an
22302257 # AdventureSettings packet for the game mode to obtain its full functionality.
@@ -2399,7 +2426,7 @@ packet_item_component:
23992426# safer version of the text.
24002427packet_filter_text_packet :
24012428 !id: 0xa3
2402- !bound: client
2429+ !bound: both
24032430 # Text is either the text from the client or the safer version of the text sent by the server.
24042431 text : string
24052432 # FromServer indicates if the packet was sent by the server or not.
0 commit comments