Files
2025-10-30 14:05:37 +00:00

4439 lines
326 KiB
HTML

<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-wEmeIV1mKuiNpC+IOBjI7aAzPcEZeedi5yW5f2yOq55WWLwNGmvvx4Um1vskeMj0" crossorigin="anonymous">
<style>
body { font-family: Helvetica, Arial, sans-serif; }
td { padding: 8px; border: 1px solid #E0E0E0; }
td[colspan="2"] { padding: 0px; }
td:empty { display: none; }
td.vpad { padding:8px 0; }
tr:hover { background-color: #FAFAFE; }
.field-name { font-weight: bold; }
.field-implicit { background-color: #F0F0FF; }
.fake { font-weight:normal; font-style:italic; }
.packet-header {
display: flex;
justify-content: space-between;
}
.packet-header div { display: inline-block; padding: 8px; }
.packet-name { font-size: 22px; font-weight: bold; vertical-align:middle; }
.packet-id {
border-radius: 20px;
font-size: 14px;
font-weight: 700;
min-width: 80px;
padding: 6px 15px;
text-align: center;
border-radius: 3px;
}
.bound-datatype { background-color: #941c9f; color:white; }
.bound-client { background-color: #61affe; color:white; }
.bound-both { background-color: #49cc90; color:white; }
.bound-server { background-color: #597794; color:white; }
.tag { border-radius: 10px; margin: 4px; padding: 2px 4px 2px 4px; background-color: lightblue; background-color: black; color: white; }
.tag-switch { background-color: #F0F0F0; border: 1px solid #A0A0A0; color: black; padding: 6px; }
.tag-optional { background-color: gold; border: 1px solid #A0A0A0; color: black; padding: 6px; }
.tag-array { background-color: navy; }
.field-title { font-weight: bold; }
td { vertical-align: middle; text-align: center; }
table table {
width: 100%;
}
.table-bordered { border: 1px solid #E0E0E0; }
thead td { font-weight: bold; background-color: #E0E0E0; }
a { text-decoration: none; }
.name { text-transform: capitalize; }
.sticky-container { position: relative; }
.sticky-header { position: sticky; top: 4px; text-align: center; font-size: 1.4rem; background-color: #f0f0f050; padding: 8px 16px; border-radius: 8px; width: fit-content; }
</style>
</head>
<div class='container'><h3>Table of Contents</h3>
<table class='table table-bordered table-striped' style='width:50%'>
<thead><tr><td>Key</td><td>Name</td></tr></thead>
<tbody>
<tr><td><a href="#BehaviourPackInfos">Type</a><td class='name'><a href="#BehaviourPackInfos">BehaviourPackInfos</a></td></tr>
<tr><td><a href="#TexturePackInfos">Type</a><td class='name'><a href="#TexturePackInfos">TexturePackInfos</a></td></tr>
<tr><td><a href="#ResourcePackIdVersions">Type</a><td class='name'><a href="#ResourcePackIdVersions">ResourcePackIdVersions</a></td></tr>
<tr><td><a href="#ResourcePackIds">Type</a><td class='name'><a href="#ResourcePackIds">ResourcePackIds</a></td></tr>
<tr><td><a href="#Experiment">Type</a><td class='name'><a href="#Experiment">Experiment</a></td></tr>
<tr><td><a href="#Experiments">Type</a><td class='name'><a href="#Experiments">Experiments</a></td></tr>
<tr><td><a href="#GameMode">Type</a><td class='name'><a href="#GameMode">GameMode</a></td></tr>
<tr><td><a href="#GameRule">Type</a><td class='name'><a href="#GameRule">GameRule</a></td></tr>
<tr><td><a href="#GameRules">Type</a><td class='name'><a href="#GameRules">GameRules</a></td></tr>
<tr><td><a href="#Blob">Type</a><td class='name'><a href="#Blob">Blob</a></td></tr>
<tr><td><a href="#BlockPalette">Type</a><td class='name'><a href="#BlockPalette">BlockPalette</a></td></tr>
<tr><td><a href="#Itemstates">Type</a><td class='name'><a href="#Itemstates">Itemstates</a></td></tr>
<tr><td><a href="#Item">Type</a><td class='name'><a href="#Item">Item</a></td></tr>
<tr><td><a href="#vec3i">Type</a><td class='name'><a href="#vec3i">vec3i</a></td></tr>
<tr><td><a href="#vec3u">Type</a><td class='name'><a href="#vec3u">vec3u</a></td></tr>
<tr><td><a href="#vec3f">Type</a><td class='name'><a href="#vec3f">vec3f</a></td></tr>
<tr><td><a href="#vec2f">Type</a><td class='name'><a href="#vec2f">vec2f</a></td></tr>
<tr><td><a href="#MetadataDictionary">Type</a><td class='name'><a href="#MetadataDictionary">MetadataDictionary</a></td></tr>
<tr><td><a href="#Link">Type</a><td class='name'><a href="#Link">Link</a></td></tr>
<tr><td><a href="#Links">Type</a><td class='name'><a href="#Links">Links</a></td></tr>
<tr><td><a href="#EntityAttributes">Type</a><td class='name'><a href="#EntityAttributes">EntityAttributes</a></td></tr>
<tr><td><a href="#Rotation">Type</a><td class='name'><a href="#Rotation">Rotation</a></td></tr>
<tr><td><a href="#BlockCoordinates">Type</a><td class='name'><a href="#BlockCoordinates">BlockCoordinates</a></td></tr>
<tr><td><a href="#PlayerAttributes">Type</a><td class='name'><a href="#PlayerAttributes">PlayerAttributes</a></td></tr>
<tr><td><a href="#Transaction">Type</a><td class='name'><a href="#Transaction">Transaction</a></td></tr>
<tr><td><a href="#ItemStack">Type</a><td class='name'><a href="#ItemStack">ItemStack</a></td></tr>
<tr><td><a href="#ItemStacks">Type</a><td class='name'><a href="#ItemStacks">ItemStacks</a></td></tr>
<tr><td><a href="#RecipeIngredient">Type</a><td class='name'><a href="#RecipeIngredient">RecipeIngredient</a></td></tr>
<tr><td><a href="#PotionTypeRecipes">Type</a><td class='name'><a href="#PotionTypeRecipes">PotionTypeRecipes</a></td></tr>
<tr><td><a href="#PotionContainerChangeRecipes">Type</a><td class='name'><a href="#PotionContainerChangeRecipes">PotionContainerChangeRecipes</a></td></tr>
<tr><td><a href="#Recipes">Type</a><td class='name'><a href="#Recipes">Recipes</a></td></tr>
<tr><td><a href="#SkinImage">Type</a><td class='name'><a href="#SkinImage">SkinImage</a></td></tr>
<tr><td><a href="#Skin">Type</a><td class='name'><a href="#Skin">Skin</a></td></tr>
<tr><td><a href="#PlayerRecords">Type</a><td class='name'><a href="#PlayerRecords">PlayerRecords</a></td></tr>
<tr><td><a href="#ScoreEntries">Type</a><td class='name'><a href="#ScoreEntries">ScoreEntries</a></td></tr>
<tr><td><a href="#ScoreboardIdentityEntries">Type</a><td class='name'><a href="#ScoreboardIdentityEntries">ScoreboardIdentityEntries</a></td></tr>
<tr><td><a href="#Enchant">Type</a><td class='name'><a href="#Enchant">Enchant</a></td></tr>
<tr><td><a href="#EnchantOptions">Type</a><td class='name'><a href="#EnchantOptions">EnchantOptions</a></td></tr>
<tr><td><a href="#StackRequestSlotInfo">Type</a><td class='name'><a href="#StackRequestSlotInfo">StackRequestSlotInfo</a></td></tr>
<tr><td><a href="#ItemStackRequests">Type</a><td class='name'><a href="#ItemStackRequests">ItemStackRequests</a></td></tr>
<tr><td><a href="#ItemStackResponses">Type</a><td class='name'><a href="#ItemStackResponses">ItemStackResponses</a></td></tr>
<tr><td><a href="#ItemComponentList">Type</a><td class='name'><a href="#ItemComponentList">ItemComponentList</a></td></tr>
<tr><td><a href="#CommandOrigin">Type</a><td class='name'><a href="#CommandOrigin">CommandOrigin</a></td></tr>
<tr><td><a href="#WindowID">Type</a><td class='name'><a href="#WindowID">WindowID</a></td></tr>
<tr><td><a href="#WindowIDVarint">Type</a><td class='name'><a href="#WindowIDVarint">WindowIDVarint</a></td></tr>
<tr><td><a href="#WindowType">Type</a><td class='name'><a href="#WindowType">WindowType</a></td></tr>
<tr><td><a href="#LegacyEntityType">Type</a><td class='name'><a href="#LegacyEntityType">LegacyEntityType</a></td></tr>
<tr><td><a href="#packet_login">0x1</a></td><td><a href="#packet_login">packet_login</a></td></tr>
<tr><td><a href="#LoginTokens">Type</a><td class='name'><a href="#LoginTokens">LoginTokens</a></td></tr>
<tr><td><a href="#packet_play_status">0x2</a></td><td><a href="#packet_play_status">packet_play_status</a></td></tr>
<tr><td><a href="#packet_server_to_client_handshake">0x3</a></td><td><a href="#packet_server_to_client_handshake">packet_server_to_client_handshake</a></td></tr>
<tr><td><a href="#packet_client_to_server_handshake">0x4</a></td><td><a href="#packet_client_to_server_handshake">packet_client_to_server_handshake</a></td></tr>
<tr><td><a href="#packet_disconnect">0x5</a></td><td><a href="#packet_disconnect">packet_disconnect</a></td></tr>
<tr><td><a href="#packet_resource_packs_info">0x6</a></td><td><a href="#packet_resource_packs_info">packet_resource_packs_info</a></td></tr>
<tr><td><a href="#packet_resource_pack_stack">0x7</a></td><td><a href="#packet_resource_pack_stack">packet_resource_pack_stack</a></td></tr>
<tr><td><a href="#packet_resource_pack_client_response">0x8</a></td><td><a href="#packet_resource_pack_client_response">packet_resource_pack_client_response</a></td></tr>
<tr><td><a href="#packet_text">0x9</a></td><td><a href="#packet_text">packet_text</a></td></tr>
<tr><td><a href="#packet_set_time">0xa</a></td><td><a href="#packet_set_time">packet_set_time</a></td></tr>
<tr><td><a href="#packet_start_game">0xb</a></td><td><a href="#packet_start_game">packet_start_game</a></td></tr>
<tr><td><a href="#packet_add_player">0xc</a></td><td><a href="#packet_add_player">packet_add_player</a></td></tr>
<tr><td><a href="#packet_add_entity">0xd</a></td><td><a href="#packet_add_entity">packet_add_entity</a></td></tr>
<tr><td><a href="#packet_remove_entity">0xe</a></td><td><a href="#packet_remove_entity">packet_remove_entity</a></td></tr>
<tr><td><a href="#packet_add_item_entity">0xf</a></td><td><a href="#packet_add_item_entity">packet_add_item_entity</a></td></tr>
<tr><td><a href="#packet_take_item_entity">0x11</a></td><td><a href="#packet_take_item_entity">packet_take_item_entity</a></td></tr>
<tr><td><a href="#packet_move_entity">0x12</a></td><td><a href="#packet_move_entity">packet_move_entity</a></td></tr>
<tr><td><a href="#packet_move_player">0x13</a></td><td><a href="#packet_move_player">packet_move_player</a></td></tr>
<tr><td><a href="#packet_rider_jump">0x14</a></td><td><a href="#packet_rider_jump">packet_rider_jump</a></td></tr>
<tr><td><a href="#packet_update_block">0x15</a></td><td><a href="#packet_update_block">packet_update_block</a></td></tr>
<tr><td><a href="#packet_add_painting">0x16</a></td><td><a href="#packet_add_painting">packet_add_painting</a></td></tr>
<tr><td><a href="#packet_tick_sync">0x17</a></td><td><a href="#packet_tick_sync">packet_tick_sync</a></td></tr>
<tr><td><a href="#packet_level_sound_event_old">0x18</a></td><td><a href="#packet_level_sound_event_old">packet_level_sound_event_old</a></td></tr>
<tr><td><a href="#packet_level_event">0x19</a></td><td><a href="#packet_level_event">packet_level_event</a></td></tr>
<tr><td><a href="#packet_block_event">0x1a</a></td><td><a href="#packet_block_event">packet_block_event</a></td></tr>
<tr><td><a href="#packet_entity_event">0x1b</a></td><td><a href="#packet_entity_event">packet_entity_event</a></td></tr>
<tr><td><a href="#packet_mob_effect">0x1c</a></td><td><a href="#packet_mob_effect">packet_mob_effect</a></td></tr>
<tr><td><a href="#packet_update_attributes">0x1d</a></td><td><a href="#packet_update_attributes">packet_update_attributes</a></td></tr>
<tr><td><a href="#packet_inventory_transaction">0x1e</a></td><td><a href="#packet_inventory_transaction">packet_inventory_transaction</a></td></tr>
<tr><td><a href="#packet_mob_equipment">0x1f</a></td><td><a href="#packet_mob_equipment">packet_mob_equipment</a></td></tr>
<tr><td><a href="#packet_mob_armor_equipment">0x20</a></td><td><a href="#packet_mob_armor_equipment">packet_mob_armor_equipment</a></td></tr>
<tr><td><a href="#packet_interact">0x21</a></td><td><a href="#packet_interact">packet_interact</a></td></tr>
<tr><td><a href="#packet_block_pick_request">0x22</a></td><td><a href="#packet_block_pick_request">packet_block_pick_request</a></td></tr>
<tr><td><a href="#packet_entity_pick_request">0x23</a></td><td><a href="#packet_entity_pick_request">packet_entity_pick_request</a></td></tr>
<tr><td><a href="#packet_player_action">0x24</a></td><td><a href="#packet_player_action">packet_player_action</a></td></tr>
<tr><td><a href="#packet_hurt_armor">0x26</a></td><td><a href="#packet_hurt_armor">packet_hurt_armor</a></td></tr>
<tr><td><a href="#packet_set_entity_data">0x27</a></td><td><a href="#packet_set_entity_data">packet_set_entity_data</a></td></tr>
<tr><td><a href="#packet_set_entity_motion">0x28</a></td><td><a href="#packet_set_entity_motion">packet_set_entity_motion</a></td></tr>
<tr><td><a href="#packet_set_entity_link">0x29</a></td><td><a href="#packet_set_entity_link">packet_set_entity_link</a></td></tr>
<tr><td><a href="#packet_set_health">0x2a</a></td><td><a href="#packet_set_health">packet_set_health</a></td></tr>
<tr><td><a href="#packet_set_spawn_position">0x2b</a></td><td><a href="#packet_set_spawn_position">packet_set_spawn_position</a></td></tr>
<tr><td><a href="#packet_animate">0x2c</a></td><td><a href="#packet_animate">packet_animate</a></td></tr>
<tr><td><a href="#packet_respawn">0x2d</a></td><td><a href="#packet_respawn">packet_respawn</a></td></tr>
<tr><td><a href="#packet_container_open">0x2e</a></td><td><a href="#packet_container_open">packet_container_open</a></td></tr>
<tr><td><a href="#packet_container_close">0x2f</a></td><td><a href="#packet_container_close">packet_container_close</a></td></tr>
<tr><td><a href="#packet_player_hotbar">0x30</a></td><td><a href="#packet_player_hotbar">packet_player_hotbar</a></td></tr>
<tr><td><a href="#packet_inventory_content">0x31</a></td><td><a href="#packet_inventory_content">packet_inventory_content</a></td></tr>
<tr><td><a href="#packet_inventory_slot">0x32</a></td><td><a href="#packet_inventory_slot">packet_inventory_slot</a></td></tr>
<tr><td><a href="#packet_container_set_data">0x33</a></td><td><a href="#packet_container_set_data">packet_container_set_data</a></td></tr>
<tr><td><a href="#packet_crafting_data">0x34</a></td><td><a href="#packet_crafting_data">packet_crafting_data</a></td></tr>
<tr><td><a href="#packet_crafting_event">0x35</a></td><td><a href="#packet_crafting_event">packet_crafting_event</a></td></tr>
<tr><td><a href="#packet_gui_data_pick_item">0x36</a></td><td><a href="#packet_gui_data_pick_item">packet_gui_data_pick_item</a></td></tr>
<tr><td><a href="#packet_adventure_settings">0x37</a></td><td><a href="#packet_adventure_settings">packet_adventure_settings</a></td></tr>
<tr><td><a href="#packet_block_entity_data">0x38</a></td><td><a href="#packet_block_entity_data">packet_block_entity_data</a></td></tr>
<tr><td><a href="#packet_player_input">0x39</a></td><td><a href="#packet_player_input">packet_player_input</a></td></tr>
<tr><td><a href="#packet_level_chunk">0x3a</a></td><td><a href="#packet_level_chunk">packet_level_chunk</a></td></tr>
<tr><td><a href="#packet_set_commands_enabled">0x3b</a></td><td><a href="#packet_set_commands_enabled">packet_set_commands_enabled</a></td></tr>
<tr><td><a href="#packet_set_difficulty">0x3c</a></td><td><a href="#packet_set_difficulty">packet_set_difficulty</a></td></tr>
<tr><td><a href="#packet_change_dimension">0x3d</a></td><td><a href="#packet_change_dimension">packet_change_dimension</a></td></tr>
<tr><td><a href="#packet_set_player_game_type">0x3e</a></td><td><a href="#packet_set_player_game_type">packet_set_player_game_type</a></td></tr>
<tr><td><a href="#packet_player_list">0x3f</a></td><td><a href="#packet_player_list">packet_player_list</a></td></tr>
<tr><td><a href="#packet_simple_event">0x40</a></td><td><a href="#packet_simple_event">packet_simple_event</a></td></tr>
<tr><td><a href="#packet_event">0x41</a></td><td><a href="#packet_event">packet_event</a></td></tr>
<tr><td><a href="#packet_spawn_experience_orb">0x42</a></td><td><a href="#packet_spawn_experience_orb">packet_spawn_experience_orb</a></td></tr>
<tr><td><a href="#packet_clientbound_map_item_data">0x43</a></td><td><a href="#packet_clientbound_map_item_data">packet_clientbound_map_item_data</a></td></tr>
<tr><td><a href="#packet_map_info_request">0x44</a></td><td><a href="#packet_map_info_request">packet_map_info_request</a></td></tr>
<tr><td><a href="#packet_request_chunk_radius">0x45</a></td><td><a href="#packet_request_chunk_radius">packet_request_chunk_radius</a></td></tr>
<tr><td><a href="#packet_chunk_radius_update">0x46</a></td><td><a href="#packet_chunk_radius_update">packet_chunk_radius_update</a></td></tr>
<tr><td><a href="#packet_item_frame_drop_item">0x47</a></td><td><a href="#packet_item_frame_drop_item">packet_item_frame_drop_item</a></td></tr>
<tr><td><a href="#packet_game_rules_changed">0x48</a></td><td><a href="#packet_game_rules_changed">packet_game_rules_changed</a></td></tr>
<tr><td><a href="#packet_camera">0x49</a></td><td><a href="#packet_camera">packet_camera</a></td></tr>
<tr><td><a href="#packet_boss_event">0x4a</a></td><td><a href="#packet_boss_event">packet_boss_event</a></td></tr>
<tr><td><a href="#packet_show_credits">0x4b</a></td><td><a href="#packet_show_credits">packet_show_credits</a></td></tr>
<tr><td><a href="#packet_available_commands">0x4c</a></td><td><a href="#packet_available_commands">packet_available_commands</a></td></tr>
<tr><td><a href="#packet_command_request">0x4d</a></td><td><a href="#packet_command_request">packet_command_request</a></td></tr>
<tr><td><a href="#packet_command_block_update">0x4e</a></td><td><a href="#packet_command_block_update">packet_command_block_update</a></td></tr>
<tr><td><a href="#packet_command_output">0x4f</a></td><td><a href="#packet_command_output">packet_command_output</a></td></tr>
<tr><td><a href="#packet_update_trade">0x50</a></td><td><a href="#packet_update_trade">packet_update_trade</a></td></tr>
<tr><td><a href="#packet_update_equipment">0x51</a></td><td><a href="#packet_update_equipment">packet_update_equipment</a></td></tr>
<tr><td><a href="#packet_resource_pack_data_info">0x52</a></td><td><a href="#packet_resource_pack_data_info">packet_resource_pack_data_info</a></td></tr>
<tr><td><a href="#packet_resource_pack_chunk_data">0x53</a></td><td><a href="#packet_resource_pack_chunk_data">packet_resource_pack_chunk_data</a></td></tr>
<tr><td><a href="#packet_resource_pack_chunk_request">0x54</a></td><td><a href="#packet_resource_pack_chunk_request">packet_resource_pack_chunk_request</a></td></tr>
<tr><td><a href="#packet_transfer">0x55</a></td><td><a href="#packet_transfer">packet_transfer</a></td></tr>
<tr><td><a href="#packet_play_sound">0x56</a></td><td><a href="#packet_play_sound">packet_play_sound</a></td></tr>
<tr><td><a href="#packet_stop_sound">0x57</a></td><td><a href="#packet_stop_sound">packet_stop_sound</a></td></tr>
<tr><td><a href="#packet_set_title">0x58</a></td><td><a href="#packet_set_title">packet_set_title</a></td></tr>
<tr><td><a href="#packet_add_behavior_tree">0x59</a></td><td><a href="#packet_add_behavior_tree">packet_add_behavior_tree</a></td></tr>
<tr><td><a href="#packet_structure_block_update">0x5a</a></td><td><a href="#packet_structure_block_update">packet_structure_block_update</a></td></tr>
<tr><td><a href="#packet_show_store_offer">0x5b</a></td><td><a href="#packet_show_store_offer">packet_show_store_offer</a></td></tr>
<tr><td><a href="#packet_purchase_receipt">0x5c</a></td><td><a href="#packet_purchase_receipt">packet_purchase_receipt</a></td></tr>
<tr><td><a href="#packet_player_skin">0x5d</a></td><td><a href="#packet_player_skin">packet_player_skin</a></td></tr>
<tr><td><a href="#packet_sub_client_login">0x5e</a></td><td><a href="#packet_sub_client_login">packet_sub_client_login</a></td></tr>
<tr><td><a href="#packet_initiate_web_socket_connection">0x5f</a></td><td><a href="#packet_initiate_web_socket_connection">packet_initiate_web_socket_connection</a></td></tr>
<tr><td><a href="#packet_set_last_hurt_by">0x60</a></td><td><a href="#packet_set_last_hurt_by">packet_set_last_hurt_by</a></td></tr>
<tr><td><a href="#packet_book_edit">0x61</a></td><td><a href="#packet_book_edit">packet_book_edit</a></td></tr>
<tr><td><a href="#packet_npc_request">0x62</a></td><td><a href="#packet_npc_request">packet_npc_request</a></td></tr>
<tr><td><a href="#packet_photo_transfer">0x63</a></td><td><a href="#packet_photo_transfer">packet_photo_transfer</a></td></tr>
<tr><td><a href="#packet_modal_form_request">0x64</a></td><td><a href="#packet_modal_form_request">packet_modal_form_request</a></td></tr>
<tr><td><a href="#packet_modal_form_response">0x65</a></td><td><a href="#packet_modal_form_response">packet_modal_form_response</a></td></tr>
<tr><td><a href="#packet_server_settings_request">0x66</a></td><td><a href="#packet_server_settings_request">packet_server_settings_request</a></td></tr>
<tr><td><a href="#packet_server_settings_response">0x67</a></td><td><a href="#packet_server_settings_response">packet_server_settings_response</a></td></tr>
<tr><td><a href="#packet_show_profile">0x68</a></td><td><a href="#packet_show_profile">packet_show_profile</a></td></tr>
<tr><td><a href="#packet_set_default_game_type">0x69</a></td><td><a href="#packet_set_default_game_type">packet_set_default_game_type</a></td></tr>
<tr><td><a href="#packet_remove_objective">0x6a</a></td><td><a href="#packet_remove_objective">packet_remove_objective</a></td></tr>
<tr><td><a href="#packet_set_display_objective">0x6b</a></td><td><a href="#packet_set_display_objective">packet_set_display_objective</a></td></tr>
<tr><td><a href="#packet_set_score">0x6c</a></td><td><a href="#packet_set_score">packet_set_score</a></td></tr>
<tr><td><a href="#packet_lab_table">0x6d</a></td><td><a href="#packet_lab_table">packet_lab_table</a></td></tr>
<tr><td><a href="#packet_update_block_synced">0x6e</a></td><td><a href="#packet_update_block_synced">packet_update_block_synced</a></td></tr>
<tr><td><a href="#packet_move_entity_delta">0x6f</a></td><td><a href="#packet_move_entity_delta">packet_move_entity_delta</a></td></tr>
<tr><td><a href="#packet_set_scoreboard_identity">0x70</a></td><td><a href="#packet_set_scoreboard_identity">packet_set_scoreboard_identity</a></td></tr>
<tr><td><a href="#packet_set_local_player_as_initialized">0x71</a></td><td><a href="#packet_set_local_player_as_initialized">packet_set_local_player_as_initialized</a></td></tr>
<tr><td><a href="#packet_update_soft_enum">0x72</a></td><td><a href="#packet_update_soft_enum">packet_update_soft_enum</a></td></tr>
<tr><td><a href="#packet_network_stack_latency">0x73</a></td><td><a href="#packet_network_stack_latency">packet_network_stack_latency</a></td></tr>
<tr><td><a href="#packet_script_custom_event">0x75</a></td><td><a href="#packet_script_custom_event">packet_script_custom_event</a></td></tr>
<tr><td><a href="#packet_spawn_particle_effect">0x76</a></td><td><a href="#packet_spawn_particle_effect">packet_spawn_particle_effect</a></td></tr>
<tr><td><a href="#packet_available_entity_identifiers">0x77</a></td><td><a href="#packet_available_entity_identifiers">packet_available_entity_identifiers</a></td></tr>
<tr><td><a href="#packet_level_sound_event_v2">0x78</a></td><td><a href="#packet_level_sound_event_v2">packet_level_sound_event_v2</a></td></tr>
<tr><td><a href="#packet_network_chunk_publisher_update">0x79</a></td><td><a href="#packet_network_chunk_publisher_update">packet_network_chunk_publisher_update</a></td></tr>
<tr><td><a href="#packet_biome_definition_list">0x7a</a></td><td><a href="#packet_biome_definition_list">packet_biome_definition_list</a></td></tr>
<tr><td><a href="#packet_level_sound_event">0x7b</a></td><td><a href="#packet_level_sound_event">packet_level_sound_event</a></td></tr>
<tr><td><a href="#packet_level_event_generic">0x7c</a></td><td><a href="#packet_level_event_generic">packet_level_event_generic</a></td></tr>
<tr><td><a href="#packet_lectern_update">0x7d</a></td><td><a href="#packet_lectern_update">packet_lectern_update</a></td></tr>
<tr><td><a href="#packet_video_stream_connect">0x7e</a></td><td><a href="#packet_video_stream_connect">packet_video_stream_connect</a></td></tr>
<tr><td><a href="#packet_add_ecs_entity">0x7f</a></td><td><a href="#packet_add_ecs_entity">packet_add_ecs_entity</a></td></tr>
<tr><td><a href="#packet_remove_ecs_entity">0x80</a></td><td><a href="#packet_remove_ecs_entity">packet_remove_ecs_entity</a></td></tr>
<tr><td><a href="#packet_client_cache_status">0x81</a></td><td><a href="#packet_client_cache_status">packet_client_cache_status</a></td></tr>
<tr><td><a href="#packet_on_screen_texture_animation">0x82</a></td><td><a href="#packet_on_screen_texture_animation">packet_on_screen_texture_animation</a></td></tr>
<tr><td><a href="#packet_map_create_locked_copy">0x83</a></td><td><a href="#packet_map_create_locked_copy">packet_map_create_locked_copy</a></td></tr>
<tr><td><a href="#packet_structure_template_data_export_request">0x84</a></td><td><a href="#packet_structure_template_data_export_request">packet_structure_template_data_export_request</a></td></tr>
<tr><td><a href="#packet_structure_template_data_export_response">0x85</a></td><td><a href="#packet_structure_template_data_export_response">packet_structure_template_data_export_response</a></td></tr>
<tr><td><a href="#packet_update_block_properties">0x86</a></td><td><a href="#packet_update_block_properties">packet_update_block_properties</a></td></tr>
<tr><td><a href="#packet_client_cache_blob_status">0x87</a></td><td><a href="#packet_client_cache_blob_status">packet_client_cache_blob_status</a></td></tr>
<tr><td><a href="#packet_client_cache_miss_response">0x88</a></td><td><a href="#packet_client_cache_miss_response">packet_client_cache_miss_response</a></td></tr>
<tr><td><a href="#packet_education_settings">0x89</a></td><td><a href="#packet_education_settings">packet_education_settings</a></td></tr>
<tr><td><a href="#packet_emote">0x8a</a></td><td><a href="#packet_emote">packet_emote</a></td></tr>
<tr><td><a href="#packet_multiplayer_settings">0x8b</a></td><td><a href="#packet_multiplayer_settings">packet_multiplayer_settings</a></td></tr>
<tr><td><a href="#packet_settings_command">0x8c</a></td><td><a href="#packet_settings_command">packet_settings_command</a></td></tr>
<tr><td><a href="#packet_anvil_damage">0x8d</a></td><td><a href="#packet_anvil_damage">packet_anvil_damage</a></td></tr>
<tr><td><a href="#packet_completed_using_item">0x8e</a></td><td><a href="#packet_completed_using_item">packet_completed_using_item</a></td></tr>
<tr><td><a href="#packet_network_settings">0x8f</a></td><td><a href="#packet_network_settings">packet_network_settings</a></td></tr>
<tr><td><a href="#packet_player_auth_input">0x90</a></td><td><a href="#packet_player_auth_input">packet_player_auth_input</a></td></tr>
<tr><td><a href="#packet_creative_content">0x91</a></td><td><a href="#packet_creative_content">packet_creative_content</a></td></tr>
<tr><td><a href="#packet_player_enchant_options">0x92</a></td><td><a href="#packet_player_enchant_options">packet_player_enchant_options</a></td></tr>
<tr><td><a href="#packet_item_stack_request">0x93</a></td><td><a href="#packet_item_stack_request">packet_item_stack_request</a></td></tr>
<tr><td><a href="#packet_item_stack_response">0x94</a></td><td><a href="#packet_item_stack_response">packet_item_stack_response</a></td></tr>
<tr><td><a href="#packet_player_armor_damage">0x95</a></td><td><a href="#packet_player_armor_damage">packet_player_armor_damage</a></td></tr>
<tr><td><a href="#packet_code_builder">0x96</a></td><td><a href="#packet_code_builder">packet_code_builder</a></td></tr>
<tr><td><a href="#packet_update_player_game_type">0x97</a></td><td><a href="#packet_update_player_game_type">packet_update_player_game_type</a></td></tr>
<tr><td><a href="#packet_emote_list">0x98</a></td><td><a href="#packet_emote_list">packet_emote_list</a></td></tr>
<tr><td><a href="#packet_position_tracking_db_request">0x9a</a></td><td><a href="#packet_position_tracking_db_request">packet_position_tracking_db_request</a></td></tr>
<tr><td><a href="#packet_position_tracking_db_broadcast">0x99</a></td><td><a href="#packet_position_tracking_db_broadcast">packet_position_tracking_db_broadcast</a></td></tr>
<tr><td><a href="#packet_debug_info">0x9b</a></td><td><a href="#packet_debug_info">packet_debug_info</a></td></tr>
<tr><td><a href="#packet_packet_violation_warning">0x9c</a></td><td><a href="#packet_packet_violation_warning">packet_packet_violation_warning</a></td></tr>
<tr><td><a href="#packet_motion_prediction_hints">0x9d</a></td><td><a href="#packet_motion_prediction_hints">packet_motion_prediction_hints</a></td></tr>
<tr><td><a href="#packet_animate_entity">0x9e</a></td><td><a href="#packet_animate_entity">packet_animate_entity</a></td></tr>
<tr><td><a href="#packet_camera_shake">0x9f</a></td><td><a href="#packet_camera_shake">packet_camera_shake</a></td></tr>
<tr><td><a href="#packet_player_fog">0xa0</a></td><td><a href="#packet_player_fog">packet_player_fog</a></td></tr>
<tr><td><a href="#packet_correct_player_move_prediction">0xa1</a></td><td><a href="#packet_correct_player_move_prediction">packet_correct_player_move_prediction</a></td></tr>
<tr><td><a href="#packet_item_component">0xa2</a></td><td><a href="#packet_item_component">packet_item_component</a></td></tr>
<tr><td><a href="#packet_filter_text_packet">0xa3</a></td><td><a href="#packet_filter_text_packet">packet_filter_text_packet</a></td></tr>
</tbody>
</table><br/><hr/>
<div class="packet-header" id="BehaviourPackInfos">
<a href="#BehaviourPackInfos"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>BehaviourPackInfos</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>BehaviourPackInfos</span> length</td><td class="field-implicit">li16</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>BehaviourPackInfos</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>uuid </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>version </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>size </td><td>lu64</td><td></td></tr>
<tr><td class='field-name name'>content key </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>sub pack name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>content identity </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>has scripts </td><td>bool</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="TexturePackInfos">
<a href="#TexturePackInfos"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>TexturePackInfos</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>TexturePackInfos</span> length</td><td class="field-implicit">li16</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>TexturePackInfos</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>uuid </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>version </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>size </td><td>lu64</td><td></td></tr>
<tr><td class='field-name name'>content key </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>sub pack name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>content identity </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>has scripts </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>rtx enabled </td><td>bool</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="ResourcePackIdVersions">
<a href="#ResourcePackIdVersions"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ResourcePackIdVersions</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>ResourcePackIdVersions</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>ResourcePackIdVersions</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>uuid </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>version </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="Experiment">
<a href="#Experiment"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Experiment</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>enabled </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="GameMode">
<a href="#GameMode"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>GameMode</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>GameMode </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>survival</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>creative</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>adventure</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>survival spectator</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>creative spectator</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>fallback</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="GameRule">
<a href="#GameRule"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>GameRule</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>1</td><td class='name'>bool</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>int</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>float</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>value</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is bool</span> </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is int</span> </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is float</span> </td><td>lf32</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="Blob">
<a href="#Blob"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Blob</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>hash </td><td>lu64</td><td></td></tr>
<tr><td class='field-name name'>payload </td><td>ByteArray</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="BlockPalette">
<a href="#BlockPalette"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>BlockPalette</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>BlockPalette</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>BlockPalette</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>state </td><td>nbt</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="Itemstates">
<a href="#Itemstates"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Itemstates</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>Itemstates</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>Itemstates</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>runtime id </td><td>li16</td><td></td></tr>
<tr><td class='field-name name'>component based </td><td>bool</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="Item">
<a href="#Item"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Item</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>network id </td><td>zigzag32</td><td></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>network id</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is 0</span> </td><td>void</td><td></td></tr>
<tr><td class='name'><span class='fake'>default</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>auxiliary value </td><td>zigzag32</td><td></td></tr>
<tr><td class='name field-name'>has nbt </td><td colspan=2 class="vpad"><div style='padding:8px'>lu16 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>65535</td><td class='name'>true</td><td></td></tr>
<tr><td class='name'>0</td><td class='name'>false</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>nbt</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>has nbt</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is true</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>version </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>nbt </td><td>nbt</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'><span class='fake'>default</span> </td><td>void</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>can place on</span> length</td><td class="field-implicit">zigzag32</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>can place on</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>can destroy</span> length</td><td class="field-implicit">zigzag32</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>can destroy</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>network id</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is 355</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>blocking tick </td><td>zigzag64</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="vec3i">
<a href="#vec3i"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>vec3i</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>x </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>y </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>z </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="vec3u">
<a href="#vec3u"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>vec3u</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>x </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>y </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>z </td><td>varint</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="vec3f">
<a href="#vec3f"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>vec3f</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>x </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>y </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>z </td><td>lf32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="vec2f">
<a href="#vec2f"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>vec2f</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>x </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>z </td><td>lf32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="MetadataDictionary">
<a href="#MetadataDictionary"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>MetadataDictionary</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>MetadataDictionary</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>MetadataDictionary</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='name field-name'>key </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>index</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>health</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>variant</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>color</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>nametag</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>owner eid</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>target eid</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>air</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>potion color</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>potion ambient</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>jump duration</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>hurt time</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>hurt direction</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>paddle time left</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>paddle time right</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>experience value</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>minecart display block</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>minecart display offset</td><td></td></tr>
<tr><td class='name'>18</td><td class='name'>minecart has display</td><td></td></tr>
<tr><td class='name'>20</td><td class='name'>old swell</td><td></td></tr>
<tr><td class='name'>21</td><td class='name'>swell dir</td><td></td></tr>
<tr><td class='name'>22</td><td class='name'>charge amount</td><td></td></tr>
<tr><td class='name'>23</td><td class='name'>enderman held runtime id</td><td></td></tr>
<tr><td class='name'>24</td><td class='name'>entity age</td><td></td></tr>
<tr><td class='name'>26</td><td class='name'>player flags</td><td></td></tr>
<tr><td class='name'>27</td><td class='name'>player index</td><td></td></tr>
<tr><td class='name'>28</td><td class='name'>player bed position</td><td></td></tr>
<tr><td class='name'>29</td><td class='name'>fireball power x</td><td></td></tr>
<tr><td class='name'>30</td><td class='name'>fireball power y</td><td></td></tr>
<tr><td class='name'>31</td><td class='name'>fireball power z</td><td></td></tr>
<tr><td class='name'>32</td><td class='name'>aux power</td><td></td></tr>
<tr><td class='name'>33</td><td class='name'>fish x</td><td></td></tr>
<tr><td class='name'>34</td><td class='name'>fish z</td><td></td></tr>
<tr><td class='name'>35</td><td class='name'>fish angle</td><td></td></tr>
<tr><td class='name'>36</td><td class='name'>potion aux value</td><td></td></tr>
<tr><td class='name'>37</td><td class='name'>lead holder eid</td><td></td></tr>
<tr><td class='name'>38</td><td class='name'>scale</td><td></td></tr>
<tr><td class='name'>39</td><td class='name'>interactive tag</td><td></td></tr>
<tr><td class='name'>40</td><td class='name'>npc skin id</td><td></td></tr>
<tr><td class='name'>41</td><td class='name'>url tag</td><td></td></tr>
<tr><td class='name'>42</td><td class='name'>max airdata max air</td><td></td></tr>
<tr><td class='name'>43</td><td class='name'>mark variant</td><td></td></tr>
<tr><td class='name'>44</td><td class='name'>container type</td><td></td></tr>
<tr><td class='name'>45</td><td class='name'>container base size</td><td></td></tr>
<tr><td class='name'>46</td><td class='name'>container extra slots per strength</td><td></td></tr>
<tr><td class='name'>47</td><td class='name'>block target</td><td></td></tr>
<tr><td class='name'>48</td><td class='name'>wither invulnerable ticks</td><td></td></tr>
<tr><td class='name'>49</td><td class='name'>wither target 1</td><td></td></tr>
<tr><td class='name'>50</td><td class='name'>wither target 2</td><td></td></tr>
<tr><td class='name'>51</td><td class='name'>wither target 3</td><td></td></tr>
<tr><td class='name'>52</td><td class='name'>aerial attack</td><td></td></tr>
<tr><td class='name'>53</td><td class='name'>boundingbox width</td><td></td></tr>
<tr><td class='name'>54</td><td class='name'>boundingbox height</td><td></td></tr>
<tr><td class='name'>55</td><td class='name'>fuse length</td><td></td></tr>
<tr><td class='name'>56</td><td class='name'>rider seat position</td><td></td></tr>
<tr><td class='name'>57</td><td class='name'>rider rotation locked</td><td></td></tr>
<tr><td class='name'>58</td><td class='name'>rider max rotation</td><td></td></tr>
<tr><td class='name'>59</td><td class='name'>rider min rotation</td><td></td></tr>
<tr><td class='name'>60</td><td class='name'>area effect cloud radius</td><td></td></tr>
<tr><td class='name'>61</td><td class='name'>area effect cloud waiting</td><td></td></tr>
<tr><td class='name'>62</td><td class='name'>area effect cloud particle id</td><td></td></tr>
<tr><td class='name'>63</td><td class='name'>shulker peek id</td><td></td></tr>
<tr><td class='name'>64</td><td class='name'>shulker attach face</td><td></td></tr>
<tr><td class='name'>65</td><td class='name'>shulker attached</td><td></td></tr>
<tr><td class='name'>66</td><td class='name'>shulker attach pos</td><td></td></tr>
<tr><td class='name'>67</td><td class='name'>trading player eid</td><td></td></tr>
<tr><td class='name'>68</td><td class='name'>trading career</td><td></td></tr>
<tr><td class='name'>69</td><td class='name'>has command block</td><td></td></tr>
<tr><td class='name'>70</td><td class='name'>command block command</td><td></td></tr>
<tr><td class='name'>71</td><td class='name'>command block last output</td><td></td></tr>
<tr><td class='name'>72</td><td class='name'>command block track output</td><td></td></tr>
<tr><td class='name'>73</td><td class='name'>controlling rider seat number</td><td></td></tr>
<tr><td class='name'>74</td><td class='name'>strength</td><td></td></tr>
<tr><td class='name'>75</td><td class='name'>max strength</td><td></td></tr>
<tr><td class='name'>76</td><td class='name'>spell casting color</td><td></td></tr>
<tr><td class='name'>77</td><td class='name'>limited life</td><td></td></tr>
<tr><td class='name'>78</td><td class='name'>armor stand pose index</td><td></td></tr>
<tr><td class='name'>79</td><td class='name'>ender crystal time offset</td><td></td></tr>
<tr><td class='name'>80</td><td class='name'>always show nametag</td><td></td></tr>
<tr><td class='name'>81</td><td class='name'>color 2</td><td></td></tr>
<tr><td class='name'>82</td><td class='name'>name author</td><td></td></tr>
<tr><td class='name'>83</td><td class='name'>score tag</td><td></td></tr>
<tr><td class='name'>84</td><td class='name'>balloon attached entity</td><td></td></tr>
<tr><td class='name'>85</td><td class='name'>pufferfish size</td><td></td></tr>
<tr><td class='name'>86</td><td class='name'>bubble time</td><td></td></tr>
<tr><td class='name'>87</td><td class='name'>agent</td><td></td></tr>
<tr><td class='name'>88</td><td class='name'>sitting amount</td><td></td></tr>
<tr><td class='name'>89</td><td class='name'>sitting amount previous</td><td></td></tr>
<tr><td class='name'>90</td><td class='name'>eating counter</td><td></td></tr>
<tr><td class='name'>91</td><td class='name'>flags extended</td><td></td></tr>
<tr><td class='name'>92</td><td class='name'>laying amount</td><td></td></tr>
<tr><td class='name'>93</td><td class='name'>laying amount previous</td><td></td></tr>
<tr><td class='name'>94</td><td class='name'>duration</td><td></td></tr>
<tr><td class='name'>95</td><td class='name'>spawn time</td><td></td></tr>
<tr><td class='name'>96</td><td class='name'>change rate</td><td></td></tr>
<tr><td class='name'>97</td><td class='name'>change on pickup</td><td></td></tr>
<tr><td class='name'>98</td><td class='name'>pickup count</td><td></td></tr>
<tr><td class='name'>99</td><td class='name'>interact text</td><td></td></tr>
<tr><td class='name'>100</td><td class='name'>trade tier</td><td></td></tr>
<tr><td class='name'>101</td><td class='name'>max trade tier</td><td></td></tr>
<tr><td class='name'>102</td><td class='name'>trade experience</td><td></td></tr>
<tr><td class='name'>103</td><td class='name'>skin id</td><td></td></tr>
<tr><td class='name'>104</td><td class='name'>spawning frames</td><td></td></tr>
<tr><td class='name'>105</td><td class='name'>command block tick delay</td><td></td></tr>
<tr><td class='name'>106</td><td class='name'>command block execute on first tick</td><td></td></tr>
<tr><td class='name'>107</td><td class='name'>ambient sound interval</td><td></td></tr>
<tr><td class='name'>108</td><td class='name'>ambient sound interval range</td><td></td></tr>
<tr><td class='name'>109</td><td class='name'>ambient sound event name</td><td></td></tr>
<tr><td class='name'>110</td><td class='name'>fall damage multiplier</td><td></td></tr>
<tr><td class='name'>111</td><td class='name'>name raw text</td><td></td></tr>
<tr><td class='name'>112</td><td class='name'>can ride target</td><td></td></tr>
<tr><td class='name'>113</td><td class='name'>low tier cured discount</td><td></td></tr>
<tr><td class='name'>114</td><td class='name'>high tier cured discount</td><td></td></tr>
<tr><td class='name'>115</td><td class='name'>nearby cured discount</td><td></td></tr>
<tr><td class='name'>116</td><td class='name'>nearby cured discount timestamp</td><td></td></tr>
<tr><td class='name'>117</td><td class='name'>hitbox</td><td></td></tr>
<tr><td class='name'>118</td><td class='name'>is buoyant</td><td></td></tr>
<tr><td class='name'>119</td><td class='name'>buoyancy data</td><td></td></tr>
</table></td></tr>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>byte</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>short</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>int</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>float</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>string</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>compound</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>vec3i</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>long</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>vec3f</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>value</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is byte</span> </td><td>i8</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is short</span> </td><td>li16</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is int</span> </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is float</span> </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is string</span> </td><td>string</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is compound</span> </td><td>nbt</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is vec3i</span> </td><td><a href="#vec3i">vec3i</a></td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is long</span> </td><td>zigzag64</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is vec3f</span> </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="Link">
<a href="#Link"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Link</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>ridden entity id </td><td>zigzag64</td><td></td></tr>
<tr><td class='field-name name'>rider entity id </td><td>zigzag64</td><td></td></tr>
<tr><td class='field-name name'>type </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>immediate </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>rider initiated </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="EntityAttributes">
<a href="#EntityAttributes"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>EntityAttributes</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>EntityAttributes</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>EntityAttributes</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>min </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>value </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>max </td><td>lf32</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="Rotation">
<a href="#Rotation"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Rotation</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>yaw </td><td>byterot</td><td></td></tr>
<tr><td class='field-name name'>pitch </td><td>byterot</td><td></td></tr>
<tr><td class='field-name name'>head yaw </td><td>byterot</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="BlockCoordinates">
<a href="#BlockCoordinates"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>BlockCoordinates</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>x </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>y </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>z </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="PlayerAttributes">
<a href="#PlayerAttributes"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>PlayerAttributes</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>PlayerAttributes</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>PlayerAttributes</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>min </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>max </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>current </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>default </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="Transaction">
<a href="#Transaction"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Transaction</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>legacy request id </td><td>zigzag32</td><td></td></tr>
<tr><td><b class='name'>legacy transactions</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>legacy request id</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is 0</span> </td><td>void</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'><span class='fake'>default</span></span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'><span class='fake'>default</span></span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>container id </td><td>u8</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>changed slots</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>changed slots</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>slot id </td><td>u8</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td class='name field-name'>transaction type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>normal</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>inventory mismatch</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>item use</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>item use on entity</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>item release</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>network ids </td><td>bool</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>inventory actions</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>inventory actions</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='name field-name'>source type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>container</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>global</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>world interaction</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>creative</td><td></td></tr>
<tr><td class='name'>100</td><td class='name'>craft slot</td><td></td></tr>
<tr><td class='name'>99999</td><td class='name'>craft</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>source type</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is container or creative</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>inventory id </td><td>varint</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is world interaction</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>flags </td><td>varint</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is craft or craft slot</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>action </td><td>varint</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'><span class='fake'>default</span> </td><td>void</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>slot </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>old item </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>new item </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td><b class='name'>new item stack id</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>../network ids</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>default</span> </td><td>void</td><td></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td><b class='name'>transaction data</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>transaction type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is normal or inventory mismatch</span> </td><td>void</td><td></td></tr>
<tr><td class='name'><span class='fake'>is item use</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='name field-name'>action type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>click block</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>click air</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>break block</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>block position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
<tr><td class='field-name name'>face </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>hotbar slot </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>held item </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>player pos </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>click pos </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>block runtime id </td><td>varint</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is item use on entity</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>entity runtime id </td><td>varint64</td><td></td></tr>
<tr><td class='name field-name'>action type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>interact</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>attack</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>hotbar slot </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>held item </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>player pos </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>click pos </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is item release</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='name field-name'>action type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>release</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>consume</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>hotbar slot </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>held item </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>head pos </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="ItemStack">
<a href="#ItemStack"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ItemStack</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>item </td><td><a href="#Item">Item</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="RecipeIngredient">
<a href="#RecipeIngredient"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>RecipeIngredient</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>network id </td><td>zigzag32</td><td></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>network id</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is 0</span> </td><td>void</td><td></td></tr>
<tr><td class='name'><span class='fake'>default</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>network data </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>count </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="PotionTypeRecipes">
<a href="#PotionTypeRecipes"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>PotionTypeRecipes</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>PotionTypeRecipes</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>PotionTypeRecipes</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>input item id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>input item meta </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>ingredient id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>ingredient meta </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>output item id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>output item meta </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="PotionContainerChangeRecipes">
<a href="#PotionContainerChangeRecipes"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>PotionContainerChangeRecipes</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>PotionContainerChangeRecipes</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>PotionContainerChangeRecipes</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>input item id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>ingredient id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>output item id </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="Recipes">
<a href="#Recipes"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Recipes</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>Recipes</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>Recipes</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>shapeless</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>shaped</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>furnace</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>furnace with metadata</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>multi</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>shulker box</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>shapeless chemistry</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>shaped chemistry</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>recipe</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is shapeless or shulker box or shapeless chemistry</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>recipe id </td><td>LatinString</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>input</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>input</span> <div class="tag tag-array">array</div></td><td>RecipeIngredient</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>output</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>output</span> <div class="tag tag-array">array</div></td><td>Item</td><td></td></tr>
<tr><td class='field-name name'>uuid </td><td>uuid</td><td></td></tr>
<tr><td class='field-name name'>block </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>priority </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>network id </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is shaped or shaped chemistry</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>recipe id </td><td>LatinString</td><td></td></tr>
<tr><td class='field-name name'>width </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>height </td><td>zigzag32</td><td></td></tr>
<tr><td colspan=2 class="vpad"><i>Length for <span class='name'>input</span> below is <b class='name'>width</b> from above</td><td ></i></td></tr>
<tr><td class='field-name'><span class='name'>input</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td colspan=2 class="vpad"><i>Length for <span class='name'>__510</span> below is <b class='name'>height</b> from above</td><td rowspan=2></i></td></tr>
<tr><td class='field-name'><span class='name'>__510</span> <div class="tag tag-array">array</div></td><td>RecipeIngredient</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>output</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>output</span> <div class="tag tag-array">array</div></td><td>Item</td><td></td></tr>
<tr><td class='field-name name'>uuid </td><td>uuid</td><td></td></tr>
<tr><td class='field-name name'>block </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>priority </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>network id </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is furnace</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>input id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>output </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>block </td><td>string</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is furnace with metadata</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>input id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>input meta </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>output </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>block </td><td>string</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is multi</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>uuid </td><td>uuid</td><td></td></tr>
<tr><td class='field-name name'>network id </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="SkinImage">
<a href="#SkinImage"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>SkinImage</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>width </td><td>li32</td><td></td></tr>
<tr><td class='field-name name'>height </td><td>li32</td><td></td></tr>
<tr><td class='field-name name'>data </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="Skin">
<a href="#Skin"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Skin</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>skin id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>skin resource pack </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>skin data </td><td><a href="#SkinImage">SkinImage</a></td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>animations</span> length</td><td class="field-implicit">li32</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>animations</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>skin image </td><td><a href="#SkinImage">SkinImage</a></td><td></td></tr>
<tr><td class='field-name name'>animation type </td><td>li32</td><td></td></tr>
<tr><td class='field-name name'>animation frames </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>expression type </td><td>lf32</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>cape data </td><td><a href="#SkinImage">SkinImage</a></td><td></td></tr>
<tr><td class='field-name name'>geometry data </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>animation data </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>premium </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>persona </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>cape on classic </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>cape id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>full skin id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>arm size </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>skin color </td><td>string</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>personal pieces</span> length</td><td class="field-implicit">li32</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>personal pieces</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>piece id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>piece type </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>pack id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>is default piece </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>product id </td><td>string</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>piece tint colors</span> length</td><td class="field-implicit">li32</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>piece tint colors</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>piece type </td><td>string</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>colors</span> length</td><td class="field-implicit">li32</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>colors</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="PlayerRecords">
<a href="#PlayerRecords"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>PlayerRecords</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>add</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>remove</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>records count </td><td>varint</td><td></td></tr>
<tr><td colspan=2 class="vpad"><i>Length for <span class='name'>records</span> below is <b class='name'>records count</b> from above</td><td ></i></td></tr>
<tr><td class='field-name'><span class='name'>records</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is add</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>uuid </td><td>uuid</td><td></td></tr>
<tr><td class='field-name name'>entity unique id </td><td>zigzag64</td><td></td></tr>
<tr><td class='field-name name'>username </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>xbox user id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>platform chat id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>build platform </td><td>li32</td><td></td></tr>
<tr><td class='field-name name'>skin data </td><td><a href="#Skin">Skin</a></td><td></td></tr>
<tr><td class='field-name name'>is teacher </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>is host </td><td>bool</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is remove</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>uuid </td><td>uuid</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td colspan=2 class="vpad"><i>Length for <span class='name'>verified</span> below is <b class='name'>records count</b> from above</td><td rowspan=2></i></td></tr>
<tr><td class='field-name'><span class='name'>verified</span> <div class="tag tag-array">array</div></td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="ScoreEntries">
<a href="#ScoreEntries"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ScoreEntries</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>change</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>remove</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>entries</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>entries</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>scoreboard id </td><td>zigzag64</td><td></td></tr>
<tr><td class='field-name name'>objective name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>score </td><td>li32</td><td></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is remove</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='name field-name'>entry type </td><td colspan=2 class="vpad"><div style='padding:8px'>i8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>1</td><td class='name'>player</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>entity</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>fake player</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>entity unique id</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>entry type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is player or entity</span> </td><td>zigzag64</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>custom name</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>entry type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is fake player</span> </td><td>string</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="ScoreboardIdentityEntries">
<a href="#ScoreboardIdentityEntries"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ScoreboardIdentityEntries</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>i8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>TYPE REGISTER IDENTITY</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>TYPE CLEAR IDENTITY</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>entries</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>entries</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>scoreboard id </td><td>zigzag64</td><td></td></tr>
<tr><td><b class='name'>entity unique id</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is TYPE REGISTER IDENTITY</span> </td><td>zigzag64</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>default</span> </td><td>void</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="Enchant">
<a href="#Enchant"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Enchant</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>id </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>level </td><td>u8</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="EnchantOptions">
<a href="#EnchantOptions"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>EnchantOptions</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>EnchantOptions</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>EnchantOptions</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>cost </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>slot flags </td><td>li32</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>equip enchants</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>equip enchants</span> <div class="tag tag-array">array</div></td><td>Enchant</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>held enchants</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>held enchants</span> <div class="tag tag-array">array</div></td><td>Enchant</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>self enchants</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>self enchants</span> <div class="tag tag-array">array</div></td><td>Enchant</td><td></td></tr>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>option id </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="StackRequestSlotInfo">
<a href="#StackRequestSlotInfo"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>StackRequestSlotInfo</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>container id </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>slot id </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>stack id </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="ItemStackRequests">
<a href="#ItemStackRequests"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ItemStackRequests</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>ItemStackRequests</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>ItemStackRequests</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>request id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>actions</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>actions</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='name field-name'>type id </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>take</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>place</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>swap</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>drop</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>destroy</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>consume</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>create</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>lab table combine</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>beacon payment</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>craft recipe</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>craft recipe auto</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>craft creative</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>optional</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>non implemented</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>results deprecated</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type id</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is take or place</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>count </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>source </td><td><a href="#StackRequestSlotInfo">StackRequestSlotInfo</a></td><td></td></tr>
<tr><td class='field-name name'>destination </td><td><a href="#StackRequestSlotInfo">StackRequestSlotInfo</a></td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is swap</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>source </td><td><a href="#StackRequestSlotInfo">StackRequestSlotInfo</a></td><td></td></tr>
<tr><td class='field-name name'>destination </td><td><a href="#StackRequestSlotInfo">StackRequestSlotInfo</a></td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is drop</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>count </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>source </td><td><a href="#StackRequestSlotInfo">StackRequestSlotInfo</a></td><td></td></tr>
<tr><td class='field-name name'>randomly </td><td>bool</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is destroy or consume</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>count </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>source </td><td><a href="#StackRequestSlotInfo">StackRequestSlotInfo</a></td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is create</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>result slot id </td><td>u8</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is beacon payment</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>primary effect </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>secondary effect </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is craft recipe</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>recipe network id </td><td>varint</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is craft recipe auto</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>recipe network id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>times crafted </td><td>u8</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is craft creative</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>creative item network id </td><td>varint</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is optional</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>recipe network id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>filtered string index </td><td>li32</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'><span class='fake'>is non implemented</span> </td><td>void</td><td></td></tr>
<tr><td class='name'><span class='fake'>is results deprecated</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name field-implicit'><span class='name'>result items</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>result items</span> <div class="tag tag-array">array</div></td><td>Item</td><td></td></tr>
<tr><td class='field-name name'>times crafted </td><td>u8</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>custom names</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>custom names</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="ItemStackResponses">
<a href="#ItemStackResponses"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ItemStackResponses</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>ItemStackResponses</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>ItemStackResponses</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>result </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>request id </td><td>varint</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>containers</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>containers</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>container id </td><td>u8</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>slots</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>slots</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>slot </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>hotbar slot </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>count </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>item stack id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>custom name </td><td>string</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="ItemComponentList">
<a href="#ItemComponentList"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ItemComponentList</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>ItemComponentList</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>ItemComponentList</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>nbt </td><td>nbt</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="CommandOrigin">
<a href="#CommandOrigin"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>CommandOrigin</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>player</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>block</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>minecart block</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>dev console</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>test</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>automation player</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>client automation</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>dedicated server</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>entity</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>virtual</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>game argument</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>entity server</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>uuid </td><td>uuid</td><td></td></tr>
<tr><td class='field-name name'>request id </td><td>string</td><td></td></tr>
<tr><td><b class='name'>player entity id</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is dev console or test</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>player entity id </td><td>zigzag64</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="WindowID">
<a href="#WindowID"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>WindowID</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>WindowID </td><td colspan=2 class="vpad"><div style='padding:8px'>i8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>-100</td><td class='name'>drop contents</td><td></td></tr>
<tr><td class='name'>-24</td><td class='name'>beacon</td><td></td></tr>
<tr><td class='name'>-23</td><td class='name'>trading output</td><td></td></tr>
<tr><td class='name'>-22</td><td class='name'>trading use inputs</td><td></td></tr>
<tr><td class='name'>-21</td><td class='name'>trading input 2</td><td></td></tr>
<tr><td class='name'>-20</td><td class='name'>trading input 1</td><td></td></tr>
<tr><td class='name'>-17</td><td class='name'>enchant output</td><td></td></tr>
<tr><td class='name'>-16</td><td class='name'>enchant material</td><td></td></tr>
<tr><td class='name'>-15</td><td class='name'>enchant input</td><td></td></tr>
<tr><td class='name'>-13</td><td class='name'>anvil output</td><td></td></tr>
<tr><td class='name'>-12</td><td class='name'>anvil result</td><td></td></tr>
<tr><td class='name'>-11</td><td class='name'>anvil material</td><td></td></tr>
<tr><td class='name'>-10</td><td class='name'>container input</td><td></td></tr>
<tr><td class='name'>-5</td><td class='name'>crafting use ingredient</td><td></td></tr>
<tr><td class='name'>-4</td><td class='name'>crafting result</td><td></td></tr>
<tr><td class='name'>-3</td><td class='name'>crafting remove ingredient</td><td></td></tr>
<tr><td class='name'>-2</td><td class='name'>crafting add ingredient</td><td></td></tr>
<tr><td class='name'>-1</td><td class='name'>none</td><td></td></tr>
<tr><td class='name'>0</td><td class='name'>inventory</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>first</td><td></td></tr>
<tr><td class='name'>100</td><td class='name'>last</td><td></td></tr>
<tr><td class='name'>119</td><td class='name'>offhand</td><td></td></tr>
<tr><td class='name'>120</td><td class='name'>armor</td><td></td></tr>
<tr><td class='name'>121</td><td class='name'>creative</td><td></td></tr>
<tr><td class='name'>122</td><td class='name'>hotbar</td><td></td></tr>
<tr><td class='name'>123</td><td class='name'>fixed inventory</td><td></td></tr>
<tr><td class='name'>124</td><td class='name'>ui</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="WindowIDVarint">
<a href="#WindowIDVarint"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>WindowIDVarint</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>WindowIDVarint </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>-100</td><td class='name'>drop contents</td><td></td></tr>
<tr><td class='name'>-24</td><td class='name'>beacon</td><td></td></tr>
<tr><td class='name'>-23</td><td class='name'>trading output</td><td></td></tr>
<tr><td class='name'>-22</td><td class='name'>trading use inputs</td><td></td></tr>
<tr><td class='name'>-21</td><td class='name'>trading input 2</td><td></td></tr>
<tr><td class='name'>-20</td><td class='name'>trading input 1</td><td></td></tr>
<tr><td class='name'>-17</td><td class='name'>enchant output</td><td></td></tr>
<tr><td class='name'>-16</td><td class='name'>enchant material</td><td></td></tr>
<tr><td class='name'>-15</td><td class='name'>enchant input</td><td></td></tr>
<tr><td class='name'>-13</td><td class='name'>anvil output</td><td></td></tr>
<tr><td class='name'>-12</td><td class='name'>anvil result</td><td></td></tr>
<tr><td class='name'>-11</td><td class='name'>anvil material</td><td></td></tr>
<tr><td class='name'>-10</td><td class='name'>container input</td><td></td></tr>
<tr><td class='name'>-5</td><td class='name'>crafting use ingredient</td><td></td></tr>
<tr><td class='name'>-4</td><td class='name'>crafting result</td><td></td></tr>
<tr><td class='name'>-3</td><td class='name'>crafting remove ingredient</td><td></td></tr>
<tr><td class='name'>-2</td><td class='name'>crafting add ingredient</td><td></td></tr>
<tr><td class='name'>-1</td><td class='name'>none</td><td></td></tr>
<tr><td class='name'>0</td><td class='name'>inventory</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>first</td><td></td></tr>
<tr><td class='name'>100</td><td class='name'>last</td><td></td></tr>
<tr><td class='name'>119</td><td class='name'>offhand</td><td></td></tr>
<tr><td class='name'>120</td><td class='name'>armor</td><td></td></tr>
<tr><td class='name'>121</td><td class='name'>creative</td><td></td></tr>
<tr><td class='name'>122</td><td class='name'>hotbar</td><td></td></tr>
<tr><td class='name'>123</td><td class='name'>fixed inventory</td><td></td></tr>
<tr><td class='name'>124</td><td class='name'>ui</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="WindowType">
<a href="#WindowType"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>WindowType</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>WindowType </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>container</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>workbench</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>furnace</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>enchantment</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>brewing stand</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>anvil</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>dispenser</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>dropper</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>hopper</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>cauldron</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>minecart chest</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>minecart hopper</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>horse</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>beacon</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>structure editor</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>trading</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>command block</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>jukebox</td><td></td></tr>
<tr><td class='name'>18</td><td class='name'>armor</td><td></td></tr>
<tr><td class='name'>19</td><td class='name'>hand</td><td></td></tr>
<tr><td class='name'>20</td><td class='name'>compound creator</td><td></td></tr>
<tr><td class='name'>21</td><td class='name'>element constructor</td><td></td></tr>
<tr><td class='name'>22</td><td class='name'>material reducer</td><td></td></tr>
<tr><td class='name'>23</td><td class='name'>lab table</td><td></td></tr>
<tr><td class='name'>24</td><td class='name'>loom</td><td></td></tr>
<tr><td class='name'>25</td><td class='name'>lectern</td><td></td></tr>
<tr><td class='name'>26</td><td class='name'>grindstone</td><td></td></tr>
<tr><td class='name'>27</td><td class='name'>blast furnace</td><td></td></tr>
<tr><td class='name'>28</td><td class='name'>smoker</td><td></td></tr>
<tr><td class='name'>29</td><td class='name'>stonecutter</td><td></td></tr>
<tr><td class='name'>30</td><td class='name'>cartography</td><td></td></tr>
<tr><td class='name'>31</td><td class='name'>hud</td><td></td></tr>
<tr><td class='name'>32</td><td class='name'>jigsaw editor</td><td></td></tr>
<tr><td class='name'>33</td><td class='name'>smithing table</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="LegacyEntityType">
<a href="#LegacyEntityType"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>LegacyEntityType</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>LegacyEntityType </td><td colspan=2 class="vpad"><div style='padding:8px'>li32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>10</td><td class='name'>chicken</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>cow</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>pig</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>sheep</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>wolf</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>villager</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>mooshroom</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>squid</td><td></td></tr>
<tr><td class='name'>18</td><td class='name'>rabbit</td><td></td></tr>
<tr><td class='name'>19</td><td class='name'>bat</td><td></td></tr>
<tr><td class='name'>20</td><td class='name'>iron golem</td><td></td></tr>
<tr><td class='name'>21</td><td class='name'>snow golem</td><td></td></tr>
<tr><td class='name'>22</td><td class='name'>ocelot</td><td></td></tr>
<tr><td class='name'>23</td><td class='name'>horse</td><td></td></tr>
<tr><td class='name'>24</td><td class='name'>donkey</td><td></td></tr>
<tr><td class='name'>25</td><td class='name'>mule</td><td></td></tr>
<tr><td class='name'>26</td><td class='name'>skeleton horse</td><td></td></tr>
<tr><td class='name'>27</td><td class='name'>zombie horse</td><td></td></tr>
<tr><td class='name'>28</td><td class='name'>polar bear</td><td></td></tr>
<tr><td class='name'>29</td><td class='name'>llama</td><td></td></tr>
<tr><td class='name'>30</td><td class='name'>parrot</td><td></td></tr>
<tr><td class='name'>31</td><td class='name'>dolphin</td><td></td></tr>
<tr><td class='name'>32</td><td class='name'>zombie</td><td></td></tr>
<tr><td class='name'>33</td><td class='name'>creeper</td><td></td></tr>
<tr><td class='name'>34</td><td class='name'>skeleton</td><td></td></tr>
<tr><td class='name'>35</td><td class='name'>spider</td><td></td></tr>
<tr><td class='name'>36</td><td class='name'>zombie pigman</td><td></td></tr>
<tr><td class='name'>37</td><td class='name'>slime</td><td></td></tr>
<tr><td class='name'>38</td><td class='name'>enderman</td><td></td></tr>
<tr><td class='name'>39</td><td class='name'>silverfish</td><td></td></tr>
<tr><td class='name'>40</td><td class='name'>cave spider</td><td></td></tr>
<tr><td class='name'>41</td><td class='name'>ghast</td><td></td></tr>
<tr><td class='name'>42</td><td class='name'>magma cube</td><td></td></tr>
<tr><td class='name'>43</td><td class='name'>blaze</td><td></td></tr>
<tr><td class='name'>44</td><td class='name'>zombie villager</td><td></td></tr>
<tr><td class='name'>45</td><td class='name'>witch</td><td></td></tr>
<tr><td class='name'>46</td><td class='name'>stray</td><td></td></tr>
<tr><td class='name'>47</td><td class='name'>husk</td><td></td></tr>
<tr><td class='name'>48</td><td class='name'>wither skeleton</td><td></td></tr>
<tr><td class='name'>49</td><td class='name'>guardian</td><td></td></tr>
<tr><td class='name'>50</td><td class='name'>elder guardian</td><td></td></tr>
<tr><td class='name'>51</td><td class='name'>npc</td><td></td></tr>
<tr><td class='name'>52</td><td class='name'>wither</td><td></td></tr>
<tr><td class='name'>53</td><td class='name'>ender dragon</td><td></td></tr>
<tr><td class='name'>54</td><td class='name'>shulker</td><td></td></tr>
<tr><td class='name'>55</td><td class='name'>endermite</td><td></td></tr>
<tr><td class='name'>56</td><td class='name'>agent</td><td></td></tr>
<tr><td class='name'>57</td><td class='name'>vindicator</td><td></td></tr>
<tr><td class='name'>58</td><td class='name'>phantom</td><td></td></tr>
<tr><td class='name'>61</td><td class='name'>armor stand</td><td></td></tr>
<tr><td class='name'>62</td><td class='name'>tripod camera</td><td></td></tr>
<tr><td class='name'>63</td><td class='name'>player</td><td></td></tr>
<tr><td class='name'>64</td><td class='name'>item</td><td></td></tr>
<tr><td class='name'>65</td><td class='name'>tnt</td><td></td></tr>
<tr><td class='name'>66</td><td class='name'>falling block</td><td></td></tr>
<tr><td class='name'>67</td><td class='name'>moving block</td><td></td></tr>
<tr><td class='name'>68</td><td class='name'>xp bottle</td><td></td></tr>
<tr><td class='name'>69</td><td class='name'>xp orb</td><td></td></tr>
<tr><td class='name'>70</td><td class='name'>eye of ender signal</td><td></td></tr>
<tr><td class='name'>71</td><td class='name'>ender crystal</td><td></td></tr>
<tr><td class='name'>72</td><td class='name'>fireworks rocket</td><td></td></tr>
<tr><td class='name'>73</td><td class='name'>thrown trident</td><td></td></tr>
<tr><td class='name'>74</td><td class='name'>turtle</td><td></td></tr>
<tr><td class='name'>75</td><td class='name'>cat</td><td></td></tr>
<tr><td class='name'>76</td><td class='name'>shulker bullet</td><td></td></tr>
<tr><td class='name'>77</td><td class='name'>fishing hook</td><td></td></tr>
<tr><td class='name'>78</td><td class='name'>chalkboard</td><td></td></tr>
<tr><td class='name'>79</td><td class='name'>dragon fireball</td><td></td></tr>
<tr><td class='name'>80</td><td class='name'>arrow</td><td></td></tr>
<tr><td class='name'>81</td><td class='name'>snowball</td><td></td></tr>
<tr><td class='name'>82</td><td class='name'>egg</td><td></td></tr>
<tr><td class='name'>83</td><td class='name'>painting</td><td></td></tr>
<tr><td class='name'>84</td><td class='name'>minecart</td><td></td></tr>
<tr><td class='name'>85</td><td class='name'>fireball</td><td></td></tr>
<tr><td class='name'>86</td><td class='name'>splash potion</td><td></td></tr>
<tr><td class='name'>87</td><td class='name'>ender pearl</td><td></td></tr>
<tr><td class='name'>88</td><td class='name'>leash knot</td><td></td></tr>
<tr><td class='name'>89</td><td class='name'>wither skull</td><td></td></tr>
<tr><td class='name'>90</td><td class='name'>boat</td><td></td></tr>
<tr><td class='name'>91</td><td class='name'>wither skull dangerous</td><td></td></tr>
<tr><td class='name'>93</td><td class='name'>lightning bolt</td><td></td></tr>
<tr><td class='name'>94</td><td class='name'>small fireball</td><td></td></tr>
<tr><td class='name'>95</td><td class='name'>area effect cloud</td><td></td></tr>
<tr><td class='name'>96</td><td class='name'>hopper minecart</td><td></td></tr>
<tr><td class='name'>97</td><td class='name'>tnt minecart</td><td></td></tr>
<tr><td class='name'>98</td><td class='name'>chest minecart</td><td></td></tr>
<tr><td class='name'>100</td><td class='name'>command block minecart</td><td></td></tr>
<tr><td class='name'>101</td><td class='name'>lingering potion</td><td></td></tr>
<tr><td class='name'>102</td><td class='name'>llama spit</td><td></td></tr>
<tr><td class='name'>103</td><td class='name'>evocation fang</td><td></td></tr>
<tr><td class='name'>104</td><td class='name'>evocation illager</td><td></td></tr>
<tr><td class='name'>105</td><td class='name'>vex</td><td></td></tr>
<tr><td class='name'>106</td><td class='name'>ice bomb</td><td></td></tr>
<tr><td class='name'>107</td><td class='name'>balloon</td><td></td></tr>
<tr><td class='name'>108</td><td class='name'>pufferfish</td><td></td></tr>
<tr><td class='name'>109</td><td class='name'>salmon</td><td></td></tr>
<tr><td class='name'>110</td><td class='name'>drowned</td><td></td></tr>
<tr><td class='name'>111</td><td class='name'>tropicalfish</td><td></td></tr>
<tr><td class='name'>112</td><td class='name'>cod</td><td></td></tr>
<tr><td class='name'>113</td><td class='name'>panda</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_login">
<a href="#packet_login"><div class='packet-id bound-server'>1</div><div class='packet-name name'>packet login</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><h1 id="loginsequence">Login Sequence</h1>
<p>The login process is as follows:<br/>
C→S: <a href="#packet_login">Login</a>
S→C: <a href="#packet_server_to_client_handshake">Server To Client Handshake</a>
C→S: <a href="#packet_client_to_server_handshake">Client To Server Handshake</a>
S→C: <a href="#packet_play_status">Play Status (Login success)</a>
To spawn, the following packets should be sent, in order, after the ones above:<br/>
S→C: <a href="#packet_resource_packs_info">Resource Packs Info</a>
C→S: <a href="#packet_resource_pack_client_response">Resource Pack Client Response</a>
S→C: <a href="#packet_resource_pack_stack">Resource Pack Stack</a>
C→S: <a href="#packet_resource_pack_client_response">Resource Pack Client Response</a>
S→C: <a href="#packet_start_game">Start Game</a>
S→C: <a href="#packet_creative_content">Creative Content</a>
S→C: <a href="#packet_biome_definition_list">Biome Definition List</a>
S→C: <a href="#packet_level_chunk">Chunks</a>
S→C: <a href="#packet_play_status">Play Status (Player spawn)</a>
If there are no resource packs being sent, a Resource Pack Stack can be sent directly
after Resource Packs Info to avoid the client responses.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>protocol version </td><td>i32</td><td><p>Protocol version (Big Endian!)</p></td></tr>
<tr><td class='field-name name'>tokens </td><td>["encapsulated", { "lengthType": "varint", "type": "LoginTokens" }]</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="LoginTokens">
<a href="#LoginTokens"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>LoginTokens</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>identity </td><td>LittleString</td><td><p>JSON array of JWT data: contains the display name, UUID and XUID
It should be signed by the Mojang public key</p></td></tr>
<tr><td class='field-name name'>client </td><td>LittleString</td><td><p>Skin related data</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_play_status">
<a href="#packet_play_status"><div class='packet-id bound-client'>2</div><div class='packet-name name'>packet play status</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>status </td><td colspan=2 class="vpad"><div style='padding:8px'>i32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>login success</td><td><p>Sent after Login has been successfully decoded and the player has logged in</p></td></tr>
<tr><td class='name'>1</td><td class='name'>failed client</td><td><p>Displays "Could not connect: Outdated client!"</p></td></tr>
<tr><td class='name'>2</td><td class='name'>failed spawn</td><td><p>Displays "Could not connect: Outdated server!"</p></td></tr>
<tr><td class='name'>3</td><td class='name'>player spawn</td><td><p>Sent after world data to spawn the player</p></td></tr>
<tr><td class='name'>4</td><td class='name'>failed invalid tenant</td><td><p>Displays "Unable to connect to world. Your school does not have access to this server."</p></td></tr>
<tr><td class='name'>5</td><td class='name'>failed vanilla edu</td><td><p>Displays "The server is not running Minecraft: Education Edition. Failed to connect."</p></td></tr>
<tr><td class='name'>6</td><td class='name'>failed edu vanilla</td><td><p>Displays "The server is running an incompatible edition of Minecraft. Failed to connect."</p></td></tr>
<tr><td class='name'>7</td><td class='name'>failed server full</td><td><p>Displays "Wow this server is popular! Check back later to see if space opens up. Server Full"</p></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_server_to_client_handshake">
<a href="#packet_server_to_client_handshake"><div class='packet-id bound-client'>3</div><div class='packet-name name'>packet server to client handshake</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>token </td><td>string</td><td><p>Contains the salt to complete the Diffie-Hellman key exchange</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_client_to_server_handshake">
<a href="#packet_client_to_server_handshake"><div class='packet-id bound-server'>4</div><div class='packet-name name'>packet client to server handshake</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>Sent by the client in response to a Server To Client Handshake packet
sent by the server. It is the first encrypted packet in the login handshake
and serves as a confirmation that encryption is correctly initialized client side.
It has no fields.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_disconnect">
<a href="#packet_disconnect"><div class='packet-id bound-client'>5</div><div class='packet-name name'>packet disconnect</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>Sent by the server to disconnect a client.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>hide disconnect reason </td><td>bool</td><td><p>Specifies if the disconnection screen should be hidden when the client is disconnected,
meaning it will be sent directly to the main menu.</p></td></tr>
<tr><td class='field-name name'>message </td><td>string</td><td><p>An optional message to show when disconnected.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_resource_packs_info">
<a href="#packet_resource_packs_info"><div class='packet-id bound-client'>6</div><div class='packet-name name'>packet resource packs info</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>must accept </td><td>bool</td><td><p>If the resource pack requires the client accept it.</p></td></tr>
<tr><td class='field-name name'>has scripts </td><td>bool</td><td><p>If scripting is enabled.</p></td></tr>
<tr><td class='field-name name'>behaviour packs </td><td><a href="#BehaviourPackInfos">BehaviourPackInfos</a></td><td><p>A list of behaviour packs that the client needs to download before joining the server.
All of these behaviour packs will be applied together.</p></td></tr>
<tr><td class='field-name name'>texture packs </td><td><a href="#TexturePackInfos">TexturePackInfos</a></td><td><p>A list of resource packs that the client needs to download before joining the server.
The order of these resource packs is not relevant in this packet. It is however important in the Resource Pack Stack packet.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_resource_pack_stack">
<a href="#packet_resource_pack_stack"><div class='packet-id bound-client'>7</div><div class='packet-name name'>packet resource pack stack</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>must accept </td><td>bool</td><td><p>If the resource pack must be accepted for the player to join the server.</p></td></tr>
<tr><td class='field-name name'>behavior packs </td><td><a href="#ResourcePackIdVersions">ResourcePackIdVersions</a></td><td><p>[inline]</p></td></tr>
<tr><td class='field-name name'>resource packs </td><td><a href="#ResourcePackIdVersions">ResourcePackIdVersions</a></td><td><p>[inline]</p></td></tr>
<tr><td class='field-name name'>game version </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>experiments </td><td><a href="#Experiments">Experiments</a></td><td></td></tr>
<tr><td class='field-name name'>experiments previously used </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_resource_pack_client_response">
<a href="#packet_resource_pack_client_response"><div class='packet-id bound-server'>8</div><div class='packet-name name'>packet resource pack client response</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>response status </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>none</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>refused</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>send packs</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>have all packs</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>completed</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>resourcepackids </td><td><a href="#ResourcePackIds">ResourcePackIds</a></td><td><p>All of the pack IDs.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_text">
<a href="#packet_text"><div class='packet-id bound-both'>9</div><div class='packet-name name'>packet text</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>Sent by the client to the server to send chat messages, and by the server to the client
to forward or send messages, which may be chat, popups, tips etc.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>raw</td><td><p>TextType is the type of the text sent. When a client sends this to the server, it should always be
TextTypeChat. If the server sends it, it may be one of the other text types above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>chat</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>translation</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>popup</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>jukebox popup</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>tip</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>system</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>whisper</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>announcement</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>json whisper</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>json</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>needs translation </td><td>bool</td><td><p>NeedsTranslation specifies if any of the messages need to be translated. It seems that where % is found
in translatable text types, these are translated regardless of this bool. Translatable text types
include TextTypeTip, TextTypePopup and TextTypeJukeboxPopup.</p></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is chat or whisper or announcement</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>source name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>message </td><td>string</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is raw or tip or system or json whisper or json</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>message </td><td>string</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is translation or popup or jukebox popup</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>message </td><td>string</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>parameters</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>parameters</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td class='field-name name'>xuid </td><td>string</td><td><p>The XUID of the player who sent this message.</p></td></tr>
<tr><td class='field-name name'>platform chat id </td><td>string</td><td><p>PlatformChatID is an identifier only set for particular platforms when chatting (presumably only for
Nintendo Switch). It is otherwise an empty string, and is used to decide which players are able to
chat with each other.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_time">
<a href="#packet_set_time"><div class='packet-id bound-client'>10</div><div class='packet-name name'>packet set time</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>For additional information and examples of all the chat types above, see here: https://imgur.com/a/KhcFscg
Sent by the server to update the current time client-side. The client actually advances time
client-side by itself, so this packet does not need to be sent each tick. It is merely a means
of synchronizing time between server and client.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>time </td><td>zigzag32</td><td><p>Time is the current time. The time is not limited to 24000 (time of day), but continues
progressing after that.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_start_game">
<a href="#packet_start_game"><div class='packet-id bound-client'>11</div><div class='packet-name name'>packet start game</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>Sent by the server to send information about the world the player will be spawned in.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>entity id </td><td>zigzag64</td><td><p>The unique ID of the player. The unique ID is a value that remains consistent across
different sessions of the same world, but most unofficial servers simply fill the
runtime ID of the entity out for this field.</p></td></tr>
<tr><td class='field-name name'>runtime entity id </td><td>varint64</td><td><p>The runtime ID of the player. The runtime ID is unique for each world session,
and entities are generally identified in packets using this runtime ID.</p></td></tr>
<tr><td class='field-name name'>player gamemode </td><td><a href="#GameMode">GameMode</a></td><td><p>PlayerGameMode is the game mode the player currently has. It is a value from 0-4, with 0 being
survival mode, 1 being creative mode, 2 being adventure mode, 3 being survival spectator and 4 being
creative spectator.
This field may be set to 5 to make the client fall back to the game mode set in the WorldGameMode
field.</p></td></tr>
<tr><td class='field-name name'>spawn </td><td><a href="#vec3f">vec3f</a></td><td><p>The spawn position of the player in the world. In servers this is often the same as the
world's spawn position found below.</p></td></tr>
<tr><td class='field-name name'>rotation </td><td><a href="#vec2f">vec2f</a></td><td><p>The pitch and yaw of the player</p></td></tr>
<tr><td class='field-name name'>seed </td><td>zigzag32</td><td><p>The seed used to generate the world. Unlike in Java edition, the seed is a 32bit Integer here.</p></td></tr>
<tr><td class='field-name name'>biome type </td><td>li16</td><td></td></tr>
<tr><td class='field-name name'>biome name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>dimension </td><td>zigzag32</td><td><p>Dimension is the ID of the dimension that the player spawns in. It is a value from 0-2,
with 0 being the overworld, 1 being the nether and 2 being the end.</p></td></tr>
<tr><td class='field-name name'>generator </td><td>zigzag32</td><td><p>Generator is the generator used for the world. It is a value from 0-4, with 0 being old
limited worlds, 1 being infinite worlds, 2 being flat worlds, 3 being nether worlds and
4 being end worlds. A value of 0 will actually make the client stop rendering chunks you
send beyond the world limit.</p></td></tr>
<tr><td class='field-name name'>world gamemode </td><td><a href="#GameMode">GameMode</a></td><td><p>The world game mode that a player gets when it first spawns in the world. It is shown in the
settings and is used if the Player Gamemode is set to 5.</p></td></tr>
<tr><td class='field-name name'>difficulty </td><td>zigzag32</td><td><p>Difficulty is the difficulty of the world. It is a value from 0-3, with 0 being peaceful,
1 being easy, 2 being normal and 3 being hard.</p></td></tr>
<tr><td class='field-name name'>spawn position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>The block on which the world spawn of the world. This coordinate has no effect on the place
that the client spawns, but it does have an effect on the direction that a compass poInts.</p></td></tr>
<tr><td class='field-name name'>achievements disabled </td><td>bool</td><td><p>Defines if achievements are disabled in the world. The client crashes if this value is set
to true while the player's or the world's game mode is creative, and it's recommended to simply
always set this to false as a server.</p></td></tr>
<tr><td class='field-name name'>day cycle stop time </td><td>zigzag32</td><td><p>The time at which the day cycle was locked if the day cycle is disabled using the respective
game rule. The client will maIntain this time as Boolean as the day cycle is disabled.</p></td></tr>
<tr><td class='field-name name'>edu offer </td><td>zigzag32</td><td><p>Some Minecraft: Education Edition field that specifies what 'region' the world was from,
with 0 being None, 1 being RestOfWorld, and 2 being China. The actual use of this field is unknown.</p></td></tr>
<tr><td class='field-name name'>edu features enabled </td><td>bool</td><td><p>Specifies if the world has education edition features enabled, such as the blocks or entities
specific to education edition.</p></td></tr>
<tr><td class='field-name name'>edu product uuid </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>rain level </td><td>lf32</td><td><p>The level specifying the Intensity of the rain falling. When set to 0, no rain falls at all.</p></td></tr>
<tr><td class='field-name name'>lightning level </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>has confirmed platform locked content </td><td>bool</td><td><p>The level specifying the Intensity of the thunder. This may actually be set independently
from the rain level, meaning dark clouds can be produced without rain.</p></td></tr>
<tr><td class='field-name name'>is multiplayer </td><td>bool</td><td><p>Specifies if the world is a multi-player game. This should always be set to true for servers.</p></td></tr>
<tr><td class='field-name name'>broadcast to lan </td><td>bool</td><td><p>Specifies if LAN broadcast was Intended to be enabled for the world.</p></td></tr>
<tr><td class='field-name name'>xbox live broadcast mode </td><td>varint</td><td><p>The mode used to broadcast the joined game across XBOX Live.</p></td></tr>
<tr><td class='field-name name'>platform broadcast mode </td><td>varint</td><td><p>The mode used to broadcast the joined game across the platform.</p></td></tr>
<tr><td class='field-name name'>enable commands </td><td>bool</td><td><p>If commands are enabled for the player. It is recommended to always set this to true on the
server, as setting it to false means the player cannot, under any circumstance, use a command.</p></td></tr>
<tr><td class='field-name name'>is texturepacks required </td><td>bool</td><td><p>Specifies if the texture pack the world might hold is required, meaning the client was
forced to download it before joining.</p></td></tr>
<tr><td class='field-name name'>gamerules </td><td><a href="#GameRules">GameRules</a></td><td><p>Defines game rules currently active with their respective values. The value of these game
rules may be either 'bool', 'Int32' or 'Float32'. Some game rules are server side only,
and don't necessarily need to be sent to the client.</p></td></tr>
<tr><td class='field-name name'>experiments </td><td><a href="#Experiments">Experiments</a></td><td></td></tr>
<tr><td class='field-name name'>experiments previously used </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>bonus chest </td><td>bool</td><td><p>Specifies if the world had the bonus map setting enabled when generating it.
It does not have any effect client-side.</p></td></tr>
<tr><td class='field-name name'>map enabled </td><td>bool</td><td><p>Specifies if the world has the start with map setting enabled, meaning each
joining player obtains a map. This should always be set to false, because the
client obtains a map all on its own accord if this is set to true.</p></td></tr>
<tr><td class='field-name name'>permission level </td><td>zigzag32</td><td><p>The permission level of the player. It is a value from 0-3, with 0 being visitor,
1 being member, 2 being operator and 3 being custom.</p></td></tr>
<tr><td class='field-name name'>server chunk tick range </td><td>li32</td><td><p>The radius around the player in which chunks are ticked. Most servers set this value
to a fixed number, as it does not necessarily affect anything client-side.</p></td></tr>
<tr><td class='field-name name'>has locked behavior pack </td><td>bool</td><td><p>Specifies if the texture pack of the world is locked, meaning it cannot be disabled
from the world. This is typically set for worlds on the marketplace that have a dedicated
texture pack.</p></td></tr>
<tr><td class='field-name name'>has locked resource pack </td><td>bool</td><td><p>Specifies if the texture pack of the world is locked, meaning it cannot be disabled from the
world. This is typically set for worlds on the marketplace that have a dedicated texture pack.</p></td></tr>
<tr><td class='field-name name'>is from locked world template </td><td>bool</td><td><p>Specifies if the world from the server was from a locked world template.
For servers this should always be set to false.</p></td></tr>
<tr><td class='field-name name'>msa gamertags only </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>is from world template </td><td>bool</td><td><p>Specifies if the world from the server was from a locked world template.
For servers this should always be set to false.</p></td></tr>
<tr><td class='field-name name'>is world template option locked </td><td>bool</td><td><p>Specifies if the world was a template that locks all settings that change properties
above in the settings GUI. It is recommended to set this to true for servers that
do not allow things such as setting game rules through the GUI.</p></td></tr>
<tr><td class='field-name name'>only spawn v1 villagers </td><td>bool</td><td><p>A hack that Mojang put in place to preserve backwards compatibility with old villagers.
The his never actually read though, so it has no functionality.</p></td></tr>
<tr><td class='field-name name'>game version </td><td>string</td><td><p>The version of the game from which Vanilla features will be used.
The exact function of this field isn't clear.</p></td></tr>
<tr><td class='field-name name'>limited world width </td><td>li32</td><td></td></tr>
<tr><td class='field-name name'>limited world length </td><td>li32</td><td></td></tr>
<tr><td class='field-name name'>is new nether </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>experimental gameplay override </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>level id </td><td>string</td><td><p>A base64 encoded world ID that is used to identify the world.</p></td></tr>
<tr><td class='field-name name'>world name </td><td>string</td><td><p>The name of the world that the player is joining. Note that this field shows up
above the player list for the rest of the game session, and cannot be changed.
Setting the server name to this field is recommended.</p></td></tr>
<tr><td class='field-name name'>premium world template id </td><td>string</td><td><p>A UUID specific to the premium world template that might have been used to
generate the world. Servers should always fill out an empty String for this.</p></td></tr>
<tr><td class='field-name name'>is trial </td><td>bool</td><td><p>Specifies if the world was a trial world, meaning features are limited and there
is a time limit on the world.</p></td></tr>
<tr><td class='name field-name'>movement authority </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>client</td><td><p>Specifies if the client or server is authoritative over the movement of the player,
meaning it controls the movement of it. </p></td></tr>
<tr><td class='name'>1</td><td class='name'>server</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>server v2 rewind</td><td><p>PlayerAuthInputPacket + a bunch of junk that solves a nonexisting problem</p></td></tr>
</table></td></tr>
<tr><td class='field-name name'>current tick </td><td>li64</td><td><p>The total time in ticks that has elapsed since the start of the world.</p></td></tr>
<tr><td class='field-name name'>enchantment seed </td><td>zigzag32</td><td><p>The seed used to seed the random used to produce enchantments in the enchantment table.
Note that the exact correct random implementation must be used to produce the correct
results both client- and server-side.</p></td></tr>
<tr><td class='field-name name'>block palette </td><td><a href="#BlockPalette">BlockPalette</a></td><td></td></tr>
<tr><td class='field-name name'>itemstates </td><td><a href="#Itemstates">Itemstates</a></td><td><p>A list of all items with their legacy IDs which are available in the game.
Failing to send any of the items that are in the game will crash mobile clients.</p></td></tr>
<tr><td class='field-name name'>multiplayer correlation id </td><td>string</td><td><p>A unique ID specifying the multi-player session of the player.
A random UUID should be filled out for this field.</p></td></tr>
<tr><td class='field-name name'>server authoritative inventory </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_add_player">
<a href="#packet_add_player"><div class='packet-id bound-client'>12</div><div class='packet-name name'>packet add player</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>uuid </td><td>uuid</td><td><p>UUID is the UUID of the player. It is the same UUID that the client sent in the
Login packet at the start of the session. A player with this UUID must exist
in the player list (built up using the Player List packet) for it to show up in-game.</p></td></tr>
<tr><td class='field-name name'>username </td><td>string</td><td><p>Username is the name of the player. This username is the username that will be
set as the initial name tag of the player.</p></td></tr>
<tr><td class='field-name name'>entity id self </td><td>zigzag64</td><td><p>The unique ID of the player. The unique ID is a value that remains consistent
across different sessions of the same world, but most unoffical servers simply
fill the runtime ID of the player out for this field.</p></td></tr>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td><p>The runtime ID of the player. The runtime ID is unique for each world session,
and entities are generally identified in packets using this runtime ID.</p></td></tr>
<tr><td class='field-name name'>platform chat id </td><td>string</td><td><p>An identifier only set for particular platforms when chatting (presumably only for
Nintendo Switch). It is otherwise an empty string, and is used to decide which players
are able to chat with each other.</p></td></tr>
<tr><td class='field-name name'>x </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>y </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>z </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>speed x </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>speed y </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>speed z </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>pitch </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>yaw </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>head yaw </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>held item </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>metadata </td><td><a href="#MetadataDictionary">MetadataDictionary</a></td><td></td></tr>
<tr><td class='field-name name'>flags </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>command permission </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>action permissions </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>permission level </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>custom stored permissions </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>user id </td><td>li64</td><td></td></tr>
<tr><td class='field-name name'>links </td><td><a href="#Links">Links</a></td><td></td></tr>
<tr><td class='field-name name'>device id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>device os </td><td>li32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_add_entity">
<a href="#packet_add_entity"><div class='packet-id bound-client'>13</div><div class='packet-name name'>packet add entity</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>entity id self </td><td>zigzag64</td><td></td></tr>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>entity type </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>x </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>y </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>z </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>speed x </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>speed y </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>speed z </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>pitch </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>yaw </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>head yaw </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>attributes </td><td><a href="#EntityAttributes">EntityAttributes</a></td><td></td></tr>
<tr><td class='field-name name'>metadata </td><td><a href="#MetadataDictionary">MetadataDictionary</a></td><td></td></tr>
<tr><td class='field-name name'>links </td><td><a href="#Links">Links</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_remove_entity">
<a href="#packet_remove_entity"><div class='packet-id bound-client'>14</div><div class='packet-name name'>packet remove entity</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>entity id self </td><td>zigzag64</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_add_item_entity">
<a href="#packet_add_item_entity"><div class='packet-id bound-client'>15</div><div class='packet-name name'>packet add item entity</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>entity id self </td><td>zigzag64</td><td></td></tr>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>item </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>x </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>y </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>z </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>speed x </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>speed y </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>speed z </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>metadata </td><td><a href="#MetadataDictionary">MetadataDictionary</a></td><td></td></tr>
<tr><td class='field-name name'>is from fishing </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_take_item_entity">
<a href="#packet_take_item_entity"><div class='packet-id bound-client'>17</div><div class='packet-name name'>packet take item entity</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>target </td><td>varint</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_move_entity">
<a href="#packet_move_entity"><div class='packet-id bound-both'>18</div><div class='packet-name name'>packet move entity</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>flags </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>rotation </td><td><a href="#Rotation">Rotation</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_move_player">
<a href="#packet_move_player"><div class='packet-id bound-both'>19</div><div class='packet-name name'>packet move player</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>MovePlayer is sent by players to send their movement to the server, and by the server to update the
movement of player entities to other players.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime id </td><td>varint</td><td><p>EntityRuntimeID is the runtime ID of the player. The runtime ID is unique for each world session, and
entities are generally identified in packets using this runtime ID.</p></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td><p>Position is the position to spawn the player on. If the player is on a distance that the viewer cannot
see it, the player will still show up if the viewer moves closer.</p></td></tr>
<tr><td class='field-name name'>pitch </td><td>lf32</td><td><p>Pitch is the vertical rotation of the player. Facing straight forward yields a pitch of 0. Pitch is
measured in degrees.</p></td></tr>
<tr><td class='field-name name'>yaw </td><td>lf32</td><td><p>Yaw is the horizontal rotation of the player. Yaw is also measured in degrees</p></td></tr>
<tr><td class='field-name name'>head yaw </td><td>lf32</td><td><p>HeadYaw is the same as Yaw, except that it applies specifically to the head of the player. A different
value for HeadYaw than Yaw means that the player will have its head turned</p></td></tr>
<tr><td class='name field-name'>mode </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>normal</td><td><p>Mode is the mode of the movement. It specifies the way the player's movement should be shown to other
players. It is one of the constants below.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>reset</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>teleport</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>rotation</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>on ground </td><td>bool</td><td><p>OnGround specifies if the player is considered on the ground. Note that proxies or hacked clients could
fake this to always be true, so it should not be taken for granted.</p></td></tr>
<tr><td class='field-name name'>ridden runtime id </td><td>varint</td><td><p>RiddenEntityRuntimeID is the runtime ID of the entity that the player might currently be riding. If not
riding, this should be left 0.</p></td></tr>
<tr><td><b class='name'>teleport</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>mode</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is teleport</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='name field-name'>cause </td><td colspan=2 class="vpad"><div style='padding:8px'>li32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>unknown</td><td><p>TeleportCause is written only if Mode is MoveModeTeleport. It specifies the cause of the teleportation,
which is one of the constants above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>projectile</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>chorus fruit</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>command</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>behavior</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>source entity type </td><td><a href="#LegacyEntityType">LegacyEntityType</a></td><td><p>TeleportSourceEntityType is the entity type that caused the teleportation, for example an ender pearl.
TODO: is this still a integer and not a string?</p></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td class='field-name name'>tick </td><td>varint64</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_rider_jump">
<a href="#packet_rider_jump"><div class='packet-id bound-both'>20</div><div class='packet-name name'>packet rider jump</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>jump strength </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_block">
<a href="#packet_update_block"><div class='packet-id bound-client'>21</div><div class='packet-name name'>packet update block</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>coordinates </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
<tr><td class='field-name name'>block runtime id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>block priority </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>storage </td><td>varint</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_add_painting">
<a href="#packet_add_painting"><div class='packet-id bound-client'>22</div><div class='packet-name name'>packet add painting</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>entity id self </td><td>zigzag64</td><td></td></tr>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>coordinates </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
<tr><td class='field-name name'>direction </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>title </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_tick_sync">
<a href="#packet_tick_sync"><div class='packet-id bound-both'>23</div><div class='packet-name name'>packet tick sync</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>TickSync is sent by the client and the server to maintain a synchronized, server-authoritative tick between
the client and the server. The client sends this packet first, and the server should reply with another one
of these packets, including the response time.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>request time </td><td>li64</td><td><p>ClientRequestTimestamp is the timestamp on which the client sent this packet to the server. The server
should fill out that same value when replying.
The ClientRequestTimestamp is always 0</p></td></tr>
<tr><td class='field-name name'>response time </td><td>li64</td><td><p>ServerReceptionTimestamp is the timestamp on which the server received the packet sent by the client.
When the packet is sent by the client, this value is 0.
ServerReceptionTimestamp is generally the current tick of the server. It isn't an actual timestamp, as
the field implies</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_level_sound_event_old">
<a href="#packet_level_sound_event_old"><div class='packet-id bound-both'>24</div><div class='packet-name name'>packet level sound event old</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>sound id </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>block id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>entity type </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>is baby mob </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>is global </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_level_event">
<a href="#packet_level_event"><div class='packet-id bound-client'>25</div><div class='packet-name name'>packet level event</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>event </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>1000</td><td class='name'>sound click</td><td></td></tr>
<tr><td class='name'>1001</td><td class='name'>sound click fail</td><td></td></tr>
<tr><td class='name'>1002</td><td class='name'>sound shoot</td><td></td></tr>
<tr><td class='name'>1003</td><td class='name'>sound door</td><td></td></tr>
<tr><td class='name'>1004</td><td class='name'>sound fizz</td><td></td></tr>
<tr><td class='name'>1005</td><td class='name'>sound ignite</td><td></td></tr>
<tr><td class='name'>1007</td><td class='name'>sound ghast</td><td></td></tr>
<tr><td class='name'>1008</td><td class='name'>sound ghast shoot</td><td></td></tr>
<tr><td class='name'>1009</td><td class='name'>sound blaze shoot</td><td></td></tr>
<tr><td class='name'>1010</td><td class='name'>sound door bump</td><td></td></tr>
<tr><td class='name'>1012</td><td class='name'>sound door crash</td><td></td></tr>
<tr><td class='name'>1018</td><td class='name'>sound enderman teleport</td><td></td></tr>
<tr><td class='name'>1020</td><td class='name'>sound anvil break</td><td></td></tr>
<tr><td class='name'>1021</td><td class='name'>sound anvil use</td><td></td></tr>
<tr><td class='name'>1022</td><td class='name'>sound anvil fall</td><td></td></tr>
<tr><td class='name'>1030</td><td class='name'>sound pop</td><td></td></tr>
<tr><td class='name'>1032</td><td class='name'>sound portal</td><td></td></tr>
<tr><td class='name'>1040</td><td class='name'>sound itemframe add item</td><td></td></tr>
<tr><td class='name'>1041</td><td class='name'>sound itemframe remove</td><td></td></tr>
<tr><td class='name'>1042</td><td class='name'>sound itemframe place</td><td></td></tr>
<tr><td class='name'>1043</td><td class='name'>sound itemframe remove item</td><td></td></tr>
<tr><td class='name'>1044</td><td class='name'>sound itemframe rotate item</td><td></td></tr>
<tr><td class='name'>1050</td><td class='name'>sound camera</td><td></td></tr>
<tr><td class='name'>1051</td><td class='name'>sound orb</td><td></td></tr>
<tr><td class='name'>1052</td><td class='name'>sound totem</td><td></td></tr>
<tr><td class='name'>1060</td><td class='name'>sound armor stand break</td><td></td></tr>
<tr><td class='name'>1061</td><td class='name'>sound armor stand hit</td><td></td></tr>
<tr><td class='name'>1062</td><td class='name'>sound armor stand fall</td><td></td></tr>
<tr><td class='name'>1063</td><td class='name'>sound armor stand place</td><td></td></tr>
<tr><td class='name'>2000</td><td class='name'>particle shoot</td><td></td></tr>
<tr><td class='name'>2001</td><td class='name'>particle destroy</td><td></td></tr>
<tr><td class='name'>2002</td><td class='name'>particle splash</td><td></td></tr>
<tr><td class='name'>2003</td><td class='name'>particle eye despawn</td><td></td></tr>
<tr><td class='name'>2004</td><td class='name'>particle spawn</td><td></td></tr>
<tr><td class='name'>2006</td><td class='name'>guardian curse</td><td></td></tr>
<tr><td class='name'>2008</td><td class='name'>particle block force field</td><td></td></tr>
<tr><td class='name'>2009</td><td class='name'>particle projectile hit</td><td></td></tr>
<tr><td class='name'>2013</td><td class='name'>particle enderman teleport</td><td></td></tr>
<tr><td class='name'>2014</td><td class='name'>particle punch block</td><td></td></tr>
<tr><td class='name'>3001</td><td class='name'>start rain</td><td></td></tr>
<tr><td class='name'>3002</td><td class='name'>start thunder</td><td></td></tr>
<tr><td class='name'>3003</td><td class='name'>stop rain</td><td></td></tr>
<tr><td class='name'>3004</td><td class='name'>stop thunder</td><td></td></tr>
<tr><td class='name'>3005</td><td class='name'>pause game</td><td></td></tr>
<tr><td class='name'>3006</td><td class='name'>pause game no screen</td><td></td></tr>
<tr><td class='name'>3007</td><td class='name'>set game speed</td><td></td></tr>
<tr><td class='name'>3500</td><td class='name'>redstone trigger</td><td></td></tr>
<tr><td class='name'>3501</td><td class='name'>cauldron explode</td><td></td></tr>
<tr><td class='name'>3502</td><td class='name'>cauldron dye armor</td><td></td></tr>
<tr><td class='name'>3503</td><td class='name'>cauldron clean armor</td><td></td></tr>
<tr><td class='name'>3504</td><td class='name'>cauldron fill potion</td><td></td></tr>
<tr><td class='name'>3505</td><td class='name'>cauldron take potion</td><td></td></tr>
<tr><td class='name'>3506</td><td class='name'>cauldron fill water</td><td></td></tr>
<tr><td class='name'>3507</td><td class='name'>cauldron take water</td><td></td></tr>
<tr><td class='name'>3508</td><td class='name'>cauldron add dye</td><td></td></tr>
<tr><td class='name'>3509</td><td class='name'>cauldron clean banner</td><td></td></tr>
<tr><td class='name'>3600</td><td class='name'>block start break</td><td></td></tr>
<tr><td class='name'>3601</td><td class='name'>block stop break</td><td></td></tr>
<tr><td class='name'>4000</td><td class='name'>set data</td><td></td></tr>
<tr><td class='name'>9800</td><td class='name'>players sleeping</td><td></td></tr>
<tr><td class='name'>16384</td><td class='name'>add particle mask</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>data </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_block_event">
<a href="#packet_block_event"><div class='packet-id bound-client'>26</div><div class='packet-name name'>packet block event</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>Position is the position of the block that an event occurred at.</p></td></tr>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>sound</td><td><p>EventType is the type of the block event.
The event type decides the way the event data that follows is used</p></td></tr>
<tr><td class='name'>1</td><td class='name'>change state</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>data </td><td>zigzag32</td><td><p>EventData holds event type specific data. For chests for example,
opening the chest means the data must be 1</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_entity_event">
<a href="#packet_entity_event"><div class='packet-id bound-both'>27</div><div class='packet-name name'>packet entity event</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='name field-name'>event id </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>1</td><td class='name'>jump</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>hurt animation</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>death animation</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>arm swing</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>stop attack</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>tame fail</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>tame success</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>shake wet</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>use item</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>eat grass animation</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>fish hook bubble</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>fish hook position</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>fish hook hook</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>fish hook tease</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>squid ink cloud</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>zombie villager cure</td><td></td></tr>
<tr><td class='name'>18</td><td class='name'>respawn</td><td></td></tr>
<tr><td class='name'>19</td><td class='name'>iron golem offer flower</td><td></td></tr>
<tr><td class='name'>20</td><td class='name'>iron golem withdraw flower</td><td></td></tr>
<tr><td class='name'>21</td><td class='name'>love particles</td><td></td></tr>
<tr><td class='name'>22</td><td class='name'>villager angry</td><td></td></tr>
<tr><td class='name'>23</td><td class='name'>villager happy</td><td></td></tr>
<tr><td class='name'>24</td><td class='name'>witch spell particles</td><td></td></tr>
<tr><td class='name'>25</td><td class='name'>firework particles</td><td></td></tr>
<tr><td class='name'>26</td><td class='name'>in love particles</td><td></td></tr>
<tr><td class='name'>27</td><td class='name'>silverfish spawn animation</td><td></td></tr>
<tr><td class='name'>28</td><td class='name'>guardian attack</td><td></td></tr>
<tr><td class='name'>29</td><td class='name'>witch drink potion</td><td></td></tr>
<tr><td class='name'>30</td><td class='name'>witch throw potion</td><td></td></tr>
<tr><td class='name'>31</td><td class='name'>minecart tnt prime fuse</td><td></td></tr>
<tr><td class='name'>32</td><td class='name'>creeper prime fuse</td><td></td></tr>
<tr><td class='name'>33</td><td class='name'>air supply expired</td><td></td></tr>
<tr><td class='name'>34</td><td class='name'>player add xp levels</td><td></td></tr>
<tr><td class='name'>35</td><td class='name'>elder guardian curse</td><td></td></tr>
<tr><td class='name'>36</td><td class='name'>agent arm swing</td><td></td></tr>
<tr><td class='name'>37</td><td class='name'>ender dragon death</td><td></td></tr>
<tr><td class='name'>38</td><td class='name'>dust particles</td><td></td></tr>
<tr><td class='name'>39</td><td class='name'>arrow shake</td><td></td></tr>
<tr><td class='name'>57</td><td class='name'>eating item</td><td></td></tr>
<tr><td class='name'>60</td><td class='name'>baby animal feed</td><td></td></tr>
<tr><td class='name'>61</td><td class='name'>death smoke cloud</td><td></td></tr>
<tr><td class='name'>62</td><td class='name'>complete trade</td><td></td></tr>
<tr><td class='name'>63</td><td class='name'>remove leash</td><td></td></tr>
<tr><td class='name'>65</td><td class='name'>consume totem</td><td></td></tr>
<tr><td class='name'>66</td><td class='name'>player check treasure hunter achievement</td><td></td></tr>
<tr><td class='name'>67</td><td class='name'>entity spawn</td><td></td></tr>
<tr><td class='name'>68</td><td class='name'>dragon puke</td><td></td></tr>
<tr><td class='name'>69</td><td class='name'>item entity merge</td><td></td></tr>
<tr><td class='name'>70</td><td class='name'>start swim</td><td></td></tr>
<tr><td class='name'>71</td><td class='name'>balloon pop</td><td></td></tr>
<tr><td class='name'>72</td><td class='name'>treasure hunt</td><td></td></tr>
<tr><td class='name'>73</td><td class='name'>agent summon</td><td></td></tr>
<tr><td class='name'>74</td><td class='name'>charged item</td><td></td></tr>
<tr><td class='name'>75</td><td class='name'>fall</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>data </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_mob_effect">
<a href="#packet_mob_effect"><div class='packet-id bound-client'>28</div><div class='packet-name name'>packet mob effect</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='name field-name'>event id </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>1</td><td class='name'>add</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>update</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>remove</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>effect id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>amplifier </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>particles </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>duration </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_attributes">
<a href="#packet_update_attributes"><div class='packet-id bound-client'>29</div><div class='packet-name name'>packet update attributes</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint64</td><td></td></tr>
<tr><td class='field-name name'>attributes </td><td><a href="#PlayerAttributes">PlayerAttributes</a></td><td></td></tr>
<tr><td class='field-name name'>tick </td><td>varint64</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_inventory_transaction">
<a href="#packet_inventory_transaction"><div class='packet-id bound-both'>30</div><div class='packet-name name'>packet inventory transaction</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>transaction </td><td><a href="#Transaction">Transaction</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_mob_equipment">
<a href="#packet_mob_equipment"><div class='packet-id bound-both'>31</div><div class='packet-name name'>packet mob equipment</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>item </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>slot </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>selected slot </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>windows id </td><td><a href="#WindowID">WindowID</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_mob_armor_equipment">
<a href="#packet_mob_armor_equipment"><div class='packet-id bound-both'>32</div><div class='packet-name name'>packet mob armor equipment</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>helmet </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>chestplate </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>leggings </td><td><a href="#Item">Item</a></td><td></td></tr>
<tr><td class='field-name name'>boots </td><td><a href="#Item">Item</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_interact">
<a href="#packet_interact"><div class='packet-id bound-both'>33</div><div class='packet-name name'>packet interact</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>Interact is sent by the client when it interacts with another entity in some way. It used to be used for
normal entity and block interaction, but this is no longer the case now.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>action id </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>3</td><td class='name'>leave vehicle</td><td><p>Action type is the ID of the action that was executed by the player. It is one of the constants that
may be found above.</p></td></tr>
<tr><td class='name'>4</td><td class='name'>mouse over entity</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>npc open</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>open inventory</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>target runtime entity id </td><td>varint</td><td><p>TargetEntityRuntimeID is the runtime ID of the entity that the player interacted with. This is empty
for the InteractActionOpenInventory action type.</p></td></tr>
<tr><td><b class='name'>position</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>action id</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is mouse over entity or leave vehicle</span> </td><td><a href="#vec3f">vec3f</a></td><td><p>Position associated with the ActionType above. For the InteractActionMouseOverEntity, this is the
position relative to the entity moused over over which the player hovered with its mouse/touch. For the
InteractActionLeaveVehicle, this is the position that the player spawns at after leaving the vehicle.</p></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_block_pick_request">
<a href="#packet_block_pick_request"><div class='packet-id bound-server'>34</div><div class='packet-name name'>packet block pick request</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>x </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>y </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>z </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>add user data </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>selected slot </td><td>u8</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_entity_pick_request">
<a href="#packet_entity_pick_request"><div class='packet-id bound-server'>35</div><div class='packet-name name'>packet entity pick request</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>lu64</td><td></td></tr>
<tr><td class='field-name name'>selected slot </td><td>u8</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_player_action">
<a href="#packet_player_action"><div class='packet-id bound-server'>36</div><div class='packet-name name'>packet player action</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>PlayerAction is sent by the client when it executes any action, for example starting to sprint, swim,
starting the breaking of a block, dropping an item, etc.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td><p>EntityRuntimeID is the runtime ID of the player. The runtime ID is unique for each world session, and
entities are generally identified in packets using this runtime ID.</p></td></tr>
<tr><td class='name field-name'>action </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>start break</td><td><p>ActionType is the ID of the action that was executed by the player. It is one of the constants that may
be found above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>abort break</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>stop break</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>get updated block</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>drop item</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>start sleeping</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>stop sleeping</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>respawn</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>jump</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>start sprint</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>stop sprint</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>start sneak</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>stop sneak</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>creative player destroy block</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>dimension change ack</td><td><p>sent when spawning in a different dimension to tell the server we spawned</p></td></tr>
<tr><td class='name'>15</td><td class='name'>start glide</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>stop glide</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>build denied</td><td></td></tr>
<tr><td class='name'>18</td><td class='name'>continue break</td><td></td></tr>
<tr><td class='name'>19</td><td class='name'>change skin</td><td></td></tr>
<tr><td class='name'>20</td><td class='name'>set enchatnment seed</td><td><p>no longer used</p></td></tr>
<tr><td class='name'>21</td><td class='name'>swimming</td><td></td></tr>
<tr><td class='name'>22</td><td class='name'>stop swimming</td><td></td></tr>
<tr><td class='name'>23</td><td class='name'>start spin attack</td><td></td></tr>
<tr><td class='name'>24</td><td class='name'>stop spin attack</td><td></td></tr>
<tr><td class='name'>25</td><td class='name'>ineract block</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>BlockPosition is the position of the target block, if the action with the ActionType set concerned a
block. If that is not the case, the block position will be zero.</p></td></tr>
<tr><td class='field-name name'>face </td><td>zigzag32</td><td><p>BlockFace is the face of the target block that was touched. If the action with the ActionType set
concerned a block. If not, the face is always 0.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_hurt_armor">
<a href="#packet_hurt_armor"><div class='packet-id bound-client'>38</div><div class='packet-name name'>packet hurt armor</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>health </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_entity_data">
<a href="#packet_set_entity_data"><div class='packet-id bound-both'>39</div><div class='packet-name name'>packet set entity data</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>metadata </td><td><a href="#MetadataDictionary">MetadataDictionary</a></td><td></td></tr>
<tr><td class='field-name name'>tick </td><td>varint64</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_entity_motion">
<a href="#packet_set_entity_motion"><div class='packet-id bound-both'>40</div><div class='packet-name name'>packet set entity motion</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>velocity </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_entity_link">
<a href="#packet_set_entity_link"><div class='packet-id bound-client'>41</div><div class='packet-name name'>packet set entity link</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>SetActorLink is sent by the server to initiate an entity link client-side, meaning one entity will start
riding another.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>link </td><td><a href="#Link">Link</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_health">
<a href="#packet_set_health"><div class='packet-id bound-client'>42</div><div class='packet-name name'>packet set health</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>health </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_spawn_position">
<a href="#packet_set_spawn_position"><div class='packet-id bound-client'>43</div><div class='packet-name name'>packet set spawn position</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>spawn type </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>player</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>world</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>player position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
<tr><td class='field-name name'>dimension </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>world position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_animate">
<a href="#packet_animate"><div class='packet-id bound-both'>44</div><div class='packet-name name'>packet animate</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>action id </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>none</td><td><p>Unused</p></td></tr>
<tr><td class='name'>1</td><td class='name'>swing arm</td><td><p>Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action</p></td></tr>
<tr><td class='name'>2</td><td class='name'>unknown</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>wake up</td><td><p>Client bound notification to stop sleeping in a bed</p></td></tr>
<tr><td class='name'>4</td><td class='name'>critical hit</td><td><p>Client-bound notification to play critical hit particles</p></td></tr>
<tr><td class='name'>5</td><td class='name'>magic critical hit</td><td><p>Unused</p></td></tr>
<tr><td class='name'>128</td><td class='name'>row right</td><td><p>Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
See Player Auth Input for how to compute this in the latest protocol.</p></td></tr>
<tr><td class='name'>129</td><td class='name'>row left</td><td><p>Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
See Player Auth Input for how to compute this in the latest protocol.</p></td></tr>
</table></td></tr>
<tr><td class='field-name name'>runtime entity id </td><td>varint64</td><td></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>action id</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is row right or row left</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>boat rowing time </td><td>lf32</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_respawn">
<a href="#packet_respawn"><div class='packet-id bound-both'>45</div><div class='packet-name name'>packet respawn</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>x </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>y </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>z </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>state </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_container_open">
<a href="#packet_container_open"><div class='packet-id bound-client'>46</div><div class='packet-name name'>packet container open</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>ContainerOpen is sent by the server to open a container client-side. This container must be physically
present in the world, for the packet to have any effect. Unlike Java Edition, Bedrock Edition requires that
chests for example must be present and in range to open its inventory.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>window id </td><td><a href="#WindowID">WindowID</a></td><td><p>WindowID is the ID representing the window that is being opened. It may be used later to close the
container using a ContainerClose packet.</p></td></tr>
<tr><td class='field-name name'>window type </td><td><a href="#WindowType">WindowType</a></td><td><p>ContainerType is the type ID of the container that is being opened when opening the container at the
position of the packet. It depends on the block/entity, and could, for example, be the window type of
a chest or a hopper, but also a horse inventory.</p></td></tr>
<tr><td class='field-name name'>coordinates </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>ContainerPosition is the position of the container opened. The position must point to a block entity
that actually has a container. If that is not the case, the window will not be opened and the packet
will be ignored, if a valid ContainerEntityUniqueID has not also been provided.</p></td></tr>
<tr><td class='field-name name'>runtime entity id </td><td>zigzag64</td><td><p>ContainerEntityUniqueID is the unique ID of the entity container that was opened. It is only used if
the ContainerType is one that points to an entity, for example a horse.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_container_close">
<a href="#packet_container_close"><div class='packet-id bound-both'>47</div><div class='packet-name name'>packet container close</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>ContainerClose is sent by the server to close a container the player currently has opened, which was opened
using the ContainerOpen packet, or by the client to tell the server it closed a particular container, such
as the crafting grid.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>window id </td><td><a href="#WindowID">WindowID</a></td><td><p>WindowID is the ID representing the window of the container that should be closed. It must be equal to
the one sent in the ContainerOpen packet to close the designated window.</p></td></tr>
<tr><td class='field-name name'>server </td><td>bool</td><td><p>ServerSide determines whether or not the container was force-closed by the server. If this value is
not set correctly, the client may ignore the packet and respond with a PacketViolationWarning.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_player_hotbar">
<a href="#packet_player_hotbar"><div class='packet-id bound-both'>48</div><div class='packet-name name'>packet player hotbar</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>PlayerHotBar is sent by the server to the client. It used to be used to link hot bar slots of the player to
actual slots in the inventory, but as of 1.2, this was changed and hot bar slots are no longer a free
floating part of the inventory.
Since 1.2, the packet has been re-purposed, but its new functionality is not clear.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>selected slot </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>window id </td><td><a href="#WindowID">WindowID</a></td><td></td></tr>
<tr><td class='field-name name'>select slot </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_inventory_content">
<a href="#packet_inventory_content"><div class='packet-id bound-both'>49</div><div class='packet-name name'>packet inventory content</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>InventoryContent is sent by the server to update the full content of a particular inventory. It is usually
sent for the main inventory of the player, but also works for other inventories that are currently opened
by the player.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>inventory id </td><td><a href="#WindowIDVarint">WindowIDVarint</a></td><td><p>WindowID is the ID that identifies one of the windows that the client currently has opened, or one of
the consistent windows such as the main inventory.</p></td></tr>
<tr><td class='field-name name'>input </td><td><a href="#ItemStacks">ItemStacks</a></td><td><p>Content is the new content of the inventory. The length of this slice must be equal to the full size of
the inventory window updated.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_inventory_slot">
<a href="#packet_inventory_slot"><div class='packet-id bound-both'>50</div><div class='packet-name name'>packet inventory slot</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>InventorySlot is sent by the server to update a single slot in one of the inventory windows that the client
currently has opened. Usually this is the main inventory, but it may also be the off hand or, for example,
a chest inventory.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>window id </td><td><a href="#WindowIDVarint">WindowIDVarint</a></td><td><p>WindowID is the ID of the window that the packet modifies. It must point to one of the windows that the
client currently has opened.</p></td></tr>
<tr><td class='field-name name'>slot </td><td>varint</td><td><p>Slot is the index of the slot that the packet modifies. The new item will be set to the slot at this
index.</p></td></tr>
<tr><td class='field-name name'>item </td><td><a href="#ItemStack">ItemStack</a></td><td><p>NewItem is the item to be put in the slot at Slot. It will overwrite any item that may currently
be present in that slot.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_container_set_data">
<a href="#packet_container_set_data"><div class='packet-id bound-client'>51</div><div class='packet-name name'>packet container set data</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>ContainerSetData is sent by the server to update specific data of a single container, meaning a block such
as a furnace or a brewing stand. This data is usually used by the client to display certain features
client-side.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>window id </td><td><a href="#WindowID">WindowID</a></td><td><p>WindowID is the ID of the window that should have its data set. The player must have a window open with
the window ID passed, or nothing will happen.</p></td></tr>
<tr><td class='field-name name'>property </td><td>zigzag32</td><td><p>Key is the key of the property. It is one of the constants that can be found above. Multiple properties
share the same key, but the functionality depends on the type of the container that the data is set to.</p></td></tr>
<tr><td class='field-name name'>value </td><td>zigzag32</td><td><p>Value is the value of the property. Its use differs per property. </p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_crafting_data">
<a href="#packet_crafting_data"><div class='packet-id bound-client'>52</div><div class='packet-name name'>packet crafting data</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>recipes </td><td><a href="#Recipes">Recipes</a></td><td></td></tr>
<tr><td class='field-name name'>potion type recipes </td><td><a href="#PotionTypeRecipes">PotionTypeRecipes</a></td><td></td></tr>
<tr><td class='field-name name'>potion container recipes </td><td><a href="#PotionContainerChangeRecipes">PotionContainerChangeRecipes</a></td><td></td></tr>
<tr><td class='field-name name'>is clean </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_crafting_event">
<a href="#packet_crafting_event"><div class='packet-id bound-both'>53</div><div class='packet-name name'>packet crafting event</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>CraftingEvent is sent by the client when it crafts a particular item. Note that this packet may be fully
ignored, as the InventoryTransaction packet provides all the information required.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>window id </td><td><a href="#WindowID">WindowID</a></td><td><p>WindowID is the ID representing the window that the player crafted in.</p></td></tr>
<tr><td class='name field-name'>recipe type </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>inventory</td><td><p>CraftingType is a type that indicates the way the crafting was done, for example if a crafting table
was used.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>crafting</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>workbench</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>recipe id </td><td>uuid</td><td><p>RecipeUUID is the UUID of the recipe that was crafted. It points to the UUID of the recipe that was
sent earlier in the CraftingData packet.</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>input</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Input is a list of items that the player put into the recipe so that it could create the Output items.
These items are consumed in the process.</p></td></tr>
<tr><td class='field-name'><span class='name'>input</span> <div class="tag tag-array">array</div></td><td>Item</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>result</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Output is a list of items that were obtained as a result of crafting the recipe.</p></td></tr>
<tr><td class='field-name'><span class='name'>result</span> <div class="tag tag-array">array</div></td><td>Item</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_gui_data_pick_item">
<a href="#packet_gui_data_pick_item"><div class='packet-id bound-client'>54</div><div class='packet-name name'>packet gui data pick item</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_adventure_settings">
<a href="#packet_adventure_settings"><div class='packet-id bound-both'>55</div><div class='packet-name name'>packet adventure settings</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>AdventureSettings is sent by the server to update game-play related features, in particular permissions to
access these features for the client. It includes allowing the player to fly, build and mine, and attack
entities. Most of these flags should be checked server-side instead of using this packet only.
The client may also send this packet to the server when it updates one of these settings through the
in-game settings interface. The server should verify if the player actually has permission to update those
settings.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>flags </td><td>AdventureFlags</td><td><p>Flags is a set of flags that specify certain properties of the player, such as whether or not it can
fly and/or move through blocks. It is one of the AdventureFlag constants above.</p></td></tr>
<tr><td class='name field-name'>command permission </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>normal</td><td><p>CommandPermissionLevel is a permission level that specifies the kind of commands that the player is
allowed to use.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>operator</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>host</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>automation</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>admin</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>action permissions </td><td>ActionPermissions</td><td><p>ActionPermissions is, much like Flags, a set of flags that specify actions that the player is allowed
to undertake, such as whether it is allowed to edit blocks, open doors etc. It is a combination of the
ActionPermission constants above.</p></td></tr>
<tr><td class='name field-name'>permission level </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>visitor</td><td><p>PermissionLevel is the permission level of the player as it shows up in the player list built up using
the PlayerList packet. It is one of the PermissionLevel constants above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>member</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>operator</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>custom</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>custom stored permissions </td><td>varint</td><td><p>Custom permissions</p></td></tr>
<tr><td class='field-name name'>user id </td><td>li64</td><td><p>PlayerUniqueID is a unique identifier of the player. It appears it is not required to fill this field
out with a correct value. Simply writing 0 seems to work.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_block_entity_data">
<a href="#packet_block_entity_data"><div class='packet-id bound-both'>56</div><div class='packet-name name'>packet block entity data</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
<tr><td class='field-name name'>nbt </td><td>nbt</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_player_input">
<a href="#packet_player_input"><div class='packet-id bound-server'>57</div><div class='packet-name name'>packet player input</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>motion x </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>motion z </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>jumping </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>sneaking </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_level_chunk">
<a href="#packet_level_chunk"><div class='packet-id bound-client'>58</div><div class='packet-name name'>packet level chunk</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>LevelChunk is sent by the server to provide the client with a chunk of a world data (16xYx16 blocks).
Typically a certain amount of chunks is sent to the client before sending it the spawn PlayStatus packet,
so that the client spawns in a loaded world.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>x </td><td>zigzag32</td><td><p>ChunkX is the X coordinate of the chunk sent. (To translate a block's X to a chunk's X: x &gt;&gt; 4)</p></td></tr>
<tr><td class='field-name name'>z </td><td>zigzag32</td><td><p>ChunkZ is the Z coordinate of the chunk sent. (To translate a block's Z to a chunk's Z: z &gt;&gt; 4)</p></td></tr>
<tr><td class='field-name name'>sub chunk count </td><td>varint</td><td><p>SubChunkCount is the amount of sub chunks that are part of the chunk sent. Depending on if the cache
is enabled, a list of blob hashes will be sent, or, if disabled, the sub chunk data.</p></td></tr>
<tr><td class='field-name name'>cache enabled </td><td>bool</td><td><p>CacheEnabled specifies if the client blob cache should be enabled. This system is based on hashes of
blobs which are consistent and saved by the client in combination with that blob, so that the server
does not have to send the same chunk multiple times. If the client does not yet have a blob with the hash sent,
it will send a ClientCacheBlobStatus packet containing the hashes is does not have the data of.</p></td></tr>
<tr><td><b class='name'>blobs</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>cache enabled</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is true</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name field-implicit'><span class='name'>hashes</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>BlobHashes is a list of all blob hashes used in the chunk. It is composed of SubChunkCount + 1 hashes,
with the first SubChunkCount hashes being those of the sub chunks and the last one that of the biome
of the chunk.
If CacheEnabled is set to false, BlobHashes can be left empty.</p></td></tr>
<tr><td class='field-name'><span class='name'>hashes</span> <div class="tag tag-array">array</div></td><td>lu64</td><td></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td class='field-name name'>payload </td><td>ByteArray</td><td><p>RawPayload is a serialised string of chunk data. The data held depends on if CacheEnabled is set to
true. If set to false, the payload is composed of multiple sub-chunks, each of which carry a version
which indicates the way they are serialised, followed by biomes, border blocks and tile entities. If
CacheEnabled is true, the payload consists out of the border blocks and tile entities only.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_commands_enabled">
<a href="#packet_set_commands_enabled"><div class='packet-id bound-client'>59</div><div class='packet-name name'>packet set commands enabled</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>enabled </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_difficulty">
<a href="#packet_set_difficulty"><div class='packet-id bound-client'>60</div><div class='packet-name name'>packet set difficulty</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>difficulty </td><td>varint</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_change_dimension">
<a href="#packet_change_dimension"><div class='packet-id bound-client'>61</div><div class='packet-name name'>packet change dimension</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>dimension </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>respawn </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_player_game_type">
<a href="#packet_set_player_game_type"><div class='packet-id bound-both'>62</div><div class='packet-name name'>packet set player game type</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>SetPlayerGameType is sent by the server to update the game type (game mode) of the player</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>gamemode </td><td><a href="#GameMode">GameMode</a></td><td><p>The new gamemode for the player.
Some of these game types require additional flags to be set in an AdventureSettings packet for
the game mode to obtain its full functionality.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_player_list">
<a href="#packet_player_list"><div class='packet-id bound-client'>63</div><div class='packet-name name'>packet player list</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>records </td><td><a href="#PlayerRecords">PlayerRecords</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_simple_event">
<a href="#packet_simple_event"><div class='packet-id bound-client'>64</div><div class='packet-name name'>packet simple event</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>event type </td><td colspan=2 class="vpad"><div style='padding:8px'>lu16 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>uninitialized subtype</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>enable commands</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>disable commands</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>unlock world template settings</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_event">
<a href="#packet_event"><div class='packet-id bound-client'>65</div><div class='packet-name name'>packet event</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>Event is sent by the server to send an event with additional data. It is typically sent to the client for
telemetry reasons, much like the SimpleEvent packet.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime id </td><td>varint64</td><td></td></tr>
<tr><td class='name field-name'>event type </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>achievement awarded</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>entity interact</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>portal built</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>portal used</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>mob killed</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>cauldron used</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>player death</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>boss killed</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>agent command</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>agent created</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>banner pattern removed</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>command executed</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>fish bucketed</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>mob born</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>pet died</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>cauldron block used</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>composter block used</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>bell block used</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>use player id </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>event data </td><td>restBuffer</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_spawn_experience_orb">
<a href="#packet_spawn_experience_orb"><div class='packet-id bound-client'>66</div><div class='packet-name name'>packet spawn experience orb</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>count </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_clientbound_map_item_data">
<a href="#packet_clientbound_map_item_data"><div class='packet-id bound-client'>67</div><div class='packet-name name'>packet clientbound map item data</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>mapinfo </td><td>MapInfo</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_map_info_request">
<a href="#packet_map_info_request"><div class='packet-id bound-both'>68</div><div class='packet-name name'>packet map info request</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>map id </td><td>zigzag64</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_request_chunk_radius">
<a href="#packet_request_chunk_radius"><div class='packet-id bound-both'>69</div><div class='packet-name name'>packet request chunk radius</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>chunk radius </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_chunk_radius_update">
<a href="#packet_chunk_radius_update"><div class='packet-id bound-client'>70</div><div class='packet-name name'>packet chunk radius update</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>chunk radius </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_item_frame_drop_item">
<a href="#packet_item_frame_drop_item"><div class='packet-id bound-both'>71</div><div class='packet-name name'>packet item frame drop item</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>coordinates </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_game_rules_changed">
<a href="#packet_game_rules_changed"><div class='packet-id bound-client'>72</div><div class='packet-name name'>packet game rules changed</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>rules </td><td><a href="#GameRules">GameRules</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_camera">
<a href="#packet_camera"><div class='packet-id bound-client'>73</div><div class='packet-name name'>packet camera</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>Camera is sent by the server to use an Education Edition camera on a player. It produces an image
client-side.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>camera entity unique id </td><td>zigzag64</td><td><p>CameraEntityUniqueID is the unique ID of the camera entity from which the picture was taken.</p></td></tr>
<tr><td class='field-name name'>target player unique id </td><td>zigzag64</td><td><p>TargetPlayerUniqueID is the unique ID of the target player. The unique ID is a value that remains
consistent across different sessions of the same world, but most servers simply fill the runtime ID of
the player out for this field.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_boss_event">
<a href="#packet_boss_event"><div class='packet-id bound-both'>74</div><div class='packet-name name'>packet boss event</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>boss entity id </td><td>zigzag64</td><td></td></tr>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>show bar</td><td><p>S2C: Shows the boss-bar to the player.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>register player</td><td><p>C2S: Registers a player to a boss fight.</p></td></tr>
<tr><td class='name'>2</td><td class='name'>hide bar</td><td><p>S2C: Removes the boss-bar from the client.</p></td></tr>
<tr><td class='name'>3</td><td class='name'>unregister player</td><td><p>C2S: Unregisters a player from a boss fight.</p></td></tr>
<tr><td class='name'>4</td><td class='name'>set bar progress</td><td><p>S2C: Sets the bar percentage.</p></td></tr>
<tr><td class='name'>5</td><td class='name'>set bar title</td><td><p>S2C: Sets title of the bar.</p></td></tr>
<tr><td class='name'>6</td><td class='name'>update properties</td><td><p>S2C: darkens the sky</p></td></tr>
<tr><td class='name'>7</td><td class='name'>texture</td><td><p>S2C: Not implemented :( Intended to alter bar appearance, but these currently produce no effect on client-side whatsoever.</p></td></tr>
</table></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is register player or unregister player</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>player id </td><td>zigzag64</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is show</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>title </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>bar progress </td><td>lf32</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is update properties</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>darkness factor </td><td>li16</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is texture</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>color </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>overlay </td><td>varint</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is set bar progress</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>bar progress </td><td>lf32</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is set bar title</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>title </td><td>string</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_show_credits">
<a href="#packet_show_credits"><div class='packet-id bound-client'>75</div><div class='packet-name name'>packet show credits</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>status </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_available_commands">
<a href="#packet_available_commands"><div class='packet-id bound-client'>76</div><div class='packet-name name'>packet available commands</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>This packet sends a list of commands to the client. Commands can have
arguments, and some of those arguments can have 'enum' values, which are a list of possible
values for the argument. The serialization is rather complex and involves palettes like chunks.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>values len </td><td>varint</td><td><p>The length of the enums for all the command parameters in this packet</p></td></tr>
<tr><td colspan=2 class="vpad"><i>Length for <span class='name'>enum values</span> below is <b class='name'>values len</b> from above</td><td rowspan=2><p>Not read from stream: instead calculated from the <code>values_len</code> field
If the values<em>len < 0xff => byte
If the values</em>len < 0xffff => short
If the values_len < 0xffffff => int
Here all the enum values for all of the possible commands are stored to one array palette</p></i></td></tr>
<tr><td class='field-name'><span class='name'>enum values</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>suffixes</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Integer parameters may sometimes have a prefix, such as the XP command:
/xp <amount: int> [player: target] <- here, the xp command gives experience points
/xp <amount: int>L [player: target] &lt;- here, the xp command gives experience levels
This is the palette of suffixes</p></td></tr>
<tr><td class='field-name'><span class='name'>suffixes</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>enums</span> length</td><td class="field-implicit">varint</td><td ><p>The list of enum objects</p></td></tr>
<tr><td class='field-name'><span class='name'>enums</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>name </td><td>string</td><td><p>The name of the enum</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>values</span> length</td><td class="field-implicit">varint</td><td ><p>The values in the enum </p></td></tr>
<tr><td class='field-name'><span class='name'>values</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>../ enum type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is byte</span> </td><td>u8</td><td><p>The indexes to value in the palette</p></td></tr>
<tr><td class='field-name name'><span class='fake'>is short</span> </td><td>lu16</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is int</span> </td><td>lu32</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>command data</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>command data</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>description </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>flags </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>permission level </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>alias </td><td>li32</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>overloads</span> length</td><td class="field-implicit">varint</td><td ><p>The list of overload parameters for this command</p></td></tr>
<tr><td class='field-name'><span class='name'>overloads</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name field-implicit'><span class='name'>parameters</span> length</td><td class="field-implicit">varint</td><td ><p>Each of the parameters gets an array of posible overloads</p></td></tr>
<tr><td class='field-name'><span class='name'>parameters</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>parameter name </td><td>string</td><td><p>The name of the parameter shown to the user (the <code>amount</code> in <code>/xp &lt;amount: int&gt;</code>)</p></td></tr>
<tr><td class='name field-name'>value type </td><td colspan=2 class="vpad"><div style='padding:8px'>lu16 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>1</td><td class='name'>int</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>float</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>value</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>wildcard int</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>operator</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>target</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>file path</td><td></td></tr>
<tr><td class='name'>29</td><td class='name'>string</td><td></td></tr>
<tr><td class='name'>37</td><td class='name'>position</td><td></td></tr>
<tr><td class='name'>41</td><td class='name'>message</td><td></td></tr>
<tr><td class='name'>43</td><td class='name'>raw text</td><td></td></tr>
<tr><td class='name'>46</td><td class='name'>json</td><td></td></tr>
<tr><td class='name'>53</td><td class='name'>command</td><td></td></tr>
</table></td></tr>
<tr><td class='name field-name'>enum type </td><td colspan=2 class="vpad"><div style='padding:8px'>lu16 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>16</td><td class='name'>valid</td><td><p>In MC, this + prior field are combined to one 32bit bitfield</p></td></tr>
<tr><td class='name'>48</td><td class='name'>enum</td><td></td></tr>
<tr><td class='name'>256</td><td class='name'>suffixed</td><td></td></tr>
<tr><td class='name'>1040</td><td class='name'>soft enum</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>optional </td><td>bool</td><td><p>Is this parameter required?</p></td></tr>
<tr><td class='field-name name'>options </td><td>CommandFlags</td><td><p>Additinal options for this command (thanks macroshaft…)</p></td></tr>
</table></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>dynamic enums</span> length</td><td class="field-implicit">varint</td><td ><p>There are two types of enums: static enums which cannot be changed after sending AvaliableCommands,
(unless you resend the whole packet) and 'soft' or 'dynamic' enums like below which is an array
that can be updated with the UpdateSoftEnum packet</p></td></tr>
<tr><td class='field-name'><span class='name'>dynamic enums</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>values</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>values</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>enum constraints</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>enum constraints</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>value index </td><td>li32</td><td></td></tr>
<tr><td class='field-name name'>enum index </td><td>li32</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>constraints</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>constraints</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='name field-name'>constraint </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>cheats enabled</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_command_request">
<a href="#packet_command_request"><div class='packet-id bound-server'>77</div><div class='packet-name name'>packet command request</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>ParamOptionCollapseEnum specifies if the enum (only if the Type is actually an enum type. If not,
setting this to true has no effect) should be collapsed. This means that the options of the enum are
never shown in the actual usage of the command, but only as auto-completion, like it automatically does
with enums that have a big amount of options. To illustrate, it can make
<false|true|yes|no> <$Name: bool>.
enum<em>size</em>based<em>on</em>values_len: native
CommandRequest is sent by the client to request the execution of a server-side command. Although some
servers support sending commands using the Text packet, this packet is guaranteed to have the correct
result.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>command </td><td>string</td><td><p>CommandLine is the raw entered command line. The client does no parsing of the command line by itself
(unlike it did in the early stages), but lets the server do that.</p></td></tr>
<tr><td class='field-name name'>origin </td><td><a href="#CommandOrigin">CommandOrigin</a></td><td><p>Origin holds information about the command sender that will be returnd back in the command response</p></td></tr>
<tr><td class='field-name name'>internal </td><td>bool</td><td><p>Internal specifies if the command request internal. Setting it to false seems to work and the usage of
this field is not known.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_command_block_update">
<a href="#packet_command_block_update"><div class='packet-id bound-server'>78</div><div class='packet-name name'>packet command block update</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>CommandBlockUpdate is sent by the client to update a command block at a specific position. The command
block may be either a physical block or an entity.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>is block </td><td>bool</td><td><p>Block specifies if the command block updated was an actual physical block. If false, the command block
is in a minecart and has an entity runtime ID instead.</p></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>is block</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is true</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>Position is the position of the command block updated. It is only set if Block is set to true. Nothing
happens if no command block is set at this position.
Position is the position of the command block updated. It is only set if Block is set to true. Nothing
happens if no command block is set at this position.</p></td></tr>
<tr><td class='name field-name'>mode </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>impulse</td><td><p>Mode is the mode of the command block. It is either CommandBlockImpulse, CommandBlockChain or
CommandBlockRepeat. It is only set if Block is set to true.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>repeat</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>chain</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>needs redstone </td><td>bool</td><td><p>NeedsRedstone specifies if the command block needs to be powered by redstone to be activated. If false,
the command block is always active. The field is only set if Block is set to true.</p></td></tr>
<tr><td class='field-name name'>conditional </td><td>bool</td><td><p>Conditional specifies the behaviour of the command block if the command block before it (the opposite
side of the direction the arrow if facing) fails to execute. If set to false, it will activate at all
times, whereas if set to true, it will activate only if the previous command block executed
successfully. The field is only set if Block is set to true.</p></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is false</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>minecart entity runtime id </td><td>varint64</td><td></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td class='field-name name'>command </td><td>string</td><td><p>Command is the command currently entered in the command block. This is the command that is executed
when the command block is activated.</p></td></tr>
<tr><td class='field-name name'>last output </td><td>string</td><td><p>LastOutput is the output of the last command executed by the command block. It may be left empty to
show simply no output at all, in combination with setting ShouldTrackOutput to false.</p></td></tr>
<tr><td class='field-name name'>name </td><td>string</td><td><p>Name is the name of the command block updated. If not empty, it will show this name hovering above the
command block when hovering over the block with the cursor.</p></td></tr>
<tr><td class='field-name name'>should track output </td><td>bool</td><td><p>ShouldTrackOutput specifies if the command block tracks output. If set to false, the output box won't
be shown within the command block.</p></td></tr>
<tr><td class='field-name name'>tick delay </td><td>li32</td><td><p>TickDelay is the delay in ticks between executions of a command block, if it is a repeating command
block.</p></td></tr>
<tr><td class='field-name name'>execute on first tick </td><td>bool</td><td><p>ExecuteOnFirstTick specifies if the command block should execute on the first tick, AKA as soon as the
command block is enabled.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_command_output">
<a href="#packet_command_output"><div class='packet-id bound-client'>79</div><div class='packet-name name'>packet command output</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>origin </td><td><a href="#CommandOrigin">CommandOrigin</a></td><td><p>CommandOrigin is the data specifying the origin of the command. In other words, the source that the
command request was from, such as the player itself or a websocket server. The client forwards the
messages in this packet to the right origin, depending on what is sent here.</p></td></tr>
<tr><td class='field-name name'>output type </td><td>i8</td><td><p>OutputType specifies the type of output that is sent. The OutputType sent by vanilla games appears to
be 3, which seems to work.</p></td></tr>
<tr><td class='field-name name'>success count </td><td>varint</td><td><p>SuccessCount is the amount of times that a command was executed successfully as a result of the command
that was requested. For servers, this is usually a rather meaningless fields, but for vanilla, this is
applicable for commands created with Functions.</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>output</span> length</td><td class="field-implicit">varint</td><td ><p>OutputMessages is a list of all output messages that should be sent to the player. Whether they are
shown or not, depends on the type of the messages.</p></td></tr>
<tr><td class='field-name'><span class='name'>output</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>success </td><td>bool</td><td><p>Success indicates if the output message was one of a successful command execution. If set to true, the
output message is by default coloured white, whereas if set to false, the message is by default
coloured red.</p></td></tr>
<tr><td class='field-name name'>message id </td><td>string</td><td><p>Message is the message that is sent to the client in the chat window. It may either be simply a
message or a translated built-in string like 'commands.tp.success.coordinates', combined with specific
parameters below.</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>parameters</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Parameters is a list of parameters that serve to supply the message sent with additional information,
such as the position that a player was teleported to or the effect that was applied to an entity.
These parameters only apply for the Minecraft built-in command output.</p></td></tr>
<tr><td class='field-name'><span class='name'>parameters</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_trade">
<a href="#packet_update_trade"><div class='packet-id bound-client'>80</div><div class='packet-name name'>packet update trade</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>UpdateTrade is sent by the server to update the trades offered by a villager to a player. It is sent at the
moment that a player interacts with a villager.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>window id </td><td><a href="#WindowID">WindowID</a></td><td><p>WindowID is the ID that identifies the trading window that the client currently has opened.</p></td></tr>
<tr><td class='field-name name'>window type </td><td><a href="#WindowType">WindowType</a></td><td><p>WindowType is an identifier specifying the type of the window opened. In vanilla, it appears this is
always filled out with 15.</p></td></tr>
<tr><td class='field-name name'>size </td><td>varint</td><td><p>Size is the amount of trading options that the villager has.</p></td></tr>
<tr><td class='field-name name'>trade tier </td><td>varint</td><td><p>TradeTier is the tier of the villager that the player is trading with. The tier starts at 0 with a
first two offers being available, after which two additional offers are unlocked each time the tier
becomes one higher.</p></td></tr>
<tr><td class='field-name name'>villager unique id </td><td>varint64</td><td><p>VillagerUniqueID is the unique ID of the villager entity that the player is trading with. The
TradeTier sent above applies to this villager.</p></td></tr>
<tr><td class='field-name name'>entity unique id </td><td>varint64</td><td><p>EntityUniqueID is the unique ID of the entity (usually a player) for which the trades are updated. The
updated trades may apply only to this entity.</p></td></tr>
<tr><td class='field-name name'>display name </td><td>string</td><td><p>DisplayName is the name displayed at the top of the trading UI. It is usually used to represent the
profession of the villager in the UI.</p></td></tr>
<tr><td class='field-name name'>new trading ui </td><td>bool</td><td><p>NewTradeUI specifies if the villager should be using the new trade UI (The one added in 1.11.) rather
than the old one. This should usually be set to true.</p></td></tr>
<tr><td class='field-name name'>economic trades </td><td>bool</td><td><p>Trading based on Minecraft economy - specifies if the prices of the villager's offers are modified by an increase in
demand for the item. (A mechanic added in 1.11.) Buying more of the same item will increase the price
of that particular item.
https://minecraft.wiki/w/Trading#Economics</p></td></tr>
<tr><td class='field-name name'>offers </td><td>nbt</td><td><p>NBT serialised compound of offers that the villager has.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_equipment">
<a href="#packet_update_equipment"><div class='packet-id bound-client'>81</div><div class='packet-name name'>packet update equipment</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>UpdateEquip is sent by the server to the client upon opening a horse inventory. It is used to set the
content of the inventory and specify additional properties, such as the items that are allowed to be put
in slots of the inventory.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>window id </td><td><a href="#WindowID">WindowID</a></td><td><p>WindowID is the identifier associated with the window that the UpdateEquip packet concerns. It is the
ID sent for the horse inventory that was opened before this packet was sent.</p></td></tr>
<tr><td class='field-name name'>window type </td><td><a href="#WindowType">WindowType</a></td><td><p>WindowType is the type of the window that was opened. Generally, this is the type of a horse inventory,
as the packet is specifically made for that.</p></td></tr>
<tr><td class='field-name name'>size </td><td>u8</td><td><p>Size is the size of the horse inventory that should be opened. A bigger size does, in fact, change the
amount of slots displayed.</p></td></tr>
<tr><td class='field-name name'>entity id </td><td>zigzag64</td><td><p>EntityUniqueID is the unique ID of the entity whose equipment was 'updated' to the player. It is
typically the horse entity that had its inventory opened.</p></td></tr>
<tr><td class='field-name name'>inventory </td><td>nbt</td><td><p><code>inventory</code> is a network NBT serialised compound holding the content of the inventory of
the entity (the equipment) and additional data such as the allowed items for a particular slot, used to
make sure only saddles can be put in the saddle slot etc.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_resource_pack_data_info">
<a href="#packet_resource_pack_data_info"><div class='packet-id bound-client'>82</div><div class='packet-name name'>packet resource pack data info</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>package id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>max chunk size </td><td>lu32</td><td></td></tr>
<tr><td class='field-name name'>chunk count </td><td>lu32</td><td></td></tr>
<tr><td class='field-name name'>compressed package size </td><td>lu64</td><td></td></tr>
<tr><td class='field-name name'>hash </td><td>ByteArray</td><td></td></tr>
<tr><td class='field-name name'>is premium </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>pack type </td><td>u8</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_resource_pack_chunk_data">
<a href="#packet_resource_pack_chunk_data"><div class='packet-id bound-client'>83</div><div class='packet-name name'>packet resource pack chunk data</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>package id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>chunk index </td><td>lu32</td><td></td></tr>
<tr><td class='field-name name'>progress </td><td>lu64</td><td></td></tr>
<tr><td class='field-name name'>payload </td><td>ByteArray</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_resource_pack_chunk_request">
<a href="#packet_resource_pack_chunk_request"><div class='packet-id bound-server'>84</div><div class='packet-name name'>packet resource pack chunk request</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>package id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>chunk index </td><td>lu32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_transfer">
<a href="#packet_transfer"><div class='packet-id bound-client'>85</div><div class='packet-name name'>packet transfer</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>server address </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>port </td><td>lu16</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_play_sound">
<a href="#packet_play_sound"><div class='packet-id bound-client'>86</div><div class='packet-name name'>packet play sound</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>coordinates </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
<tr><td class='field-name name'>volume </td><td>lf32</td><td></td></tr>
<tr><td class='field-name name'>pitch </td><td>lf32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_stop_sound">
<a href="#packet_stop_sound"><div class='packet-id bound-client'>87</div><div class='packet-name name'>packet stop sound</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>stop all </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_title">
<a href="#packet_set_title"><div class='packet-id bound-client'>88</div><div class='packet-name name'>packet set title</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>type </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>text </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>fade in time </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>stay time </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>fade out time </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_add_behavior_tree">
<a href="#packet_add_behavior_tree"><div class='packet-id bound-client'>89</div><div class='packet-name name'>packet add behavior tree</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>behaviortree </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_structure_block_update">
<a href="#packet_structure_block_update"><div class='packet-id bound-client'>90</div><div class='packet-name name'>packet structure block update</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_show_store_offer">
<a href="#packet_show_store_offer"><div class='packet-id bound-client'>91</div><div class='packet-name name'>packet show store offer</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>unknown0 </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>unknown1 </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_purchase_receipt">
<a href="#packet_purchase_receipt"><div class='packet-id bound-server'>92</div><div class='packet-name name'>packet purchase receipt</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>PurchaseReceipt is sent by the client to the server to notify the server it purchased an item from the
Marketplace store that was offered by the server. The packet is only used for partnered servers.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>receipts</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Receipts is a list of receipts, or proofs of purchases, for the offers that have been purchased by the
player.</p></td></tr>
<tr><td class='field-name'><span class='name'>receipts</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_player_skin">
<a href="#packet_player_skin"><div class='packet-id bound-both'>93</div><div class='packet-name name'>packet player skin</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>uuid </td><td>uuid</td><td></td></tr>
<tr><td class='field-name name'>skin </td><td><a href="#Skin">Skin</a></td><td></td></tr>
<tr><td class='field-name name'>skin name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>old skin name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>is verified </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_sub_client_login">
<a href="#packet_sub_client_login"><div class='packet-id bound-server'>94</div><div class='packet-name name'>packet sub client login</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>SubClientLogin is sent when a sub-client joins the server while another client is already connected to it.
The packet is sent as a result of split-screen game play, and allows up to four players to play using the
same network connection. After an initial Login packet from the 'main' client, each sub-client that
connects sends a SubClientLogin to request their own login.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>tokens </td><td>["encapsulated", { "lengthType": "varint", "type": "LoginTokens" }]</td><td><p>ConnectionRequest is a string containing information about the player and JWTs that may be used to
verify if the player is connected to XBOX Live. The connection request also contains the necessary
client public key to initiate encryption.
The ConnectionRequest in this packet is identical to the one found in the Login packet.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_initiate_web_socket_connection">
<a href="#packet_initiate_web_socket_connection"><div class='packet-id bound-client'>95</div><div class='packet-name name'>packet initiate web socket connection</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>server </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_last_hurt_by">
<a href="#packet_set_last_hurt_by"><div class='packet-id bound-client'>96</div><div class='packet-name name'>packet set last hurt by</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>unknown </td><td>varint</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_book_edit">
<a href="#packet_book_edit"><div class='packet-id bound-server'>97</div><div class='packet-name name'>packet book edit</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>BookEdit is sent by the client when it edits a book. It is sent each time a modification was made and the
player stops its typing 'session', rather than simply after closing the book.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>replace page</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>add page</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>delete page</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>swap pages</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>sign</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>slot </td><td>u8</td><td></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is replace page or add page</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>page number </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>text </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>photo name </td><td>string</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is delete page</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>page number </td><td>u8</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is swap pages</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>page1 </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>page2 </td><td>u8</td><td></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is sign</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>title </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>author </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>xuid </td><td>string</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_npc_request">
<a href="#packet_npc_request"><div class='packet-id bound-both'>98</div><div class='packet-name name'>packet npc request</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>unknown0 </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>unknown1 </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>unknown2 </td><td>u8</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_photo_transfer">
<a href="#packet_photo_transfer"><div class='packet-id bound-server'>99</div><div class='packet-name name'>packet photo transfer</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>file name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>image data </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>unknown2 </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_modal_form_request">
<a href="#packet_modal_form_request"><div class='packet-id bound-client'>100</div><div class='packet-name name'>packet modal form request</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>form id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>data </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_modal_form_response">
<a href="#packet_modal_form_response"><div class='packet-id bound-server'>101</div><div class='packet-name name'>packet modal form response</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>form id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>data </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_server_settings_request">
<a href="#packet_server_settings_request"><div class='packet-id bound-server'>102</div><div class='packet-name name'>packet server settings request</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_server_settings_response">
<a href="#packet_server_settings_response"><div class='packet-id bound-client'>103</div><div class='packet-name name'>packet server settings response</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>form id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>data </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_show_profile">
<a href="#packet_show_profile"><div class='packet-id bound-client'>104</div><div class='packet-name name'>packet show profile</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>xuid </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_default_game_type">
<a href="#packet_set_default_game_type"><div class='packet-id bound-server'>105</div><div class='packet-name name'>packet set default game type</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>SetDefaultGameType is sent by the client when it toggles the default game type in the settings UI, and is
sent by the server when it actually changes the default game type, resulting in the toggle being changed
in the settings UI.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>gamemode </td><td><a href="#GameMode">GameMode</a></td><td><p>GameType is the new game type that is set. When sent by the client, this is the requested new default
game type.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_remove_objective">
<a href="#packet_remove_objective"><div class='packet-id bound-client'>106</div><div class='packet-name name'>packet remove objective</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>objective name </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_display_objective">
<a href="#packet_set_display_objective"><div class='packet-id bound-client'>107</div><div class='packet-name name'>packet set display objective</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>display slot </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>objective name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>display name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>criteria name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>sort order </td><td>zigzag32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_score">
<a href="#packet_set_score"><div class='packet-id bound-client'>108</div><div class='packet-name name'>packet set score</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>entries </td><td><a href="#ScoreEntries">ScoreEntries</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_lab_table">
<a href="#packet_lab_table"><div class='packet-id bound-both'>109</div><div class='packet-name name'>packet lab table</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>LabTable is sent by the client to let the server know it started a chemical reaction in Education Edition,
and is sent by the server to other clients to show the effects.
The packet is only functional if Education features are enabled.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>action type </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>combine</td><td><p>ActionType is the type of the action that was executed. It is one of the constants above. Typically,
only LabTableActionCombine is sent by the client, whereas LabTableActionReact is sent by the server.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>react</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>reset</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3i">vec3i</a></td><td><p>Position is the position at which the lab table used was located.</p></td></tr>
<tr><td class='field-name name'>reaction type </td><td>u8</td><td><p>ReactionType is the type of the reaction that took place as a result of the items put into the lab
table. The reaction type can be either that of an item or a particle, depending on whatever the result
was of the reaction.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_block_synced">
<a href="#packet_update_block_synced"><div class='packet-id bound-client'>110</div><div class='packet-name name'>packet update block synced</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>coordinates </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
<tr><td class='field-name name'>block runtime id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>block priority </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>data layer id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>unknown0 </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>unknown1 </td><td>varint</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_move_entity_delta">
<a href="#packet_move_entity_delta"><div class='packet-id bound-client'>111</div><div class='packet-name name'>packet move entity delta</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>MoveActorDelta is sent by the server to move an entity. The packet is specifically optimised to save as
much space as possible, by only writing non-zero fields.
As of 1.16.100, this packet no longer actually contains any deltas.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint64</td><td><p>EntityRuntimeID is the runtime ID of the entity that is being moved. The packet works provided a
non-player entity with this runtime ID is present.</p></td></tr>
<tr><td class='field-name name'>flags </td><td>DeltaMoveFlags</td><td><p>Flags is a list of flags that specify what data is in the packet.</p></td></tr>
<tr><td><b class='name'>x</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>flags.has x</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>lf32</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>y</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>flags.has y</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>lf32</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>z</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>flags.has z</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>lf32</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>rot x</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>flags.has rot x</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>u8</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>rot y</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>flags.has rot y</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>u8</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>rot z</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>flags.has rot z</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>u8</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_scoreboard_identity">
<a href="#packet_set_scoreboard_identity"><div class='packet-id bound-client'>112</div><div class='packet-name name'>packet set scoreboard identity</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>entries </td><td><a href="#ScoreboardIdentityEntries">ScoreboardIdentityEntries</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_set_local_player_as_initialized">
<a href="#packet_set_local_player_as_initialized"><div class='packet-id bound-server'>113</div><div class='packet-name name'>packet set local player as initialized</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>SetLocalPlayerAsInitialised is sent by the client in response to a PlayStatus packet with the status set
to spawn. The packet marks the moment at which the client is fully initialised and can receive any packet
without discarding it.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>runtime entity id </td><td>varint64</td><td><p>EntityRuntimeID is the entity runtime ID the player was assigned earlier in the login sequence in the
StartGame packet.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_soft_enum">
<a href="#packet_update_soft_enum"><div class='packet-id bound-client'>114</div><div class='packet-name name'>packet update soft enum</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>UpdateSoftEnum is sent by the server to update a soft enum, also known as a dynamic enum, previously sent
in the AvailableCommands packet. It is sent whenever the enum should get new options or when some of its
options should be removed.
The UpdateSoftEnum packet will apply for enums that have been set in the AvailableCommands packet with the
'Dynamic' field of the CommandEnum set to true.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>enum type </td><td>string</td><td><p>EnumType is the type of the enum. This type must be identical to the one set in the AvailableCommands
packet, because the client uses this to recognise which enum to update.</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>options</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Options is a list of options that should be updated. Depending on the ActionType field, either these
options will be added to the enum, the enum options will be set to these options or all of these
options will be removed from the enum.</p></td></tr>
<tr><td class='field-name'><span class='name'>options</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
<tr><td class='name field-name'>action type </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>add</td><td><p>ActionType is the type of the action to execute on the enum. The Options field has a different result,
depending on what ActionType is used.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>remove</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>update</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_network_stack_latency">
<a href="#packet_network_stack_latency"><div class='packet-id bound-both'>115</div><div class='packet-name name'>packet network stack latency</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>timestamp </td><td>lu64</td><td></td></tr>
<tr><td class='field-name name'>unknown flag </td><td>u8</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_script_custom_event">
<a href="#packet_script_custom_event"><div class='packet-id bound-both'>117</div><div class='packet-name name'>packet script custom event</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>event name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>event data </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_spawn_particle_effect">
<a href="#packet_spawn_particle_effect"><div class='packet-id bound-client'>118</div><div class='packet-name name'>packet spawn particle effect</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>dimension id </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>entity id </td><td>zigzag64</td><td></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>particle name </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_available_entity_identifiers">
<a href="#packet_available_entity_identifiers"><div class='packet-id bound-client'>119</div><div class='packet-name name'>packet available entity identifiers</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>nbt </td><td>nbt</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_level_sound_event_v2">
<a href="#packet_level_sound_event_v2"><div class='packet-id bound-both'>120</div><div class='packet-name name'>packet level sound event v2</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>sound id </td><td>u8</td><td></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>block id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>entity type </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>is baby mob </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>is global </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_network_chunk_publisher_update">
<a href="#packet_network_chunk_publisher_update"><div class='packet-id bound-client'>121</div><div class='packet-name name'>packet network chunk publisher update</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>coordinates </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
<tr><td class='field-name name'>radius </td><td>varint</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_biome_definition_list">
<a href="#packet_biome_definition_list"><div class='packet-id bound-client'>122</div><div class='packet-name name'>packet biome definition list</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>nbt </td><td>nbt</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_level_sound_event">
<a href="#packet_level_sound_event"><div class='packet-id bound-both'>123</div><div class='packet-name name'>packet level sound event</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>sound id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>block id </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>entity type </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>is baby mob </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>is global </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_level_event_generic">
<a href="#packet_level_event_generic"><div class='packet-id bound-client'>124</div><div class='packet-name name'>packet level event generic</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>LevelEventGeneric is sent by the server to send a 'generic' level event to the client. This packet sends an
NBT serialised object and may for that reason be used for any event holding additional data.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>event id </td><td>varint</td><td><p>EventID is a unique identifier that identifies the event called. The data that follows has fields in
the NBT depending on what event it is.</p></td></tr>
<tr><td class='field-name name'>nbt </td><td>nbtLoop</td><td><p>SerialisedEventData is a network little endian serialised object of event data, with fields that vary
depending on EventID.
Unlike many other NBT structures, this data is not actually in a compound but just loosely floating
NBT tags. To decode using the nbt package, you would need to append 0x0a00 at the start (compound id
and name length) and add 0x00 at the end, to manually wrap it in a compound. Likewise, you would have
to remove these bytes when encoding.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_lectern_update">
<a href="#packet_lectern_update"><div class='packet-id bound-server'>125</div><div class='packet-name name'>packet lectern update</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>LecternUpdate is sent by the client to update the server on which page was opened in a book on a lectern,
or if the book should be removed from it.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>page </td><td>u8</td><td><p>Page is the page number in the book that was opened by the player on the lectern.</p></td></tr>
<tr><td class='field-name name'>page count </td><td>u8</td><td><p>PageCount is the number of pages that the book opened in the lectern has.</p></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3i">vec3i</a></td><td><p>Position is the position of the lectern that was updated. If no lectern is at the block position,
the packet should be ignored.</p></td></tr>
<tr><td class='field-name name'>drop book </td><td>bool</td><td><p>DropBook specifies if the book currently set on display in the lectern should be dropped server-side.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_video_stream_connect">
<a href="#packet_video_stream_connect"><div class='packet-id bound-client'>126</div><div class='packet-name name'>packet video stream connect</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>server uri </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>frame send frequency </td><td>lf32</td><td></td></tr>
<tr><td class='name field-name'>action </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>1</td><td class='name'>none</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>close</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>resolution x </td><td>li32</td><td></td></tr>
<tr><td class='field-name name'>resolution y </td><td>li32</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_add_ecs_entity">
<a href="#packet_add_ecs_entity"><div class='packet-id bound-client'>127</div><div class='packet-name name'>packet add ecs entity</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>This is NOT a Minecraft entity, but an entity in the Entity Component System (ECS)
for the game engine Minecrat Bedrock uses. Internally, all 'Minecraft entities' are
known as Actors including in packet names and fields. However, these are irrelevant
internal details so we don't do the renames in these protocol definitions, for simplicity we just use Entity.<br/>
AddEntity is sent by the server to the client. Its function is not entirely clear: It does not add an
entity in the sense of an in-game entity, but has to do with the ECS that Minecraft uses.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>network id </td><td>varint64</td><td><p>EntityNetworkID is the network ID of the entity that should be added.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_remove_ecs_entity">
<a href="#packet_remove_ecs_entity"><div class='packet-id bound-client'>128</div><div class='packet-name name'>packet remove ecs entity</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>RemoveEntity is sent by the server to the client. Its function is not entirely clear: It does not remove an
entity in the sense of an in-game entity, but has to do with the ECS that Minecraft uses</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>network id </td><td>varint64</td><td><p>EntityNetworkID is the network ID of the entity that should be removed.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_client_cache_status">
<a href="#packet_client_cache_status"><div class='packet-id bound-both'>129</div><div class='packet-name name'>packet client cache status</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>enabled </td><td>bool</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_on_screen_texture_animation">
<a href="#packet_on_screen_texture_animation"><div class='packet-id bound-client'>130</div><div class='packet-name name'>packet on screen texture animation</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_map_create_locked_copy">
<a href="#packet_map_create_locked_copy"><div class='packet-id bound-client'>131</div><div class='packet-name name'>packet map create locked copy</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_structure_template_data_export_request">
<a href="#packet_structure_template_data_export_request"><div class='packet-id bound-server'>132</div><div class='packet-name name'>packet structure template data export request</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_structure_template_data_export_response">
<a href="#packet_structure_template_data_export_response"><div class='packet-id bound-client'>133</div><div class='packet-name name'>packet structure template data export response</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_block_properties">
<a href="#packet_update_block_properties"><div class='packet-id bound-client'>134</div><div class='packet-name name'>packet update block properties</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>nbt </td><td>nbt</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_client_cache_blob_status">
<a href="#packet_client_cache_blob_status"><div class='packet-id bound-server'>135</div><div class='packet-name name'>packet client cache blob status</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>ClientCacheBlobStatus is part of the blob cache protocol. It is sent by the client to let the server know
what blobs it needs and which blobs it already has, in an ACK type system.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>misses </td><td>varint</td><td><p>The number of MISSes in this packet</p></td></tr>
<tr><td class='field-name name'>haves </td><td>varint</td><td><p>The number of HITs in this packet</p></td></tr>
<tr><td colspan=2 class="vpad"><i>Length for <span class='name'>missing</span> below is <b class='name'>misses</b> from above</td><td rowspan=2><p>A list of blob hashes that the client does not have a blob available for. The server
should send the blobs matching these hashes as soon as possible.</p></i></td></tr>
<tr><td class='field-name'><span class='name'>missing</span> <div class="tag tag-array">array</div></td><td>lu64</td><td></td></tr>
<tr><td colspan=2 class="vpad"><i>Length for <span class='name'>have</span> below is <b class='name'>haves</b> from above</td><td rowspan=2><p>A list of hashes that the client does have a cached blob for. Server doesn't need to send.</p></i></td></tr>
<tr><td class='field-name'><span class='name'>have</span> <div class="tag tag-array">array</div></td><td>lu64</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_client_cache_miss_response">
<a href="#packet_client_cache_miss_response"><div class='packet-id bound-client'>136</div><div class='packet-name name'>packet client cache miss response</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>ClientCacheMissResponse is part of the blob cache protocol. It is sent by the server in response to a
ClientCacheBlobStatus packet and contains the blob data of all blobs that the client acknowledged not to
have yet.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>blobs</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>blobs</span> <div class="tag tag-array">array</div></td><td>Blob</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_education_settings">
<a href="#packet_education_settings"><div class='packet-id bound-client'>137</div><div class='packet-name name'>packet education settings</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>EducationSettings is a packet sent by the server to update Minecraft: Education Edition related settings.
It is unused by the normal base game.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>CodeBuilderDefaultURI </td><td>string</td><td><p>CodeBuilderDefaultURI is the default URI that the code builder is ran on. Using this, a Code Builder
program can make code directly affect the server.</p></td></tr>
<tr><td class='field-name name'>CodeBuilderTitle </td><td>string</td><td><p>CodeBuilderTitle is the title of the code builder shown when connected to the CodeBuilderDefaultURI.</p></td></tr>
<tr><td class='field-name name'>CanResizeCodeBuilder </td><td>bool</td><td><p>CanResizeCodeBuilder specifies if clients connected to the world should be able to resize the code
builder when it is opened.</p></td></tr>
<tr><td class='field-name name'>HasOverrideURI </td><td>bool</td><td></td></tr>
<tr><td><b class='name'>OverrideURI</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>HasOverrideURI</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>string</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>HasQuiz </td><td>bool</td><td><p>HasQuiz specifies if the world has a quiz connected to it.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_emote">
<a href="#packet_emote"><div class='packet-id bound-both'>138</div><div class='packet-name name'>packet emote</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
the server, after which the server will broadcast the packet to other players online.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>entity id </td><td>varint64</td><td><p>EntityRuntimeID is the entity that sent the emote. When a player sends this packet, it has this field
set as its own entity runtime ID.</p></td></tr>
<tr><td class='field-name name'>emote id </td><td>string</td><td><p>EmoteID is the ID of the emote to send.</p></td></tr>
<tr><td class='field-name name'>flags </td><td>u8</td><td><p>Flags is a combination of flags that change the way the Emote packet operates. When the server sends
this packet to other players, EmoteFlagServerSide must be present.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_multiplayer_settings">
<a href="#packet_multiplayer_settings"><div class='packet-id bound-server'>139</div><div class='packet-name name'>packet multiplayer settings</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>MultiPlayerSettings is sent by the client to update multi-player related settings server-side and sent back
to online players by the server.
The MultiPlayerSettings packet is a Minecraft: Education Edition packet. It has no functionality for the
base game.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>action type </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>enable multiplayer</td><td><p>ActionType is the action that should be done when this packet is sent. It is one of the constants that
may be found above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>disable multiplayer</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>refresh join code</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_settings_command">
<a href="#packet_settings_command"><div class='packet-id bound-server'>140</div><div class='packet-name name'>packet settings command</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>SettingsCommand is sent by the client when it changes a setting in the settings that results in the issuing
of a command to the server, such as when Show Coordinates is enabled.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>command line </td><td>string</td><td><p>CommandLine is the full command line that was sent to the server as a result of the setting that the
client changed.</p></td></tr>
<tr><td class='field-name name'>suppress output </td><td>bool</td><td><p>SuppressOutput specifies if the client requests the suppressing of the output of the command that was
executed. Generally this is set to true, as the client won't need a message to confirm the output of
the change.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_anvil_damage">
<a href="#packet_anvil_damage"><div class='packet-id bound-server'>141</div><div class='packet-name name'>packet anvil damage</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>AnvilDamage is sent by the client to request the dealing damage to an anvil. This packet is completely
pointless and the server should never listen to it.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>damage </td><td>u8</td><td><p>Damage is the damage that the client requests to be dealt to the anvil.</p></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>AnvilPosition is the position in the world that the anvil can be found at.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_completed_using_item">
<a href="#packet_completed_using_item"><div class='packet-id bound-client'>142</div><div class='packet-name name'>packet completed using item</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>CompletedUsingItem is sent by the server to tell the client that it should be done using the item it is
currently using.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>used item id </td><td>li16</td><td><p>UsedItemID is the item ID of the item that the client completed using. This should typically be the
ID of the item held in the hand.</p></td></tr>
<tr><td class='name field-name'>use method </td><td colspan=2 class="vpad"><div style='padding:8px'>li32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>equip armor</td><td><p>UseMethod is the method of the using of the item that was completed. It is one of the constants that
may be found above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>eat</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>attack</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>consume</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>throw</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>shoot</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>place</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>fill bottle</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>fill bucket</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>pour bucket</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>use tool</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>interact</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>retrieved</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>dyed</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>traded</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_network_settings">
<a href="#packet_network_settings"><div class='packet-id bound-both'>143</div><div class='packet-name name'>packet network settings</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>NetworkSettings is sent by the server to update a variety of network settings. These settings modify the
way packets are sent over the network stack.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>compression threshold </td><td>u16</td><td><p>CompressionThreshold is the minimum size of a packet that is compressed when sent. If the size of a
packet is under this value, it is not compressed.
When set to 0, all packets will be left uncompressed.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_player_auth_input">
<a href="#packet_player_auth_input"><div class='packet-id bound-server'>144</div><div class='packet-name name'>packet player auth input</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>PlayerAuthInput is sent by the client to allow for server authoritative movement. It is used to synchronise
the player input with the position server-side.
The client sends this packet when the ServerAuthoritativeMovementMode field in the StartGame packet is set
to true, instead of the MovePlayer packet. The client will send this packet once every tick.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>pitch </td><td>lf32</td><td><p>Pitch that the player reports it has.</p></td></tr>
<tr><td class='field-name name'>yaw </td><td>lf32</td><td><p>Yaw that player reports it has.</p></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td><p>Position holds the position that the player reports it has.</p></td></tr>
<tr><td class='field-name name'>move vector </td><td><a href="#vec2f">vec2f</a></td><td><p>MoveVector is a Vec2 that specifies the direction in which the player moved, as a combination of X/Z
values which are created using the WASD/controller stick state.</p></td></tr>
<tr><td class='field-name name'>head yaw </td><td>lf32</td><td><p>HeadYaw is the horizontal rotation of the head that the player reports it has.</p></td></tr>
<tr><td class='field-name name'>input data </td><td>InputFlag</td><td><p>InputData is a combination of bit flags that together specify the way the player moved last tick. It
is a combination of the flags above.</p></td></tr>
<tr><td class='name field-name'>input mode </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>mouse</td><td><p>InputMode specifies the way that the client inputs data to the screen. It is one of the constants that
may be found above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>touch</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>game pad</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>motion controller</td><td></td></tr>
</table></td></tr>
<tr><td class='name field-name'>play mode </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>normal</td><td><p>PlayMode specifies the way that the player is playing. The values it holds, which are rather random,
may be found above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>teaser</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>screen</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>viewer</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>reality</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>placement</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>living room</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>exit level</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>exit level living room</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>num modes</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>gaze direction</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>play mode</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is reality</span> </td><td><a href="#vec3f">vec3f</a></td><td><p>GazeDirection is the direction in which the player is gazing, when the PlayMode is PlayModeReality: In
other words, when the player is playing in virtual reality.</p></td></tr>
</table></td></tr>
<tr><td class='field-name name'>tick </td><td>varint64</td><td><p>Tick is the server tick at which the packet was sent. It is used in relation to
CorrectPlayerMovePrediction.</p></td></tr>
<tr><td class='field-name name'>delta </td><td><a href="#vec3f">vec3f</a></td><td><p>Delta was the delta between the old and the new position. There isn't any practical use for this field
as it can be calculated by the server itself.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_creative_content">
<a href="#packet_creative_content"><div class='packet-id bound-client'>145</div><div class='packet-name name'>packet creative content</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>items </td><td><a href="#ItemStacks">ItemStacks</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_player_enchant_options">
<a href="#packet_player_enchant_options"><div class='packet-id bound-client'>146</div><div class='packet-name name'>packet player enchant options</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>enchant options </td><td><a href="#EnchantOptions">EnchantOptions</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_item_stack_request">
<a href="#packet_item_stack_request"><div class='packet-id bound-server'>147</div><div class='packet-name name'>packet item stack request</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>requests </td><td><a href="#ItemStackRequests">ItemStackRequests</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_item_stack_response">
<a href="#packet_item_stack_response"><div class='packet-id bound-client'>148</div><div class='packet-name name'>packet item stack response</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>responses </td><td><a href="#ItemStackResponses">ItemStackResponses</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_player_armor_damage">
<a href="#packet_player_armor_damage"><div class='packet-id bound-client'>149</div><div class='packet-name name'>packet player armor damage</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>PlayerArmourDamage is sent by the server to damage the armour of a player. It is a very efficient packet,
but generally it's much easier to just send a slot update for the damaged armour.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>type </td><td>ArmorDamageType</td><td><p>Bitset holds a bitset of 4 bits that indicate which pieces of armour need to have damage dealt to them.
The first bit, when toggled, is for a helmet, the second for the chestplate, the third for the leggings
and the fourth for boots.</p></td></tr>
<tr><td><b class='name'>helmet damage</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type.head</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>chestplate damage</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type.chest</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>leggings damage</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type.legs</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>boots damage</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>types.feet</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_code_builder">
<a href="#packet_code_builder"><div class='packet-id bound-client'>150</div><div class='packet-name name'>packet code builder</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>CodeBuilder is an Education Edition packet sent by the server to the client to open the URL to a Code
Builder (websocket) server.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>url </td><td>string</td><td><p>URL is the url to the Code Builder (websocket) server.</p></td></tr>
<tr><td class='field-name name'>should open code builder </td><td>bool</td><td><p>ShouldOpenCodeBuilder specifies if the client should automatically open the Code Builder app. If set to
true, the client will attempt to use the Code Builder app to connect to and interface with the server
running at the URL above.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_player_game_type">
<a href="#packet_update_player_game_type"><div class='packet-id bound-client'>151</div><div class='packet-name name'>packet update player game type</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>UpdatePlayerGameType is sent by the server to change the game mode of a player. It is functionally
identical to the SetPlayerGameType packet.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>gamemode </td><td><a href="#GameMode">GameMode</a></td><td><p>GameType is the new game type of the player. It is one of the constants that can be found in
set<em>player</em>game_type.go. Some of these game types require additional flags to be set in an
AdventureSettings packet for the game mode to obtain its full functionality.</p></td></tr>
<tr><td class='field-name name'>player unique id </td><td>zigzag64</td><td><p>PlayerUniqueID is the entity unique ID of the player that should have its game mode updated. If this
packet is sent to other clients with the player unique ID of another player, nothing happens.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_emote_list">
<a href="#packet_emote_list"><div class='packet-id bound-server'>152</div><div class='packet-name name'>packet emote list</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>EmoteList is sent by the client every time it joins the server and when it equips new emotes. It may be
used by the server to find out which emotes the client has available. If the player has no emotes equipped,
this packet is not sent.
Under certain circumstances, this packet is also sent from the server to the client, but I was unable to
find when this is done.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>player id </td><td>varint64</td><td><p>PlayerRuntimeID is the runtime ID of the player that owns the emote pieces below. If sent by the
client, this player runtime ID is always that of the player itself.</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>emote pieces</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>EmotePieces is a list of emote pieces that the player with the runtime ID above has.</p></td></tr>
<tr><td class='field-name'><span class='name'>emote pieces</span> <div class="tag tag-array">array</div></td><td>uuid</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_position_tracking_db_request">
<a href="#packet_position_tracking_db_request"><div class='packet-id bound-server'>154</div><div class='packet-name name'>packet position tracking db request</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>PositionTrackingDBClientRequest is a packet sent by the client to request the position and dimension of a
'tracking ID'. These IDs are tracked in a database by the server. In 1.16, this is used for lodestones.
The client will send this request to find the position a lodestone compass needs to point to. If found, it
will point to the lodestone. If not, it will start spinning around.
A PositionTrackingDBServerBroadcast packet should be sent in response to this packet.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>action </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>query</td><td><p>RequestAction is the action that should be performed upon the receiving of the packet. It is one of the
constants found above.</p></td></tr>
</table></td></tr>
<tr><td class='field-name name'>tracking id </td><td>zigzag32</td><td><p>TrackingID is a unique ID used to identify the request. The server responds with a
PositionTrackingDBServerBroadcast packet holding the same ID, so that the client can find out what that
packet was in response to.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_position_tracking_db_broadcast">
<a href="#packet_position_tracking_db_broadcast"><div class='packet-id bound-client'>153</div><div class='packet-name name'>packet position tracking db broadcast</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>PositionTrackingDBServerBroadcast is sent by the server in response to the
PositionTrackingDBClientRequest packet. This packet is, as of 1.16, currently only used for lodestones. The
server maintains a database with tracking IDs and their position and dimension. The client will request
these tracking IDs, (NBT tag set on the lodestone compass with the tracking ID?) and the server will
respond with the status of those tracking IDs.
What is actually done with the data sent depends on what the client chooses to do with it. For the
lodestone compass, it is used to make the compass point towards lodestones and to make it spin if the
lodestone at a position is no longer there.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>broadcast action </td><td colspan=2 class="vpad"><div style='padding:8px'>u8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>update</td><td><p>BroadcastAction specifies the status of the position tracking DB response. It is one of the constants
above, specifying the result of the request with the ID below.
The Update action is sent for setting the position of a lodestone compass, the Destroy and NotFound to
indicate that there is not (no longer) a lodestone at that position.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>destory</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>not found</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>tracking id </td><td>zigzag32</td><td><p>TrackingID is the ID of the PositionTrackingDBClientRequest packet that this packet was in response to.
The tracking ID is also present as the 'id' field in the SerialisedData field.</p></td></tr>
<tr><td class='field-name name'>nbt </td><td>nbt</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_debug_info">
<a href="#packet_debug_info"><div class='packet-id bound-client'>155</div><div class='packet-name name'>packet debug info</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>DebugInfo is a packet sent by the server to the client. It does not seem to do anything when sent to the
normal client in 1.16.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>player unique id </td><td>zigzag64</td><td><p>PlayerUniqueID is the unique ID of the player that the packet is sent to.</p></td></tr>
<tr><td class='field-name name'>data </td><td>ByteArray</td><td><p>Data is the debug data.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_packet_violation_warning">
<a href="#packet_packet_violation_warning"><div class='packet-id bound-server'>156</div><div class='packet-name name'>packet packet violation warning</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>PacketViolationWarning is sent by the client when it receives an invalid packet from the server. It holds
some information on the error that occurred.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='name field-name'>violation type </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>malformed</td><td></td></tr>
</table></td></tr>
<tr><td class='name field-name'>severity </td><td colspan=2 class="vpad"><div style='padding:8px'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>warning</td><td><p>Severity specifies the severity of the packet violation. The action the client takes after this
violation depends on the severity sent.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>final warning</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>terminating</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>packet id </td><td>zigzag32</td><td><p>PacketID is the ID of the invalid packet that was received.</p></td></tr>
<tr><td class='field-name name'>reason </td><td>string</td><td><p>ViolationContext holds a description on the violation of the packet.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_motion_prediction_hints">
<a href="#packet_motion_prediction_hints"><div class='packet-id bound-client'>157</div><div class='packet-name name'>packet motion prediction hints</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>MotionPredictionHints is sent by the server to the client. There is a predictive movement component for
entities. This packet fills the "history" of that component and entity movement is computed based on the
points. Vanilla sends this packet instead of the SetActorMotion packet when 'spatial optimisations' are
enabled.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>entity runtime id </td><td>varint64</td><td><p>EntityRuntimeID is the runtime ID of the entity whose velocity is sent to the client.</p></td></tr>
<tr><td class='field-name name'>velocity </td><td><a href="#vec3f">vec3f</a></td><td><p>Velocity is the server-calculated velocity of the entity at the point of sending the packet.</p></td></tr>
<tr><td class='field-name name'>on ground </td><td>bool</td><td><p>OnGround specifies if the server currently thinks the entity is on the ground.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_animate_entity">
<a href="#packet_animate_entity"><div class='packet-id bound-client'>158</div><div class='packet-name name'>packet animate entity</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>AnimateEntity is sent by the server to animate an entity client-side. It may be used to play a single
animation, or to activate a controller which can start a sequence of animations based on different
conditions specified in an animation controller.
Much of the documentation of this packet can be found at
https://learn.microsoft.com/minecraft/creator/reference/content/animationsreference.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>animation </td><td>string</td><td><p>Animation is the name of a single animation to start playing.</p></td></tr>
<tr><td class='field-name name'>next state </td><td>string</td><td><p>NextState is the first state to start with. These states are declared in animation controllers (which,
in themselves, are animations too). These states in turn may have animations and transitions to move to
a next state.</p></td></tr>
<tr><td class='field-name name'>stop condition </td><td>string</td><td><p>StopCondition is a MoLang expression that specifies when the animation should be stopped.</p></td></tr>
<tr><td class='field-name name'>controller </td><td>string</td><td><p>Controller is the animation controller that is used to manage animations. These controllers decide when
to play which animation.</p></td></tr>
<tr><td class='field-name name'>blend out time </td><td>lf32</td><td><p>BlendOutTime does not currently seem to be used.</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>runtime entity ids</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>EntityRuntimeIDs is list of runtime IDs of entities that the animation should be applied to.</p></td></tr>
<tr><td class='field-name'><span class='name'>runtime entity ids</span> <div class="tag tag-array">array</div></td><td>varint64</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_camera_shake">
<a href="#packet_camera_shake"><div class='packet-id bound-client'>159</div><div class='packet-name name'>packet camera shake</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>CameraShake is sent by the server to make the camera shake client-side. This feature was added for map-
making partners.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>intensity </td><td>lf32</td><td><p>Intensity is the intensity of the shaking. The client limits this value to 4, so anything higher may
not work.</p></td></tr>
<tr><td class='field-name name'>duration </td><td>lf32</td><td><p>Duration is the number of seconds the camera will shake for.</p></td></tr>
<tr><td class='field-name name'>type </td><td>u8</td><td><p>Type is the type of shake, and is one of the constants listed above. The different type affects how
the shake looks in game.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_player_fog">
<a href="#packet_player_fog"><div class='packet-id bound-client'>160</div><div class='packet-name name'>packet player fog</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>PlayerFog is sent by the server to render the different fogs in the Stack. The types of fog are controlled
by resource packs to change how they are rendered, and the ability to create custom fog.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name field-implicit'><span class='name'>stack</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Stack is a list of fog identifiers to be sent to the client. Examples of fog identifiers are
"minecraft:fog<em>ocean" and "minecraft:fog</em>hell".</p></td></tr>
<tr><td class='field-name'><span class='name'>stack</span> <div class="tag tag-array">array</div></td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_correct_player_move_prediction">
<a href="#packet_correct_player_move_prediction"><div class='packet-id bound-client'>161</div><div class='packet-name name'>packet correct player move prediction</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>CorrectPlayerMovePrediction is sent by the server if and only if StartGame.ServerAuthoritativeMovementMode
is set to AuthoritativeMovementModeServerWithRewind. The packet is used to correct movement at a specific
point in time.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td><p>Position is the position that the player is supposed to be at at the tick written in the field below.
The client will change its current position based on movement after that tick starting from the
Position.</p></td></tr>
<tr><td class='field-name name'>delta </td><td><a href="#vec3f">vec3f</a></td><td><p>Delta is the change in position compared to what the client sent as its position at that specific tick.</p></td></tr>
<tr><td class='field-name name'>on ground </td><td>bool</td><td><p>OnGround specifies if the player was on the ground at the time of the tick below.</p></td></tr>
<tr><td class='field-name name'>tick </td><td>varint64</td><td><p>Tick is the tick of the movement which was corrected by this packet.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_item_component">
<a href="#packet_item_component"><div class='packet-id bound-client'>162</div><div class='packet-name name'>packet item component</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>ItemComponent is sent by the server to attach client-side components to a custom item.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>entries </td><td><a href="#ItemComponentList">ItemComponentList</a></td><td><p><code>entries</code> holds a list of all custom items with their respective components set.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_filter_text_packet">
<a href="#packet_filter_text_packet"><div class='packet-id bound-both'>163</div><div class='packet-name name'>packet filter text packet</div></a>
<span style='vertical-align:middle;float:right'>Bidirectional</span>
</div><br/>
<p><p>FilterText is sent by the both the client and the server. The client sends the packet to the server to
allow the server to filter the text server-side. The server then responds with the same packet and the
safer version of the text.</p></p>
<table class='table-bordered'><thead><tr><td>Field Name</td><td>Field Type</td><td>Notes</td></tr></thead>
<tr><td class='field-name name'>text </td><td>string</td><td><p>Text is either the text from the client or the safer version of the text sent by the server.</p></td></tr>
<tr><td class='field-name name'>from server </td><td>bool</td><td><p>FromServer indicates if the packet was sent by the server or not.</p></td></tr>
</table><br/><hr/><br/></div>