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

6834 lines
531 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="#BlockProperties">Type</a><td class='name'><a href="#BlockProperties">BlockProperties</a></td></tr>
<tr><td><a href="#Itemstates">Type</a><td class='name'><a href="#Itemstates">Itemstates</a></td></tr>
<tr><td><a href="#ItemExtraDataWithBlockingTick">Type</a><td class='name'><a href="#ItemExtraDataWithBlockingTick">ItemExtraDataWithBlockingTick</a></td></tr>
<tr><td><a href="#ItemExtraDataWithoutBlockingTick">Type</a><td class='name'><a href="#ItemExtraDataWithoutBlockingTick">ItemExtraDataWithoutBlockingTick</a></td></tr>
<tr><td><a href="#ItemLegacy">Type</a><td class='name'><a href="#ItemLegacy">ItemLegacy</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="#TransactionUseItem">Type</a><td class='name'><a href="#TransactionUseItem">TransactionUseItem</a></td></tr>
<tr><td><a href="#TransactionActions">Type</a><td class='name'><a href="#TransactionActions">TransactionActions</a></td></tr>
<tr><td><a href="#TransactionLegacy">Type</a><td class='name'><a href="#TransactionLegacy">TransactionLegacy</a></td></tr>
<tr><td><a href="#Transaction">Type</a><td class='name'><a href="#Transaction">Transaction</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="#Enchant">Type</a><td class='name'><a href="#Enchant">Enchant</a></td></tr>
<tr><td><a href="#EnchantOption">Type</a><td class='name'><a href="#EnchantOption">EnchantOption</a></td></tr>
<tr><td><a href="#Action">Type</a><td class='name'><a href="#Action">Action</a></td></tr>
<tr><td><a href="#StackRequestSlotInfo">Type</a><td class='name'><a href="#StackRequestSlotInfo">StackRequestSlotInfo</a></td></tr>
<tr><td><a href="#ItemStackRequest">Type</a><td class='name'><a href="#ItemStackRequest">ItemStackRequest</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="#TrackedObject">Type</a><td class='name'><a href="#TrackedObject">TrackedObject</a></td></tr>
<tr><td><a href="#MapDecoration">Type</a><td class='name'><a href="#MapDecoration">MapDecoration</a></td></tr>
<tr><td><a href="#StructureBlockSettings">Type</a><td class='name'><a href="#StructureBlockSettings">StructureBlockSettings</a></td></tr>
<tr><td><a href="#EducationSharedResourceURI">Type</a><td class='name'><a href="#EducationSharedResourceURI">EducationSharedResourceURI</a></td></tr>
<tr><td><a href="#EducationExternalLinkSettings">Type</a><td class='name'><a href="#EducationExternalLinkSettings">EducationExternalLinkSettings</a></td></tr>
<tr><td><a href="#BlockUpdate">Type</a><td class='name'><a href="#BlockUpdate">BlockUpdate</a></td></tr>
<tr><td><a href="#TransitionType">Type</a><td class='name'><a href="#TransitionType">TransitionType</a></td></tr>
<tr><td><a href="#MaterialReducer">Type</a><td class='name'><a href="#MaterialReducer">MaterialReducer</a></td></tr>
<tr><td><a href="#PermissionLevel">Type</a><td class='name'><a href="#PermissionLevel">PermissionLevel</a></td></tr>
<tr><td><a href="#CommandPermissionLevel">Type</a><td class='name'><a href="#CommandPermissionLevel">CommandPermissionLevel</a></td></tr>
<tr><td><a href="#CommandPermissionLevelVarint">Type</a><td class='name'><a href="#CommandPermissionLevelVarint">CommandPermissionLevelVarint</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="#ContainerSlotType">Type</a><td class='name'><a href="#ContainerSlotType">ContainerSlotType</a></td></tr>
<tr><td><a href="#SoundType">Type</a><td class='name'><a href="#SoundType">SoundType</a></td></tr>
<tr><td><a href="#LegacyEntityType">Type</a><td class='name'><a href="#LegacyEntityType">LegacyEntityType</a></td></tr>
<tr><td><a href="#DeviceOS">Type</a><td class='name'><a href="#DeviceOS">DeviceOS</a></td></tr>
<tr><td><a href="#AbilityLayers">Type</a><td class='name'><a href="#AbilityLayers">AbilityLayers</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>
<tr><td><a href="#packet_debug_renderer">0xa4</a></td><td><a href="#packet_debug_renderer">packet_debug_renderer</a></td></tr>
<tr><td><a href="#packet_sync_entity_property">0xa5</a></td><td><a href="#packet_sync_entity_property">packet_sync_entity_property</a></td></tr>
<tr><td><a href="#packet_add_volume_entity">0xa6</a></td><td><a href="#packet_add_volume_entity">packet_add_volume_entity</a></td></tr>
<tr><td><a href="#packet_remove_volume_entity">0xa7</a></td><td><a href="#packet_remove_volume_entity">packet_remove_volume_entity</a></td></tr>
<tr><td><a href="#packet_simulation_type">0xa8</a></td><td><a href="#packet_simulation_type">packet_simulation_type</a></td></tr>
<tr><td><a href="#packet_npc_dialogue">0xa9</a></td><td><a href="#packet_npc_dialogue">packet_npc_dialogue</a></td></tr>
<tr><td><a href="#packet_edu_uri_resource_packet">0xaa</a></td><td><a href="#packet_edu_uri_resource_packet">packet_edu_uri_resource_packet</a></td></tr>
<tr><td><a href="#packet_create_photo">0xab</a></td><td><a href="#packet_create_photo">packet_create_photo</a></td></tr>
<tr><td><a href="#packet_update_subchunk_blocks">0xac</a></td><td><a href="#packet_update_subchunk_blocks">packet_update_subchunk_blocks</a></td></tr>
<tr><td><a href="#packet_photo_info_request">0xad</a></td><td><a href="#packet_photo_info_request">packet_photo_info_request</a></td></tr>
<tr><td><a href="#SubChunkEntryWithoutCaching">Type</a><td class='name'><a href="#SubChunkEntryWithoutCaching">SubChunkEntryWithoutCaching</a></td></tr>
<tr><td><a href="#SubChunkEntryWithCaching">Type</a><td class='name'><a href="#SubChunkEntryWithCaching">SubChunkEntryWithCaching</a></td></tr>
<tr><td><a href="#packet_subchunk">0xae</a></td><td><a href="#packet_subchunk">packet_subchunk</a></td></tr>
<tr><td><a href="#packet_subchunk_request">0xaf</a></td><td><a href="#packet_subchunk_request">packet_subchunk_request</a></td></tr>
<tr><td><a href="#packet_client_start_item_cooldown">0xb0</a></td><td><a href="#packet_client_start_item_cooldown">packet_client_start_item_cooldown</a></td></tr>
<tr><td><a href="#packet_script_message">0xb1</a></td><td><a href="#packet_script_message">packet_script_message</a></td></tr>
<tr><td><a href="#packet_code_builder_source">0xb2</a></td><td><a href="#packet_code_builder_source">packet_code_builder_source</a></td></tr>
<tr><td><a href="#packet_ticking_areas_load_status">0xb3</a></td><td><a href="#packet_ticking_areas_load_status">packet_ticking_areas_load_status</a></td></tr>
<tr><td><a href="#packet_dimension_data">0xb4</a></td><td><a href="#packet_dimension_data">packet_dimension_data</a></td></tr>
<tr><td><a href="#packet_agent_action">0xb5</a></td><td><a href="#packet_agent_action">packet_agent_action</a></td></tr>
<tr><td><a href="#packet_change_mob_property">0xb6</a></td><td><a href="#packet_change_mob_property">packet_change_mob_property</a></td></tr>
<tr><td><a href="#packet_lesson_progress">0xb7</a></td><td><a href="#packet_lesson_progress">packet_lesson_progress</a></td></tr>
<tr><td><a href="#packet_request_ability">0xb8</a></td><td><a href="#packet_request_ability">packet_request_ability</a></td></tr>
<tr><td><a href="#packet_request_permissions">0xb9</a></td><td><a href="#packet_request_permissions">packet_request_permissions</a></td></tr>
<tr><td><a href="#packet_toast_request">0xba</a></td><td><a href="#packet_toast_request">packet_toast_request</a></td></tr>
<tr><td><a href="#packet_update_abilities">0xbb</a></td><td><a href="#packet_update_abilities">packet_update_abilities</a></td></tr>
<tr><td><a href="#packet_update_adventure_settings">0xbc</a></td><td><a href="#packet_update_adventure_settings">packet_update_adventure_settings</a></td></tr>
<tr><td><a href="#packet_death_info">0xbd</a></td><td><a href="#packet_death_info">packet_death_info</a></td></tr>
<tr><td><a href="#packet_editor_network">0xbe</a></td><td><a href="#packet_editor_network">packet_editor_network</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><p>The ID of the resource pack.</p></td></tr>
<tr><td class='field-name name'>version </td><td>string</td><td><p>The version of the resource pack.</p></td></tr>
<tr><td class='field-name name'>name </td><td>string</td><td><p>The subpack name of the resource pack.</p></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>
<tr><td class='name'>6</td><td class='name'>spectator</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='field-name name'>editable </td><td>bool</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>CacheBlob represents a blob as used in the client side blob cache protocol. It holds a hash of its data and
the full data of 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'>hash </td><td>lu64</td><td><p>Hash is the hash of the blob. The hash is computed using xxHash, and must be deterministic for the same
chunk data.</p></td></tr>
<tr><td class='field-name name'>payload </td><td>ByteArray</td><td><p>Payload is the data of the blob. When sent, the client will associate the Hash of the blob with the
Payload in it.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="BlockProperties">
<a href="#BlockProperties"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>BlockProperties</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'>BlockProperties</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>BlockProperties</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="ItemExtraDataWithBlockingTick">
<a href="#ItemExtraDataWithBlockingTick"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ItemExtraDataWithBlockingTick</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'>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>lnbt</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">li32</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>ShortString</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>can destroy</span> length</td><td class="field-implicit">li32</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>ShortString</td><td></td></tr>
<tr><td class='field-name name'>blocking tick </td><td>li64</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="ItemExtraDataWithoutBlockingTick">
<a href="#ItemExtraDataWithoutBlockingTick"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ItemExtraDataWithoutBlockingTick</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'>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>lnbt</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">li32</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>ShortString</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>can destroy</span> length</td><td class="field-implicit">li32</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>ShortString</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="ItemLegacy">
<a href="#ItemLegacy"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ItemLegacy</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>Same as below but without a "networkStackID" boolean</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'>count </td><td>lu16</td><td></td></tr>
<tr><td class='field-name name'>metadata </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>block runtime id </td><td>zigzag32</td><td></td></tr>
<tr><td><b class='name'>extra</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 /ShieldItemID</span> </td><td>["encapsulated", { "lengthType": "varint", "type": "ItemExtraDataWithBlockingTick" }]</td><td><p>The Shield Item ID is sent in the StartGame packet. It is usually 355 in vanilla.</p></td></tr>
<tr><td class='field-name name'><span class='fake'>default</span> </td><td>["encapsulated", { "lengthType": "varint", "type": "ItemExtraDataWithoutBlockingTick" }]</td><td></td></tr>
</table></td></tr>
</table></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>An "ItemStack" here represents an Item instance. You can think about it like a pointer
to an item class. The data for the class gets updated with the data in the <code>item</code> field
As of 1.16.220, now functionally the same as <code>Item</code> just without an extra boolean when
server auth inventories is disabled.</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'>count </td><td>lu16</td><td></td></tr>
<tr><td class='field-name name'>metadata </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>has stack id </td><td>u8</td><td><p>When server authoritative inventory is enabled, all allocated items have a unique ID used to identify
a specifc item instance.</p></td></tr>
<tr><td><b class='name'>stack id</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>has stack 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><p>StackNetworkID is the network ID of this item <em>instance</em>. If the stack is empty, 0 is always written for this
field. If not, the field should be set to 1 if the server authoritative inventories are disabled in the
StartGame packet, or to a unique stack ID if it is enabled.</p></td></tr>
<tr><td class='field-name name'><span class='fake'>default</span> </td><td>zigzag32</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>block runtime id </td><td>zigzag32</td><td></td></tr>
<tr><td><b class='name'>extra</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 /ShieldItemID</span> </td><td>["encapsulated", { "lengthType": "varint", "type": "ItemExtraDataWithBlockingTick" }]</td><td><p>The Shield Item ID is sent in the StartGame packet. It is usually 355 in vanilla.</p></td></tr>
<tr><td class='field-name name'><span class='fake'>default</span> </td><td>["encapsulated", { "lengthType": "varint", "type": "ItemExtraDataWithoutBlockingTick" }]</td><td></td></tr>
</table></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'>flags</td><td><p>https://github.com/pmmp/PocketMine-MP/blob/stable/src/pocketmine/entity/Entity.php#L101</p></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'>19</td><td class='name'>horse type</td><td></td></tr>
<tr><td class='name'>20</td><td class='name'>creeper swell</td><td></td></tr>
<tr><td class='name'>21</td><td class='name'>creeper swell direction</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'>wither 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'>rider seat rotation offset</td><td></td></tr>
<tr><td class='name'>61</td><td class='name'>area effect cloud radius</td><td></td></tr>
<tr><td class='name'>62</td><td class='name'>area effect cloud waiting</td><td></td></tr>
<tr><td class='name'>63</td><td class='name'>area effect cloud particle id</td><td></td></tr>
<tr><td class='name'>64</td><td class='name'>shulker peek id</td><td></td></tr>
<tr><td class='name'>65</td><td class='name'>shulker attach face</td><td></td></tr>
<tr><td class='name'>66</td><td class='name'>shulker attached</td><td></td></tr>
<tr><td class='name'>67</td><td class='name'>shulker attach pos</td><td></td></tr>
<tr><td class='name'>68</td><td class='name'>trading player eid</td><td></td></tr>
<tr><td class='name'>69</td><td class='name'>trading career</td><td></td></tr>
<tr><td class='name'>70</td><td class='name'>has command block</td><td></td></tr>
<tr><td class='name'>71</td><td class='name'>command block command</td><td></td></tr>
<tr><td class='name'>72</td><td class='name'>command block last output</td><td></td></tr>
<tr><td class='name'>73</td><td class='name'>command block track output</td><td></td></tr>
<tr><td class='name'>74</td><td class='name'>controlling rider seat number</td><td></td></tr>
<tr><td class='name'>75</td><td class='name'>strength</td><td></td></tr>
<tr><td class='name'>76</td><td class='name'>max strength</td><td></td></tr>
<tr><td class='name'>77</td><td class='name'>evoker spell casting color</td><td></td></tr>
<tr><td class='name'>78</td><td class='name'>limited life</td><td></td></tr>
<tr><td class='name'>79</td><td class='name'>armor stand pose index</td><td></td></tr>
<tr><td class='name'>80</td><td class='name'>ender crystal time offset</td><td></td></tr>
<tr><td class='name'>81</td><td class='name'>always show nametag</td><td></td></tr>
<tr><td class='name'>82</td><td class='name'>color 2</td><td></td></tr>
<tr><td class='name'>83</td><td class='name'>name author</td><td></td></tr>
<tr><td class='name'>84</td><td class='name'>score tag</td><td></td></tr>
<tr><td class='name'>85</td><td class='name'>balloon attached entity</td><td></td></tr>
<tr><td class='name'>86</td><td class='name'>pufferfish size</td><td></td></tr>
<tr><td class='name'>87</td><td class='name'>bubble time</td><td></td></tr>
<tr><td class='name'>88</td><td class='name'>agent</td><td></td></tr>
<tr><td class='name'>89</td><td class='name'>sitting amount</td><td></td></tr>
<tr><td class='name'>90</td><td class='name'>sitting amount previous</td><td></td></tr>
<tr><td class='name'>91</td><td class='name'>eating counter</td><td></td></tr>
<tr><td class='name'>92</td><td class='name'>flags extended</td><td></td></tr>
<tr><td class='name'>93</td><td class='name'>laying amount</td><td></td></tr>
<tr><td class='name'>94</td><td class='name'>laying amount previous</td><td></td></tr>
<tr><td class='name'>95</td><td class='name'>area effect cloud duration</td><td></td></tr>
<tr><td class='name'>96</td><td class='name'>area effect cloud spawn time</td><td></td></tr>
<tr><td class='name'>97</td><td class='name'>area effect cloud change rate</td><td></td></tr>
<tr><td class='name'>98</td><td class='name'>area effect cloud change on pickup</td><td></td></tr>
<tr><td class='name'>99</td><td class='name'>area effect cloud pickup count</td><td></td></tr>
<tr><td class='name'>100</td><td class='name'>interact text</td><td></td></tr>
<tr><td class='name'>101</td><td class='name'>trade tier</td><td></td></tr>
<tr><td class='name'>102</td><td class='name'>max trade tier</td><td></td></tr>
<tr><td class='name'>103</td><td class='name'>trade experience</td><td></td></tr>
<tr><td class='name'>104</td><td class='name'>skin id</td><td></td></tr>
<tr><td class='name'>105</td><td class='name'>spawning frames</td><td></td></tr>
<tr><td class='name'>106</td><td class='name'>command block tick delay</td><td></td></tr>
<tr><td class='name'>107</td><td class='name'>command block execute on first tick</td><td></td></tr>
<tr><td class='name'>108</td><td class='name'>ambient sound interval</td><td></td></tr>
<tr><td class='name'>109</td><td class='name'>ambient sound interval range</td><td></td></tr>
<tr><td class='name'>110</td><td class='name'>ambient sound event name</td><td></td></tr>
<tr><td class='name'>111</td><td class='name'>fall damage multiplier</td><td></td></tr>
<tr><td class='name'>112</td><td class='name'>name raw text</td><td></td></tr>
<tr><td class='name'>113</td><td class='name'>can ride target</td><td></td></tr>
<tr><td class='name'>114</td><td class='name'>low tier cured discount</td><td></td></tr>
<tr><td class='name'>115</td><td class='name'>high tier cured discount</td><td></td></tr>
<tr><td class='name'>116</td><td class='name'>nearby cured discount</td><td></td></tr>
<tr><td class='name'>117</td><td class='name'>nearby cured discount timestamp</td><td></td></tr>
<tr><td class='name'>118</td><td class='name'>hitbox</td><td></td></tr>
<tr><td class='name'>119</td><td class='name'>is buoyant</td><td></td></tr>
<tr><td class='name'>120</td><td class='name'>base runtime id</td><td></td></tr>
<tr><td class='name'>121</td><td class='name'>freezing effect strength</td><td></td></tr>
<tr><td class='name'>122</td><td class='name'>buoyancy data</td><td></td></tr>
<tr><td class='name'>123</td><td class='name'>goat horn count</td><td></td></tr>
<tr><td class='name'>124</td><td class='name'>update properties</td><td></td></tr>
<tr><td class='name'>125</td><td class='name'>movement sound distance offset</td><td></td></tr>
<tr><td class='name'>126</td><td class='name'>heartbeat interval ticks</td><td></td></tr>
<tr><td class='name'>127</td><td class='name'>heartbeat sound event</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'>key</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is flags</span> </td><td>MetadataFlags1</td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is flags extended</span> </td><td>MetadataFlags2</td><td></td></tr>
<tr><td><b class='name'>default</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></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="TransactionUseItem">
<a href="#TransactionUseItem"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>TransactionUseItem</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>UseItemTransactionData represents an inventory transaction data object sent when the client uses an item on
a block. Also used in PlayerAuthoritativeInput 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 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><p>ActionType is the type of the UseItem inventory transaction. It is one of the action types found above,
and specifies the way the player interacted with the block.
Right click item use on a surface like placing a block</p></td></tr>
<tr><td class='name'>1</td><td class='name'>click air</td><td><p>Start right click and hold style item use or potentially interact with nothing.
If it is a usable item like food the server is expected to send a SetActorDataPacket with ActorFlags::USINGITEM along with the transaction response.
While using an item, movement speed is slowed which will be reflected in the move vector in Player Auth Input.</p></td></tr>
<tr><td class='name'>2</td><td class='name'>break block</td><td><p>Block breaking like left click. When using server auth block breaking as specified in StartGamePacket this is never sent.
Instead, block actions are supplied in Player Auth Input.</p></td></tr>
</table></td></tr>
<tr><td class='field-name name'>block position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>BlockPosition is the position of the block that was interacted with. This is only really a correct
block position if ActionType is not UseItemActionClickAir.</p></td></tr>
<tr><td class='field-name name'>face </td><td>zigzag32</td><td><p>BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
clicked. When breaking the block, it is the face that was last being hit until the block broke.</p></td></tr>
<tr><td class='field-name name'>hotbar slot </td><td>zigzag32</td><td><p>HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
to ensure that the hot bar slot and held item are correctly synchronised with the server.</p></td></tr>
<tr><td class='field-name name'>held item </td><td><a href="#Item">Item</a></td><td><p>HeldItem is the item that was held to interact with the block. The server should check if this item
is actually present in the HotBarSlot.</p></td></tr>
<tr><td class='field-name name'>player pos </td><td><a href="#vec3f">vec3f</a></td><td><p>Position is the position of the player at the time of interaction. For clicking a block, this is the
position at that time, whereas for breaking the block it is the position at the time of breaking.</p></td></tr>
<tr><td class='field-name name'>click pos </td><td><a href="#vec3f">vec3f</a></td><td><p>ClickedPosition is the position that was clicked relative to the block's base coordinate. It can be
used to find out exactly where a player clicked the block.</p></td></tr>
<tr><td class='field-name name'>block runtime id </td><td>varint</td><td><p>BlockRuntimeID is the runtime ID of the block that was clicked. It may be used by the server to verify
that the player's world client-side is synchronised with the server's.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="TransactionActions">
<a href="#TransactionActions"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>TransactionActions</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>Actions is a list of actions that took place, that form the inventory transaction together. Each of
these actions hold one slot in which one item was changed to another. In general, the combination of
all of these actions results in a balanced inventory transaction. This should be checked to ensure that
no items are cheated into 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 field-implicit'><span class='name'>TransactionActions</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>TransactionActions</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 craft</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>inventory id </td><td><a href="#WindowIDVarint">WindowIDVarint</a></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>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="TransactionLegacy">
<a href="#TransactionLegacy"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>TransactionLegacy</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>The Minecraft bedrock inventory system was refactored, but not all inventory actions use the new packet.
This data structure holds actions that have not been updated to the new 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'>legacy request id </td><td>zigzag32</td><td><p>LegacyRequestID is an ID that is only non-zero at times when sent by the client. The server should
always send 0 for this. When this field is not 0, the LegacySetItemSlots slice below will have values
in it.
LegacyRequestID ties in with the ItemStackResponse packet. If this field is non-0, the server should
respond with an ItemStackResponse packet. Some inventory actions such as dropping an item out of the
hotbar are still one using this packet, and the ItemStackResponse packet needs to tie in with it.</p></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><p><code>legacy_transactions</code> are only present if the LegacyRequestID is non-zero. These item slots inform the
server of the slots that were changed during the inventory transaction, and the server should send
back an ItemStackResponse packet with these slots present in it. (Or false with no slots, if rejected.)</p></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>
</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 </td><td><a href="#TransactionLegacy">TransactionLegacy</a></td><td><p>Old transaction system data</p></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><p>What type of transaction took place
Sent for container UI operations depending on if ItemStackNetManager is enabled</p></td></tr>
<tr><td class='name'>1</td><td class='name'>inventory mismatch</td><td><p>Sent from server to client to reject a transaction</p></td></tr>
<tr><td class='name'>2</td><td class='name'>item use</td><td><p>Sent for a player performing right click style item use.
See the contained ItemUseInventoryTransaction::ActionType for the expected use case.</p></td></tr>
<tr><td class='name'>3</td><td class='name'>item use on entity</td><td><p>Sent for a player right clicking on an entity or attacking them.
See ItemUseInventoryTransaction::ActionType for which it is.</p></td></tr>
<tr><td class='name'>4</td><td class='name'>item release</td><td><p>Sent when releasing right click on a chargeable item like a bow or finishing charging like a crossbow.
This is different than canceling item use early which would be in Player Auth Input.
See ItemReleaseInventoryTransaction::ActionType for which it is.</p></td></tr>
</table></td></tr>
<tr><td class='field-name name'>actions </td><td><a href="#TransactionActions">TransactionActions</a></td><td><p>The list of inventory internal actions in this packet, e.g. inventory GUI actions</p></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><p>Extra data if an intenal inventory transaction did not take place, e.g. use of an item </p></td></tr>
<tr><td class='field-name name'><span class='fake'>is item use</span> </td><td><a href="#TransactionUseItem">TransactionUseItem</a></td><td><p>UseItemTransactionData represents an inventory transaction data object sent when the client uses an item on
a block.</p></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><p>UseItemOnEntityTransactionData represents an inventory transaction data object sent when the client uses
an item on an entity.
TargetEntityRuntimeID is the entity runtime ID of the target that was clicked. It is the runtime ID
that was assigned to it in the AddEntity packet.</p></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><p>ActionType is the type of the UseItemOnEntity inventory transaction. It is one of the action types
found in the constants above, and specifies the way the player interacted with the entity.
Right click interact with actor.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>attack</td><td><p>Left click style attack of actor or elytra spin attack. Server is expected to deal damage to the entity with visuals.</p></td></tr>
</table></td></tr>
<tr><td class='field-name name'>hotbar slot </td><td>zigzag32</td><td><p>HotBarSlot is the hot bar slot that the player was holding while clicking the entity. It should be used
to ensure that the hot bar slot and held item are correctly synchronised with the server.</p></td></tr>
<tr><td class='field-name name'>held item </td><td><a href="#Item">Item</a></td><td><p>HeldItem is the item that was held to interact with the entity. The server should check if this item
is actually present in the HotBarSlot.</p></td></tr>
<tr><td class='field-name name'>player pos </td><td><a href="#vec3f">vec3f</a></td><td><p>Position is the position of the player at the time of clicking the entity.</p></td></tr>
<tr><td class='field-name name'>click pos </td><td><a href="#vec3f">vec3f</a></td><td><p>ClickedPosition is the position that was clicked relative to the entity's base coordinate. It can be
used to find out exactly where a player clicked the entity.</p></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><p>ReleaseItemTransactionData represents an inventory transaction data object sent when the client releases
the item it was using, for example when stopping while eating or stopping the charging of a bow.<br />
ActionType is the type of the ReleaseItem inventory transaction. It is one of the action types found
in the constants above, and specifies the way the item was released.
As of 1.13, the ActionType is always 0. This field can be ignored, because releasing food (by consuming
it) or releasing a bow (to shoot an arrow) is essentially the same.
Release right click and hold style item use, like firing a bow</p></td></tr>
<tr><td class='name'>1</td><td class='name'>consume</td><td><p>Finish right click and hold style item use, like charging a crossbow</p></td></tr>
</table></td></tr>
<tr><td class='field-name name'>hotbar slot </td><td>zigzag32</td><td><p>HotBarSlot is the hot bar slot that the player was holding while releasing the item. It should be used
to ensure that the hot bar slot and held item are correctly synchronised with the server.</p></td></tr>
<tr><td class='field-name name'>held item </td><td><a href="#Item">Item</a></td><td><p>HeldItem is the item that was released. The server should check if this item is actually present in the
HotBarSlot.</p></td></tr>
<tr><td class='field-name name'>head pos </td><td><a href="#vec3f">vec3f</a></td><td><p>HeadPosition is the position of the player's head at the time of releasing the item. This is used
mainly for purposes such as spawning eating particles at that position.</p></td></tr>
</table></td></tr>
</table></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><p><code>furnace_with_metadata</code> is a recipe specifically used for furnace-type crafting stations. It is equal to
<code>furnace</code>, except it has an input item with a specific metadata value, instead of any metadata value.</p></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>ItemLegacy</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>varint</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 ><p>2D input array, size of width*height</p></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'>__704</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'>__704</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>ItemLegacy</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>varint</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="#ItemLegacy">ItemLegacy</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="#ItemLegacy">ItemLegacy</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>varint</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>ByteArray</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'>play fab 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'>geometry data version </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'>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>
<tr><td class='field-name name'>premium </td><td>bool</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><p>PersonaCapeOnClassicSkin specifies if the skin had a Persona cape (in-game skin creator cape) equipped
on a classic skin.</p></td></tr>
<tr><td class='field-name name'>primary user </td><td>bool</td><td></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><b class='name'>verified</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>type</span></div></i></td><td colspan=2><table>
<tr><td colspan=2 class="vpad"><i>Length for <span class='name'><span class='fake'>is add</span></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'><span class='fake'>is add</span></span> <div class="tag tag-array">array</div></td><td>bool</td><td></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="EnchantOption">
<a href="#EnchantOption"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>EnchantOption</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'>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><br/><hr/><br/>
<div class="packet-header" id="Action">
<a href="#Action"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>Action</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'>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></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'>crack 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'>interact block</td><td></td></tr>
<tr><td class='name'>26</td><td class='name'>predict break</td><td></td></tr>
<tr><td class='name'>27</td><td class='name'>continue break</td><td></td></tr>
<tr><td class='name'>28</td><td class='name'>start item use on</td><td></td></tr>
<tr><td class='name'>29</td><td class='name'>stop item use on</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>Source and Destination point to the source slot from which Count of the item stack were taken and the
destination slot to which this item was moved.</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'>slot type </td><td><a href="#ContainerSlotType">ContainerSlotType</a></td><td><p>ContainerID is the ID of the container that the slot was in.</p></td></tr>
<tr><td class='field-name name'>slot </td><td>u8</td><td><p>Slot is the index of the slot within the container with the ContainerID above. </p></td></tr>
<tr><td class='field-name name'>stack id </td><td>zigzag32</td><td><p>StackNetworkID is the unique stack ID that the client assumes to be present in this slot. The server
must check if these IDs match. If they do not match, servers should reject the stack request that the
action holding this info was in.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="ItemStackRequest">
<a href="#ItemStackRequest"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ItemStackRequest</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>ItemStackRequest is sent by the client to change item stacks in an inventory. It is essentially a
replacement of the InventoryTransaction packet added in 1.16 for inventory specific actions, such as moving
items around or crafting. The InventoryTransaction packet is still used for actions such as placing blocks
and interacting with entities.</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 id </td><td>zigzag32</td><td><p>RequestID is a unique ID for the request. This ID is used by the server to send a response for this
specific request in the ItemStackResponse packet.</p></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><p>TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a
container to the cursor.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>place</td><td><p>PlaceStackRequestAction is sent by the client to the server to place x amount of items from one slot into
another slot, such as when shift clicking an item in the inventory to move it around or when moving an item
in the cursor into a slot.</p></td></tr>
<tr><td class='name'>2</td><td class='name'>swap</td><td><p>SwapStackRequestAction is sent by the client to swap the item in its cursor with an item present in another
container. The two item stacks swap places. </p></td></tr>
<tr><td class='name'>3</td><td class='name'>drop</td><td><p>DropStackRequestAction is sent by the client when it drops an item out of the inventory when it has its
inventory opened. This action is not sent when a player drops an item out of the hotbar using the Q button
(or the equivalent on mobile). The InventoryTransaction packet is still used for that action, regardless of
whether the item stack network IDs are used or not.</p></td></tr>
<tr><td class='name'>4</td><td class='name'>destroy</td><td><p>DestroyStackRequestAction is sent by the client when it destroys an item in creative mode by moving it
back into the creative inventory.</p></td></tr>
<tr><td class='name'>5</td><td class='name'>consume</td><td><p>ConsumeStackRequestAction is sent by the client when it uses an item to craft another item. The original
item is 'consumed'.</p></td></tr>
<tr><td class='name'>6</td><td class='name'>create</td><td><p>CreateStackRequestAction is sent by the client when an item is created through being used as part of a
recipe. For example, when milk is used to craft a cake, the buckets are leftover. The buckets are moved to
the slot sent by the client here.
Note that before this is sent, an action for consuming all items in the crafting table/grid is sent. Items
that are not fully consumed when used for a recipe should not be destroyed there, but instead, should be
turned into their respective resulting items. </p></td></tr>
<tr><td class='name'>7</td><td class='name'>place in container</td><td><p>(as of 1.18.10) Not currently used</p></td></tr>
<tr><td class='name'>8</td><td class='name'>take out container</td><td><p>(as of 1.18.10) Not currently used</p></td></tr>
<tr><td class='name'>9</td><td class='name'>lab table combine</td><td><p>LabTableCombineStackRequestAction is sent by the client when it uses a lab table to combine item stacks.</p></td></tr>
<tr><td class='name'>10</td><td class='name'>beacon payment</td><td><p>BeaconPaymentStackRequestAction is sent by the client when it submits an item to enable effects from a
beacon. These items will have been moved into the beacon item slot in advance. </p></td></tr>
<tr><td class='name'>11</td><td class='name'>mine block</td><td><p>MineBlockStackRequestAction is sent by the client when it breaks a block.</p></td></tr>
<tr><td class='name'>12</td><td class='name'>craft recipe</td><td><p>CraftRecipeStackRequestAction is sent by the client the moment it begins crafting an item. This is the
first action sent, before the Consume and Create item stack request actions.
This action is also sent when an item is enchanted. Enchanting should be treated mostly the same way as
crafting, where the old item is consumed.</p></td></tr>
<tr><td class='name'>13</td><td class='name'>craft recipe auto</td><td><p>AutoCraftRecipeStackRequestAction is sent by the client similarly to the CraftRecipeStackRequestAction. The
only difference is that the recipe is automatically created and crafted by shift clicking the recipe book.</p></td></tr>
<tr><td class='name'>14</td><td class='name'>craft creative</td><td><p>CraftCreativeStackRequestAction is sent by the client when it takes an item out fo the creative inventory.
The item is thus not really crafted, but instantly created.</p></td></tr>
<tr><td class='name'>15</td><td class='name'>optional</td><td><p>CraftRecipeOptionalStackRequestAction is sent when using an anvil. When this action is sent, the
CustomNames field in the respective stack request is non-empty and contains the name of the item created
using the anvil.</p></td></tr>
<tr><td class='name'>16</td><td class='name'>craft grindstone request</td><td><p>CraftGrindstoneRecipeStackRequestAction is sent when a grindstone recipe is crafted. It contains the RecipeNetworkID
to identify the recipe crafted, and the cost for crafting the recipe.</p></td></tr>
<tr><td class='name'>17</td><td class='name'>craft loom request</td><td><p>CraftLoomRecipeStackRequestAction is sent when a loom recipe is crafted. It simply contains the
pattern identifier to figure out what pattern is meant to be applied to the item.</p></td></tr>
<tr><td class='name'>18</td><td class='name'>non implemented</td><td><p>CraftNonImplementedStackRequestAction is an action sent for inventory actions that aren't yet implemented
in the new system. These include, for example, anvils.</p></td></tr>
<tr><td class='name'>19</td><td class='name'>results deprecated</td><td><p>CraftResultsDeprecatedStackRequestAction is an additional, deprecated packet sent by the client after
crafting. It holds the final results and the amount of times the recipe was crafted. It shouldn't be used.
This action is also sent when an item is enchanted. Enchanting should be treated mostly the same way as
crafting, where the old item is consumed.</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 id</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is take or place or place in container or take out container</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><p>Source and Destination point to the source slot from which Count of the item stack were taken and the
destination slot to which this item was moved.</p></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><p>Count is the count of the item in the source slot that was taken towards the destination slot.</p></td></tr>
<tr><td class='field-name name'>source </td><td><a href="#StackRequestSlotInfo">StackRequestSlotInfo</a></td><td><p>Source is the source slot from which items were dropped to the ground.</p></td></tr>
<tr><td class='field-name name'>randomly </td><td>bool</td><td><p>Randomly seems to be set to false in most cases. I'm not entirely sure what this does, but this is what
vanilla calls this field.</p></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><p>Count is the count of the item in the source slot that was destroyed.</p></td></tr>
<tr><td class='field-name name'>source </td><td><a href="#StackRequestSlotInfo">StackRequestSlotInfo</a></td><td><p>Source is the source slot from which items came that were destroyed by moving them into the creative
inventory.</p></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><p>ResultsSlot is the slot in the inventory in which the results of the crafting ingredients are to be
placed.</p></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><p>PrimaryEffect and SecondaryEffect are the effects that were selected from the beacon.</p></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 mine block</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>hotbar slot </td><td>zigzag32</td><td><p>Current hotbar slot</p></td></tr>
<tr><td class='field-name name'>predicted durability </td><td>zigzag32</td><td><p>PredictedDurability is the durability of the item that the client assumes to be present at the time</p></td></tr>
<tr><td class='field-name name'>network id </td><td>zigzag32</td><td><p>StackNetworkID is the unique stack ID that the client assumes to be present at the time. The server
must check if these IDs match. If they do not match, servers should reject the stack request that the
action holding this info was in.</p></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><p>RecipeNetworkID is the network ID of the recipe that is about to be crafted. This network ID matches
one of the recipes sent in the CraftingData packet, where each of the recipes have a RecipeNetworkID as
of 1.16.</p></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><p>RecipeNetworkID is the network ID of the recipe that is about to be crafted. This network ID matches
one of the recipes sent in the CraftingData packet, where each of the recipes have a RecipeNetworkID as</p></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'>item id </td><td>varint</td><td><p>The stack ID of the creative item that is being created. This is one of the
creative item stack IDs sent in the CreativeContent packet.</p></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><p>For the cartography table, if a certain MULTI recipe is being called, this points to the network ID that was assigned.</p></td></tr>
<tr><td class='field-name name'>filtered string index </td><td>li32</td><td><p>Most likely the index in the request's filter strings that this action is using</p></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is craft grindstone request</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>recipe network id </td><td>varint</td><td><p>RecipeNetworkID is the network ID of the recipe that is about to be crafted. This network ID matches
one of the recipes sent in the CraftingData packet, where each of the recipes have a RecipeNetworkID as</p></td></tr>
<tr><td class='field-name name'>cost </td><td>varint</td><td><p>Cost is the cost of the recipe that was crafted.</p></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is craft loom request</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>pattern </td><td>string</td><td><p>Pattern is the pattern identifier for the loom recipe.</p></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>ItemLegacy</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><p>CustomNames is a list of custom names involved in the request. This is typically filled with one string
when an anvil is used.</p>
<ul>
<li>Used for the server to determine which strings should be filtered. Used in anvils to verify a renamed item.</li>
</ul></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><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>ItemStackResponse is a response to an individual ItemStackRequest.</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='name field-name'>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'>ok</td><td><p>Status specifies if the request with the RequestID below was successful. If this is the case, the
ContainerInfo below will have information on what slots ended up changing. If not, the container info
will be empty.
A non-0 status means an error occurred and will result in the action being reverted.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>error</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>request id </td><td>zigzag32</td><td><p>RequestID is the unique ID of the request that this response is in reaction to. If rejected, the client
will undo the actions from the request with this ID.</p></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>status</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is ok</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name field-implicit'><span class='name'>containers</span> length</td><td class="field-implicit">varint</td><td ><p>ContainerInfo holds information on the containers that had their contents changed as a result of the
request.</p></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'>slot type </td><td><a href="#ContainerSlotType">ContainerSlotType</a></td><td><p>ContainerID is the container ID of the container that the slots that follow are in. For the main
inventory, this value seems to be 0x1b. For the cursor, this value seems to be 0x3a. For the crafting
grid, this value seems to be 0x0d.</p>
<ul>
<li>actually, this is ContainerSlotType - used by the inventory system that specifies the type of slot</li>
</ul></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>slots</span> length</td><td class="field-implicit">varint</td><td ><p>SlotInfo holds information on what item stack should be present in specific slots in the container.</p></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><p>Slot and HotbarSlot seem to be the same value every time: The slot that was actually changed. I'm not
sure if these slots ever differ.</p></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><p>Count is the total count of the item stack. This count will be shown client-side after the response is
sent to the client.</p></td></tr>
<tr><td class='field-name name'>item stack id </td><td>zigzag32</td><td><p>StackNetworkID is the network ID of the new stack at a specific slot.</p></td></tr>
<tr><td class='field-name name'>custom name </td><td>string</td><td><p>CustomName is the custom name of the item stack. It is used in relation to text filtering.</p></td></tr>
<tr><td class='field-name name'>durability correction </td><td>zigzag32</td><td><p>DurabilityCorrection is the current durability of the item stack. This durability will be shown
client-side after the response is sent to the client.</p></td></tr>
</table></td></tr>
</table></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><p>Name is the name of the item, which is a name like 'minecraft:stick'.</p></td></tr>
<tr><td class='field-name name'>nbt </td><td>nbt</td><td><p>Data is a map containing the components and properties of the item.</p></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><p>Origin is one of the values above that specifies the origin of the command. The origin may change,
depending on what part of the client actually called the command. The command may be issued by a
websocket server, for example.</p></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>
<tr><td class='name'>12</td><td class='name'>precompiled</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>game director entity server</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>script</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>executor</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>uuid </td><td>uuid</td><td><p>UUID is the UUID of the command called. This UUID is a bit odd as it is not specified by the server. It
is not clear what exactly this UUID is meant to identify, but it is unique for each command called.</p></td></tr>
<tr><td class='field-name name'>request id </td><td>string</td><td><p>RequestID is an ID that identifies the request of the client. The server should send a CommandOrigin
with the same request ID to ensure it can be matched with the request by the caller of the command.
This is especially important for websocket servers and it seems that this field is only non-empty for
these websocket servers.</p></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><p>PlayerUniqueID is an ID that identifies the player, the same as the one found in the AdventureSettings
packet. Filling it out with 0 seems to work.
PlayerUniqueID is only written if Origin is CommandOriginDevConsole or CommandOriginTest.</p></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="TrackedObject">
<a href="#TrackedObject"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>TrackedObject</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>MapTrackedObject is an object on a map that is 'tracked' by the client, such as an entity or a block. This
object may move, which is handled 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='name field-name'>type </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'>entity</td><td><p>Type is the type of the tracked object. It is either MapObjectTypeEntity or MapObjectTypeBlock.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>block</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'>type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is entity</span> </td><td>zigzag64</td><td><p>EntityUniqueID is the unique ID of the entity, if the tracked object was an entity. It needs not to be
filled out if Type is not MapObjectTypeEntity.</p></td></tr>
</table></td></tr>
<tr><td><b class='name'>block position</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 block</span> </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>BlockPosition is the position of the block, if the tracked object was a block. It needs not to be
filled out if Type is not MapObjectTypeBlock.</p></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="MapDecoration">
<a href="#MapDecoration"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>MapDecoration</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>MapDecoration is a fixed decoration on a map: Its position or other properties do not change automatically
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='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'>marker white</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>marker green</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>marker red</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>marker blue</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>cross white</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>triangle red</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>square white</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>marker sign</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>marker pink</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>marker orange</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>marker yellow</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>marker teal</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>triangle green</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>small square white</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>mansion</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>monument</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>no draw</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>village desert</td><td></td></tr>
<tr><td class='name'>18</td><td class='name'>village plains</td><td></td></tr>
<tr><td class='name'>19</td><td class='name'>village savanna</td><td></td></tr>
<tr><td class='name'>20</td><td class='name'>village snowy</td><td></td></tr>
<tr><td class='name'>21</td><td class='name'>village taiga</td><td></td></tr>
<tr><td class='name'>22</td><td class='name'>jungle temple</td><td></td></tr>
<tr><td class='name'>23</td><td class='name'>witch hut</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>rotation </td><td>u8</td><td><p>Rotation is the rotation of the map decoration. It is byte due to the 16 fixed directions that the
map decoration may face.</p></td></tr>
<tr><td class='field-name name'>x </td><td>u8</td><td><p>X is the offset on the X axis in pixels of the decoration.</p></td></tr>
<tr><td class='field-name name'>y </td><td>u8</td><td><p>Y is the offset on the Y axis in pixels of the decoration.</p></td></tr>
<tr><td class='field-name name'>label </td><td>string</td><td><p>Label is the name of the map decoration. This name may be of any value.</p></td></tr>
<tr><td class='field-name name'>color abgr </td><td>varint</td><td><p>Colour is the colour of the map decoration. Some map decoration types have a specific colour set
automatically, whereas others may be changed.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="StructureBlockSettings">
<a href="#StructureBlockSettings"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>StructureBlockSettings</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'>palette name </td><td>string</td><td><p>PaletteName is the name of the palette used in the structure. Currently, it seems that this field is
always 'default'.</p></td></tr>
<tr><td class='field-name name'>ignore entities </td><td>bool</td><td><p>IgnoreEntities specifies if the structure should ignore entities or include them. If set to false,
entities will also show up in the exported structure.</p></td></tr>
<tr><td class='field-name name'>ignore blocks </td><td>bool</td><td><p>IgnoreBlocks specifies if the structure should ignore blocks or include them. If set to false, blocks
will show up in the exported structure.</p></td></tr>
<tr><td class='field-name name'>non ticking players and ticking areas </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>size </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>Size is the size of the area that is about to be exported. The area exported will start at the
Position + Offset, and will extend as far as Size specifies.</p></td></tr>
<tr><td class='field-name name'>structure offset </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>Offset is the offset position that was set in the structure block. The area exported is offset by this
position.
<strong>TODO</strong>: This will be renamed to offset soon</p></td></tr>
<tr><td class='field-name name'>last editing player unique id </td><td>zigzag64</td><td><p>LastEditingPlayerUniqueID is the unique ID of the player that last edited the structure block that
these settings concern.</p></td></tr>
<tr><td class='name field-name'>rotation </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><p>Rotation is the rotation that the structure block should obtain. See the constants above for available
options.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>90 deg</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>180 deg</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>270 deg</td><td></td></tr>
</table></td></tr>
<tr><td class='name field-name'>mirror </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><p>Mirror specifies the way the structure should be mirrored. It is either no mirror at all, mirror on the
x/z axis or both.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>x axis</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>z axis</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>both axes</td><td></td></tr>
</table></td></tr>
<tr><td class='name field-name'>animation 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'>none</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>layers</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>blocks</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>animation duration </td><td>lf32</td><td><p>How long the duration for this animation is</p></td></tr>
<tr><td class='field-name name'>integrity </td><td>lf32</td><td><p>Integrity is usually 1, but may be set to a number between 0 and 1 to omit blocks randomly, using
the Seed that follows.</p></td></tr>
<tr><td class='field-name name'>seed </td><td>lu32</td><td><p>Seed is the seed used to omit blocks if Integrity is not equal to one. If the Seed is 0, a random
seed is selected to omit blocks.</p></td></tr>
<tr><td class='field-name name'>pivot </td><td><a href="#vec3f">vec3f</a></td><td><p>Pivot is the pivot around which the structure may be rotated.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="EducationSharedResourceURI">
<a href="#EducationSharedResourceURI"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>EducationSharedResourceURI</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>EducationSharedResourceURI is an education edition feature that is used for transmitting
education resource settings to clients. It contains a button name and a link URL.</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'>button name </td><td>string</td><td><p>ButtonName is the button name of the resource URI.</p></td></tr>
<tr><td class='field-name name'>link uri </td><td>string</td><td><p>LinkURI is the link URI for the resource URI.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="EducationExternalLinkSettings">
<a href="#EducationExternalLinkSettings"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>EducationExternalLinkSettings</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'>url </td><td>string</td><td><p>URL is the external link URL.</p></td></tr>
<tr><td class='field-name name'>display name </td><td>string</td><td><p>DisplayName is the display name in game.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="BlockUpdate">
<a href="#BlockUpdate"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>BlockUpdate</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'>position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
<tr><td class='field-name name'>runtime id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>flags </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>entity unique id </td><td>zigzag64</td><td><p>EntityUniqueID is the unique ID of the falling block entity that the block transitions to or that the
entity transitions from.
Note that for both possible values for TransitionType, the EntityUniqueID should point to the falling
block entity involved.</p></td></tr>
<tr><td class='name field-name'>transition type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="TransitionType">
<a href="#TransitionType"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>TransitionType</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>TransitionType is the type of the transition that happened. It is either BlockToEntityTransition, when
a block placed becomes a falling entity, or EntityToBlockTransition, when a falling entity hits the
ground and becomes a solid block again.</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'>TransitionType </td><td colspan=2 class="vpad"><div style='padding:8px'> <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>entity</td><td><p>For falling sand, when a sand turns to an entity</p></td></tr>
<tr><td class='name'>1</td><td class='name'>create</td><td><p>When sand turns back to a new block</p></td></tr>
<tr><td class='name'>2</td><td class='name'>destroy</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="MaterialReducer">
<a href="#MaterialReducer"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>MaterialReducer</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'>mix </td><td>zigzag32</td><td></td></tr>
<tr><td class='name'>items </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>network id </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><br/><hr/><br/>
<div class="packet-header" id="PermissionLevel">
<a href="#PermissionLevel"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>PermissionLevel</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>The permission level of a player, for example whether they are an Server Operator or not.</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'>PermissionLevel </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'>visitor</td><td></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>
</table><br/><hr/><br/>
<div class="packet-header" id="CommandPermissionLevel">
<a href="#CommandPermissionLevel"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>CommandPermissionLevel</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>The command permission level, for example if being run by a Player, an Op, or a Command Block.</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'>CommandPermissionLevel </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></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'>automation</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>host</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>owner</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>internal</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="CommandPermissionLevelVarint">
<a href="#CommandPermissionLevelVarint"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>CommandPermissionLevelVarint</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>The command permission level, for example if being run by a Player, an Op, or a Command Block.</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'>CommandPermissionLevelVarint </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></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'>automation</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>host</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>owner</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>internal</td><td></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>List of Window IDs. When a new container is opened (container_open), a new sequential Window ID is created.
Below window IDs are hard-coded and created when the game starts and the server does not
send a <code>container_open</code> for them.</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'>i8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>-9</td><td class='name'>none</td><td></td></tr>
<tr><td class='name'>-1</td><td class='name'>inventory</td><td></td></tr>
<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="ContainerSlotType">
<a href="#ContainerSlotType"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>ContainerSlotType</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>Used in inventory transactions. </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'>ContainerSlotType </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'>anvil input</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>anvil material</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>anvil result</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>smithing table input</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>smithing table material</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>smithing table result</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>armor</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>container</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'>brewing input</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>brewing result</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>brewing fuel</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>hotbar and inventory</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>crafting input</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>crafting output</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>recipe construction</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>recipe nature</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>recipe items</td><td></td></tr>
<tr><td class='name'>18</td><td class='name'>recipe search</td><td></td></tr>
<tr><td class='name'>19</td><td class='name'>recipe search bar</td><td></td></tr>
<tr><td class='name'>20</td><td class='name'>recipe equipment</td><td></td></tr>
<tr><td class='name'>21</td><td class='name'>enchanting input</td><td></td></tr>
<tr><td class='name'>22</td><td class='name'>enchanting lapis</td><td></td></tr>
<tr><td class='name'>23</td><td class='name'>furnace fuel</td><td></td></tr>
<tr><td class='name'>24</td><td class='name'>furnace ingredient</td><td></td></tr>
<tr><td class='name'>25</td><td class='name'>furnace output</td><td></td></tr>
<tr><td class='name'>26</td><td class='name'>horse equip</td><td></td></tr>
<tr><td class='name'>27</td><td class='name'>hotbar</td><td></td></tr>
<tr><td class='name'>28</td><td class='name'>inventory</td><td></td></tr>
<tr><td class='name'>29</td><td class='name'>shulker</td><td></td></tr>
<tr><td class='name'>30</td><td class='name'>trade ingredient1</td><td></td></tr>
<tr><td class='name'>31</td><td class='name'>trade ingredient2</td><td></td></tr>
<tr><td class='name'>32</td><td class='name'>trade result</td><td></td></tr>
<tr><td class='name'>33</td><td class='name'>offhand</td><td></td></tr>
<tr><td class='name'>34</td><td class='name'>compcreate input</td><td></td></tr>
<tr><td class='name'>35</td><td class='name'>compcreate output</td><td></td></tr>
<tr><td class='name'>36</td><td class='name'>elemconstruct output</td><td></td></tr>
<tr><td class='name'>37</td><td class='name'>matreduce input</td><td></td></tr>
<tr><td class='name'>38</td><td class='name'>matreduce output</td><td></td></tr>
<tr><td class='name'>39</td><td class='name'>labtable input</td><td></td></tr>
<tr><td class='name'>40</td><td class='name'>loom input</td><td></td></tr>
<tr><td class='name'>41</td><td class='name'>loom dye</td><td></td></tr>
<tr><td class='name'>42</td><td class='name'>loom material</td><td></td></tr>
<tr><td class='name'>43</td><td class='name'>loom result</td><td></td></tr>
<tr><td class='name'>44</td><td class='name'>blast furnace ingredient</td><td></td></tr>
<tr><td class='name'>45</td><td class='name'>smoker ingredient</td><td></td></tr>
<tr><td class='name'>46</td><td class='name'>trade2 ingredient1</td><td></td></tr>
<tr><td class='name'>47</td><td class='name'>trade2 ingredient2</td><td></td></tr>
<tr><td class='name'>48</td><td class='name'>trade2 result</td><td></td></tr>
<tr><td class='name'>49</td><td class='name'>grindstone input</td><td></td></tr>
<tr><td class='name'>50</td><td class='name'>grindstone additional</td><td></td></tr>
<tr><td class='name'>51</td><td class='name'>grindstone result</td><td></td></tr>
<tr><td class='name'>52</td><td class='name'>stonecutter input</td><td></td></tr>
<tr><td class='name'>53</td><td class='name'>stonecutter result</td><td></td></tr>
<tr><td class='name'>54</td><td class='name'>cartography input</td><td></td></tr>
<tr><td class='name'>55</td><td class='name'>cartography additional</td><td></td></tr>
<tr><td class='name'>56</td><td class='name'>cartography result</td><td></td></tr>
<tr><td class='name'>57</td><td class='name'>barrel</td><td></td></tr>
<tr><td class='name'>58</td><td class='name'>cursor</td><td></td></tr>
<tr><td class='name'>59</td><td class='name'>creative output</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="SoundType">
<a href="#SoundType"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>SoundType</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'>SoundType </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'>ItemUseOn</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>Hit</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>Step</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>Fly</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>Jump</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>Break</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'>HeavyStep</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>Gallop</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>Fall</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>Ambient</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>AmbientBaby</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>AmbientInWater</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>Breathe</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>Death</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>DeathInWater</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>DeathToZombie</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>Hurt</td><td></td></tr>
<tr><td class='name'>18</td><td class='name'>HurtInWater</td><td></td></tr>
<tr><td class='name'>19</td><td class='name'>Mad</td><td></td></tr>
<tr><td class='name'>20</td><td class='name'>Boost</td><td></td></tr>
<tr><td class='name'>21</td><td class='name'>Bow</td><td></td></tr>
<tr><td class='name'>22</td><td class='name'>SquishBig</td><td></td></tr>
<tr><td class='name'>23</td><td class='name'>SquishSmall</td><td></td></tr>
<tr><td class='name'>24</td><td class='name'>FallBig</td><td></td></tr>
<tr><td class='name'>25</td><td class='name'>FallSmall</td><td></td></tr>
<tr><td class='name'>26</td><td class='name'>Splash</td><td></td></tr>
<tr><td class='name'>27</td><td class='name'>Fizz</td><td></td></tr>
<tr><td class='name'>28</td><td class='name'>Flap</td><td></td></tr>
<tr><td class='name'>29</td><td class='name'>Swim</td><td></td></tr>
<tr><td class='name'>30</td><td class='name'>Drink</td><td></td></tr>
<tr><td class='name'>31</td><td class='name'>Eat</td><td></td></tr>
<tr><td class='name'>32</td><td class='name'>Takeoff</td><td></td></tr>
<tr><td class='name'>33</td><td class='name'>Shake</td><td></td></tr>
<tr><td class='name'>34</td><td class='name'>Plop</td><td></td></tr>
<tr><td class='name'>35</td><td class='name'>Land</td><td></td></tr>
<tr><td class='name'>36</td><td class='name'>Saddle</td><td></td></tr>
<tr><td class='name'>37</td><td class='name'>Armor</td><td></td></tr>
<tr><td class='name'>38</td><td class='name'>MobArmorStandPlace</td><td></td></tr>
<tr><td class='name'>39</td><td class='name'>AddChest</td><td></td></tr>
<tr><td class='name'>40</td><td class='name'>Throw</td><td></td></tr>
<tr><td class='name'>41</td><td class='name'>Attack</td><td></td></tr>
<tr><td class='name'>42</td><td class='name'>AttackNoDamage</td><td></td></tr>
<tr><td class='name'>43</td><td class='name'>AttackStrong</td><td></td></tr>
<tr><td class='name'>44</td><td class='name'>Warn</td><td></td></tr>
<tr><td class='name'>45</td><td class='name'>Shear</td><td></td></tr>
<tr><td class='name'>46</td><td class='name'>Milk</td><td></td></tr>
<tr><td class='name'>47</td><td class='name'>Thunder</td><td></td></tr>
<tr><td class='name'>48</td><td class='name'>Explode</td><td></td></tr>
<tr><td class='name'>49</td><td class='name'>Fire</td><td></td></tr>
<tr><td class='name'>50</td><td class='name'>Ignite</td><td></td></tr>
<tr><td class='name'>51</td><td class='name'>Fuse</td><td></td></tr>
<tr><td class='name'>52</td><td class='name'>Stare</td><td></td></tr>
<tr><td class='name'>53</td><td class='name'>Spawn</td><td></td></tr>
<tr><td class='name'>54</td><td class='name'>Shoot</td><td></td></tr>
<tr><td class='name'>55</td><td class='name'>BreakBlock</td><td></td></tr>
<tr><td class='name'>56</td><td class='name'>Launch</td><td></td></tr>
<tr><td class='name'>57</td><td class='name'>Blast</td><td></td></tr>
<tr><td class='name'>58</td><td class='name'>LargeBlast</td><td></td></tr>
<tr><td class='name'>59</td><td class='name'>Twinkle</td><td></td></tr>
<tr><td class='name'>60</td><td class='name'>Remedy</td><td></td></tr>
<tr><td class='name'>61</td><td class='name'>Infect</td><td></td></tr>
<tr><td class='name'>62</td><td class='name'>LevelUp</td><td></td></tr>
<tr><td class='name'>63</td><td class='name'>BowHit</td><td></td></tr>
<tr><td class='name'>64</td><td class='name'>BulletHit</td><td></td></tr>
<tr><td class='name'>65</td><td class='name'>ExtinguishFire</td><td></td></tr>
<tr><td class='name'>66</td><td class='name'>ItemFizz</td><td></td></tr>
<tr><td class='name'>67</td><td class='name'>ChestOpen</td><td></td></tr>
<tr><td class='name'>68</td><td class='name'>ChestClosed</td><td></td></tr>
<tr><td class='name'>69</td><td class='name'>ShulkerBoxOpen</td><td></td></tr>
<tr><td class='name'>70</td><td class='name'>ShulkerBoxClosed</td><td></td></tr>
<tr><td class='name'>71</td><td class='name'>EnderChestOpen</td><td></td></tr>
<tr><td class='name'>72</td><td class='name'>EnderChestClosed</td><td></td></tr>
<tr><td class='name'>73</td><td class='name'>PowerOn</td><td></td></tr>
<tr><td class='name'>74</td><td class='name'>PowerOff</td><td></td></tr>
<tr><td class='name'>75</td><td class='name'>Attach</td><td></td></tr>
<tr><td class='name'>76</td><td class='name'>Detach</td><td></td></tr>
<tr><td class='name'>77</td><td class='name'>Deny</td><td></td></tr>
<tr><td class='name'>78</td><td class='name'>Tripod</td><td></td></tr>
<tr><td class='name'>79</td><td class='name'>Pop</td><td></td></tr>
<tr><td class='name'>80</td><td class='name'>DropSlot</td><td></td></tr>
<tr><td class='name'>81</td><td class='name'>Note</td><td></td></tr>
<tr><td class='name'>82</td><td class='name'>Thorns</td><td></td></tr>
<tr><td class='name'>83</td><td class='name'>PistonIn</td><td></td></tr>
<tr><td class='name'>84</td><td class='name'>PistonOut</td><td></td></tr>
<tr><td class='name'>85</td><td class='name'>Portal</td><td></td></tr>
<tr><td class='name'>86</td><td class='name'>Water</td><td></td></tr>
<tr><td class='name'>87</td><td class='name'>LavaPop</td><td></td></tr>
<tr><td class='name'>88</td><td class='name'>Lava</td><td></td></tr>
<tr><td class='name'>89</td><td class='name'>Burp</td><td></td></tr>
<tr><td class='name'>90</td><td class='name'>BucketFillWater</td><td></td></tr>
<tr><td class='name'>91</td><td class='name'>BucketFillLava</td><td></td></tr>
<tr><td class='name'>92</td><td class='name'>BucketEmptyWater</td><td></td></tr>
<tr><td class='name'>93</td><td class='name'>BucketEmptyLava</td><td></td></tr>
<tr><td class='name'>94</td><td class='name'>ArmorEquipChain</td><td></td></tr>
<tr><td class='name'>95</td><td class='name'>ArmorEquipDiamond</td><td></td></tr>
<tr><td class='name'>96</td><td class='name'>ArmorEquipGeneric</td><td></td></tr>
<tr><td class='name'>97</td><td class='name'>ArmorEquipGold</td><td></td></tr>
<tr><td class='name'>98</td><td class='name'>ArmorEquipIron</td><td></td></tr>
<tr><td class='name'>99</td><td class='name'>ArmorEquipLeather</td><td></td></tr>
<tr><td class='name'>100</td><td class='name'>ArmorEquipElytra</td><td></td></tr>
<tr><td class='name'>101</td><td class='name'>Record13</td><td></td></tr>
<tr><td class='name'>102</td><td class='name'>RecordCat</td><td></td></tr>
<tr><td class='name'>103</td><td class='name'>RecordBlocks</td><td></td></tr>
<tr><td class='name'>104</td><td class='name'>RecordChirp</td><td></td></tr>
<tr><td class='name'>105</td><td class='name'>RecordFar</td><td></td></tr>
<tr><td class='name'>106</td><td class='name'>RecordMall</td><td></td></tr>
<tr><td class='name'>107</td><td class='name'>RecordMellohi</td><td></td></tr>
<tr><td class='name'>108</td><td class='name'>RecordStal</td><td></td></tr>
<tr><td class='name'>109</td><td class='name'>RecordStrad</td><td></td></tr>
<tr><td class='name'>110</td><td class='name'>RecordWard</td><td></td></tr>
<tr><td class='name'>111</td><td class='name'>Record11</td><td></td></tr>
<tr><td class='name'>112</td><td class='name'>RecordWait</td><td></td></tr>
<tr><td class='name'>113</td><td class='name'>StopRecord</td><td></td></tr>
<tr><td class='name'>114</td><td class='name'>Flop</td><td></td></tr>
<tr><td class='name'>115</td><td class='name'>GuardianCurse</td><td></td></tr>
<tr><td class='name'>116</td><td class='name'>MobWarning</td><td></td></tr>
<tr><td class='name'>117</td><td class='name'>MobWarningBaby</td><td></td></tr>
<tr><td class='name'>118</td><td class='name'>Teleport</td><td></td></tr>
<tr><td class='name'>119</td><td class='name'>ShulkerOpen</td><td></td></tr>
<tr><td class='name'>120</td><td class='name'>ShulkerClose</td><td></td></tr>
<tr><td class='name'>121</td><td class='name'>Haggle</td><td></td></tr>
<tr><td class='name'>122</td><td class='name'>HaggleYes</td><td></td></tr>
<tr><td class='name'>123</td><td class='name'>HaggleNo</td><td></td></tr>
<tr><td class='name'>124</td><td class='name'>HaggleIdle</td><td></td></tr>
<tr><td class='name'>125</td><td class='name'>ChorusGrow</td><td></td></tr>
<tr><td class='name'>126</td><td class='name'>ChorusDeath</td><td></td></tr>
<tr><td class='name'>127</td><td class='name'>Glass</td><td></td></tr>
<tr><td class='name'>128</td><td class='name'>PotionBrewed</td><td></td></tr>
<tr><td class='name'>129</td><td class='name'>CastSpell</td><td></td></tr>
<tr><td class='name'>130</td><td class='name'>PrepareAttackSpell</td><td></td></tr>
<tr><td class='name'>131</td><td class='name'>PrepareSummon</td><td></td></tr>
<tr><td class='name'>132</td><td class='name'>PrepareWololo</td><td></td></tr>
<tr><td class='name'>133</td><td class='name'>Fang</td><td></td></tr>
<tr><td class='name'>134</td><td class='name'>Charge</td><td></td></tr>
<tr><td class='name'>135</td><td class='name'>CameraTakePicture</td><td></td></tr>
<tr><td class='name'>136</td><td class='name'>LeashKnotPlace</td><td></td></tr>
<tr><td class='name'>137</td><td class='name'>LeashKnotBreak</td><td></td></tr>
<tr><td class='name'>138</td><td class='name'>AmbientGrowl</td><td></td></tr>
<tr><td class='name'>139</td><td class='name'>AmbientWhine</td><td></td></tr>
<tr><td class='name'>140</td><td class='name'>AmbientPant</td><td></td></tr>
<tr><td class='name'>141</td><td class='name'>AmbientPurr</td><td></td></tr>
<tr><td class='name'>142</td><td class='name'>AmbientPurreow</td><td></td></tr>
<tr><td class='name'>143</td><td class='name'>DeathMinVolume</td><td></td></tr>
<tr><td class='name'>144</td><td class='name'>DeathMidVolume</td><td></td></tr>
<tr><td class='name'>145</td><td class='name'>ImitateBlaze</td><td></td></tr>
<tr><td class='name'>146</td><td class='name'>ImitateCaveSpider</td><td></td></tr>
<tr><td class='name'>147</td><td class='name'>ImitateCreeper</td><td></td></tr>
<tr><td class='name'>148</td><td class='name'>ImitateElderGuardian</td><td></td></tr>
<tr><td class='name'>149</td><td class='name'>ImitateEnderDragon</td><td></td></tr>
<tr><td class='name'>150</td><td class='name'>ImitateEnderman</td><td></td></tr>
<tr><td class='name'>151</td><td class='name'>ImitateEndermite</td><td></td></tr>
<tr><td class='name'>152</td><td class='name'>ImitateEvocationIllager</td><td></td></tr>
<tr><td class='name'>153</td><td class='name'>ImitateGhast</td><td></td></tr>
<tr><td class='name'>154</td><td class='name'>ImitateHusk</td><td></td></tr>
<tr><td class='name'>155</td><td class='name'>ImitateIllusionIllager</td><td></td></tr>
<tr><td class='name'>156</td><td class='name'>ImitateMagmaCube</td><td></td></tr>
<tr><td class='name'>157</td><td class='name'>ImitatePolarBear</td><td></td></tr>
<tr><td class='name'>158</td><td class='name'>ImitateShulker</td><td></td></tr>
<tr><td class='name'>159</td><td class='name'>ImitateSilverfish</td><td></td></tr>
<tr><td class='name'>160</td><td class='name'>ImitateSkeleton</td><td></td></tr>
<tr><td class='name'>161</td><td class='name'>ImitateSlime</td><td></td></tr>
<tr><td class='name'>162</td><td class='name'>ImitateSpider</td><td></td></tr>
<tr><td class='name'>163</td><td class='name'>ImitateStray</td><td></td></tr>
<tr><td class='name'>164</td><td class='name'>ImitateVex</td><td></td></tr>
<tr><td class='name'>165</td><td class='name'>ImitateVindicationIllager</td><td></td></tr>
<tr><td class='name'>166</td><td class='name'>ImitateWitch</td><td></td></tr>
<tr><td class='name'>167</td><td class='name'>ImitateWither</td><td></td></tr>
<tr><td class='name'>168</td><td class='name'>ImitateWitherSkeleton</td><td></td></tr>
<tr><td class='name'>169</td><td class='name'>ImitateWolf</td><td></td></tr>
<tr><td class='name'>170</td><td class='name'>ImitateZombie</td><td></td></tr>
<tr><td class='name'>171</td><td class='name'>ImitateZombiePigman</td><td></td></tr>
<tr><td class='name'>172</td><td class='name'>ImitateZombieVillager</td><td></td></tr>
<tr><td class='name'>173</td><td class='name'>EnderEyePlaced</td><td></td></tr>
<tr><td class='name'>174</td><td class='name'>EndPortalCreated</td><td></td></tr>
<tr><td class='name'>175</td><td class='name'>AnvilUse</td><td></td></tr>
<tr><td class='name'>176</td><td class='name'>BottleDragonBreath</td><td></td></tr>
<tr><td class='name'>177</td><td class='name'>PortalTravel</td><td></td></tr>
<tr><td class='name'>178</td><td class='name'>TridentHit</td><td></td></tr>
<tr><td class='name'>179</td><td class='name'>TridentReturn</td><td></td></tr>
<tr><td class='name'>180</td><td class='name'>TridentRiptide1</td><td></td></tr>
<tr><td class='name'>181</td><td class='name'>TridentRiptide2</td><td></td></tr>
<tr><td class='name'>182</td><td class='name'>TridentRiptide3</td><td></td></tr>
<tr><td class='name'>183</td><td class='name'>TridentThrow</td><td></td></tr>
<tr><td class='name'>184</td><td class='name'>TridentThunder</td><td></td></tr>
<tr><td class='name'>185</td><td class='name'>TridentHitGround</td><td></td></tr>
<tr><td class='name'>186</td><td class='name'>Default</td><td></td></tr>
<tr><td class='name'>187</td><td class='name'>FletchingTableUse</td><td></td></tr>
<tr><td class='name'>188</td><td class='name'>ElemConstructOpen</td><td></td></tr>
<tr><td class='name'>189</td><td class='name'>IceBombHit</td><td></td></tr>
<tr><td class='name'>190</td><td class='name'>BalloonPop</td><td></td></tr>
<tr><td class='name'>191</td><td class='name'>LtReactionIceBomb</td><td></td></tr>
<tr><td class='name'>192</td><td class='name'>LtReactionBleach</td><td></td></tr>
<tr><td class='name'>193</td><td class='name'>LtReactionElephantToothpaste</td><td></td></tr>
<tr><td class='name'>194</td><td class='name'>LtReactionElephantToothpaste2</td><td></td></tr>
<tr><td class='name'>195</td><td class='name'>LtReactionGlowStick</td><td></td></tr>
<tr><td class='name'>196</td><td class='name'>LtReactionGlowStick2</td><td></td></tr>
<tr><td class='name'>197</td><td class='name'>LtReactionLuminol</td><td></td></tr>
<tr><td class='name'>198</td><td class='name'>LtReactionSalt</td><td></td></tr>
<tr><td class='name'>199</td><td class='name'>LtReactionFertilizer</td><td></td></tr>
<tr><td class='name'>200</td><td class='name'>LtReactionFireball</td><td></td></tr>
<tr><td class='name'>201</td><td class='name'>LtReactionMagnesiumSalt</td><td></td></tr>
<tr><td class='name'>202</td><td class='name'>LtReactionMiscFire</td><td></td></tr>
<tr><td class='name'>203</td><td class='name'>LtReactionFire</td><td></td></tr>
<tr><td class='name'>204</td><td class='name'>LtReactionMiscExplosion</td><td></td></tr>
<tr><td class='name'>205</td><td class='name'>LtReactionMiscMystical</td><td></td></tr>
<tr><td class='name'>206</td><td class='name'>LtReactionMiscMystical2</td><td></td></tr>
<tr><td class='name'>207</td><td class='name'>LtReactionProduct</td><td></td></tr>
<tr><td class='name'>208</td><td class='name'>SparklerUse</td><td></td></tr>
<tr><td class='name'>209</td><td class='name'>GlowStickUse</td><td></td></tr>
<tr><td class='name'>210</td><td class='name'>SparklerActive</td><td></td></tr>
<tr><td class='name'>211</td><td class='name'>ConvertToDrowned</td><td></td></tr>
<tr><td class='name'>212</td><td class='name'>BucketFillFish</td><td></td></tr>
<tr><td class='name'>213</td><td class='name'>BucketEmptyFish</td><td></td></tr>
<tr><td class='name'>214</td><td class='name'>BubbleColumnUpwards</td><td></td></tr>
<tr><td class='name'>215</td><td class='name'>BubbleColumnDownwards</td><td></td></tr>
<tr><td class='name'>216</td><td class='name'>BubblePop</td><td></td></tr>
<tr><td class='name'>217</td><td class='name'>BubbleUpInside</td><td></td></tr>
<tr><td class='name'>218</td><td class='name'>BubbleDownInside</td><td></td></tr>
<tr><td class='name'>219</td><td class='name'>HurtBaby</td><td></td></tr>
<tr><td class='name'>220</td><td class='name'>DeathBaby</td><td></td></tr>
<tr><td class='name'>221</td><td class='name'>StepBaby</td><td></td></tr>
<tr><td class='name'>222</td><td class='name'>SpawnBaby</td><td></td></tr>
<tr><td class='name'>223</td><td class='name'>Born</td><td></td></tr>
<tr><td class='name'>224</td><td class='name'>TurtleEggBreak</td><td></td></tr>
<tr><td class='name'>225</td><td class='name'>TurtleEggCrack</td><td></td></tr>
<tr><td class='name'>226</td><td class='name'>TurtleEggHatched</td><td></td></tr>
<tr><td class='name'>227</td><td class='name'>LayEgg</td><td></td></tr>
<tr><td class='name'>228</td><td class='name'>TurtleEggAttacked</td><td></td></tr>
<tr><td class='name'>229</td><td class='name'>BeaconActivate</td><td></td></tr>
<tr><td class='name'>230</td><td class='name'>BeaconAmbient</td><td></td></tr>
<tr><td class='name'>231</td><td class='name'>BeaconDeactivate</td><td></td></tr>
<tr><td class='name'>232</td><td class='name'>BeaconPower</td><td></td></tr>
<tr><td class='name'>233</td><td class='name'>ConduitActivate</td><td></td></tr>
<tr><td class='name'>234</td><td class='name'>ConduitAmbient</td><td></td></tr>
<tr><td class='name'>235</td><td class='name'>ConduitAttack</td><td></td></tr>
<tr><td class='name'>236</td><td class='name'>ConduitDeactivate</td><td></td></tr>
<tr><td class='name'>237</td><td class='name'>ConduitShort</td><td></td></tr>
<tr><td class='name'>238</td><td class='name'>Swoop</td><td></td></tr>
<tr><td class='name'>239</td><td class='name'>BambooSaplingPlace</td><td></td></tr>
<tr><td class='name'>240</td><td class='name'>PreSneeze</td><td></td></tr>
<tr><td class='name'>241</td><td class='name'>Sneeze</td><td></td></tr>
<tr><td class='name'>242</td><td class='name'>AmbientTame</td><td></td></tr>
<tr><td class='name'>243</td><td class='name'>Scared</td><td></td></tr>
<tr><td class='name'>244</td><td class='name'>ScaffoldingClimb</td><td></td></tr>
<tr><td class='name'>245</td><td class='name'>CrossbowLoadingStart</td><td></td></tr>
<tr><td class='name'>246</td><td class='name'>CrossbowLoadingMiddle</td><td></td></tr>
<tr><td class='name'>247</td><td class='name'>CrossbowLoadingEnd</td><td></td></tr>
<tr><td class='name'>248</td><td class='name'>CrossbowShoot</td><td></td></tr>
<tr><td class='name'>249</td><td class='name'>CrossbowQuickChargeStart</td><td></td></tr>
<tr><td class='name'>250</td><td class='name'>CrossbowQuickChargeMiddle</td><td></td></tr>
<tr><td class='name'>251</td><td class='name'>CrossbowQuickChargeEnd</td><td></td></tr>
<tr><td class='name'>252</td><td class='name'>AmbientAggressive</td><td></td></tr>
<tr><td class='name'>253</td><td class='name'>AmbientWorried</td><td></td></tr>
<tr><td class='name'>254</td><td class='name'>CantBreed</td><td></td></tr>
<tr><td class='name'>255</td><td class='name'>ShieldBlock</td><td></td></tr>
<tr><td class='name'>256</td><td class='name'>LecternBookPlace</td><td></td></tr>
<tr><td class='name'>257</td><td class='name'>GrindstoneUse</td><td></td></tr>
<tr><td class='name'>258</td><td class='name'>Bell</td><td></td></tr>
<tr><td class='name'>259</td><td class='name'>CampfireCrackle</td><td></td></tr>
<tr><td class='name'>260</td><td class='name'>Roar</td><td></td></tr>
<tr><td class='name'>261</td><td class='name'>Stun</td><td></td></tr>
<tr><td class='name'>262</td><td class='name'>SweetBerryBushHurt</td><td></td></tr>
<tr><td class='name'>263</td><td class='name'>SweetBerryBushPick</td><td></td></tr>
<tr><td class='name'>264</td><td class='name'>CartographyTableUse</td><td></td></tr>
<tr><td class='name'>265</td><td class='name'>StonecutterUse</td><td></td></tr>
<tr><td class='name'>266</td><td class='name'>ComposterEmpty</td><td></td></tr>
<tr><td class='name'>267</td><td class='name'>ComposterFill</td><td></td></tr>
<tr><td class='name'>268</td><td class='name'>ComposterFillLayer</td><td></td></tr>
<tr><td class='name'>269</td><td class='name'>ComposterReady</td><td></td></tr>
<tr><td class='name'>270</td><td class='name'>BarrelOpen</td><td></td></tr>
<tr><td class='name'>271</td><td class='name'>BarrelClose</td><td></td></tr>
<tr><td class='name'>272</td><td class='name'>RaidHorn</td><td></td></tr>
<tr><td class='name'>273</td><td class='name'>LoomUse</td><td></td></tr>
<tr><td class='name'>274</td><td class='name'>AmbientInRaid</td><td></td></tr>
<tr><td class='name'>275</td><td class='name'>UicartographyTableUse</td><td></td></tr>
<tr><td class='name'>276</td><td class='name'>UistonecutterUse</td><td></td></tr>
<tr><td class='name'>277</td><td class='name'>UiloomUse</td><td></td></tr>
<tr><td class='name'>278</td><td class='name'>SmokerUse</td><td></td></tr>
<tr><td class='name'>279</td><td class='name'>BlastFurnaceUse</td><td></td></tr>
<tr><td class='name'>280</td><td class='name'>SmithingTableUse</td><td></td></tr>
<tr><td class='name'>281</td><td class='name'>Screech</td><td></td></tr>
<tr><td class='name'>282</td><td class='name'>Sleep</td><td></td></tr>
<tr><td class='name'>283</td><td class='name'>FurnaceUse</td><td></td></tr>
<tr><td class='name'>284</td><td class='name'>MooshroomConvert</td><td></td></tr>
<tr><td class='name'>285</td><td class='name'>MilkSuspiciously</td><td></td></tr>
<tr><td class='name'>286</td><td class='name'>Celebrate</td><td></td></tr>
<tr><td class='name'>287</td><td class='name'>JumpPrevent</td><td></td></tr>
<tr><td class='name'>288</td><td class='name'>AmbientPollinate</td><td></td></tr>
<tr><td class='name'>289</td><td class='name'>BeehiveDrip</td><td></td></tr>
<tr><td class='name'>290</td><td class='name'>BeehiveEnter</td><td></td></tr>
<tr><td class='name'>291</td><td class='name'>BeehiveExit</td><td></td></tr>
<tr><td class='name'>292</td><td class='name'>BeehiveWork</td><td></td></tr>
<tr><td class='name'>293</td><td class='name'>BeehiveShear</td><td></td></tr>
<tr><td class='name'>294</td><td class='name'>HoneybottleDrink</td><td></td></tr>
<tr><td class='name'>295</td><td class='name'>AmbientCave</td><td></td></tr>
<tr><td class='name'>296</td><td class='name'>Retreat</td><td></td></tr>
<tr><td class='name'>297</td><td class='name'>ConvertToZombified</td><td></td></tr>
<tr><td class='name'>298</td><td class='name'>Admire</td><td></td></tr>
<tr><td class='name'>299</td><td class='name'>StepLava</td><td></td></tr>
<tr><td class='name'>300</td><td class='name'>Tempt</td><td></td></tr>
<tr><td class='name'>301</td><td class='name'>Panic</td><td></td></tr>
<tr><td class='name'>302</td><td class='name'>Angry</td><td></td></tr>
<tr><td class='name'>303</td><td class='name'>AmbientMoodWarpedForest</td><td></td></tr>
<tr><td class='name'>304</td><td class='name'>AmbientMoodSoulsandValley</td><td></td></tr>
<tr><td class='name'>305</td><td class='name'>AmbientMoodNetherWastes</td><td></td></tr>
<tr><td class='name'>306</td><td class='name'>AmbientMoodBasaltDeltas</td><td></td></tr>
<tr><td class='name'>307</td><td class='name'>AmbientMoodCrimsonForest</td><td></td></tr>
<tr><td class='name'>308</td><td class='name'>RespawnAnchorCharge</td><td></td></tr>
<tr><td class='name'>309</td><td class='name'>RespawnAnchorDeplete</td><td></td></tr>
<tr><td class='name'>310</td><td class='name'>RespawnAnchorSetSpawn</td><td></td></tr>
<tr><td class='name'>311</td><td class='name'>RespawnAnchorAmbient</td><td></td></tr>
<tr><td class='name'>312</td><td class='name'>SoulEscapeQuiet</td><td></td></tr>
<tr><td class='name'>313</td><td class='name'>SoulEscapeLoud</td><td></td></tr>
<tr><td class='name'>314</td><td class='name'>RecordPigstep</td><td></td></tr>
<tr><td class='name'>315</td><td class='name'>LinkCompassToLodestone</td><td></td></tr>
<tr><td class='name'>316</td><td class='name'>UseSmithingTable</td><td></td></tr>
<tr><td class='name'>317</td><td class='name'>EquipNetherite</td><td></td></tr>
<tr><td class='name'>318</td><td class='name'>AmbientLoopWarpedForest</td><td></td></tr>
<tr><td class='name'>319</td><td class='name'>AmbientLoopSoulsandValley</td><td></td></tr>
<tr><td class='name'>320</td><td class='name'>AmbientLoopNetherWastes</td><td></td></tr>
<tr><td class='name'>321</td><td class='name'>AmbientLoopBasaltDeltas</td><td></td></tr>
<tr><td class='name'>322</td><td class='name'>AmbientLoopCrimsonForest</td><td></td></tr>
<tr><td class='name'>323</td><td class='name'>AmbientAdditionWarpedForest</td><td></td></tr>
<tr><td class='name'>324</td><td class='name'>AmbientAdditionSoulsandValley</td><td></td></tr>
<tr><td class='name'>325</td><td class='name'>AmbientAdditionNetherWastes</td><td></td></tr>
<tr><td class='name'>326</td><td class='name'>AmbientAdditionBasaltDeltas</td><td></td></tr>
<tr><td class='name'>327</td><td class='name'>AmbientAdditionCrimsonForest</td><td></td></tr>
<tr><td class='name'>328</td><td class='name'>SculkSensorPowerOn</td><td></td></tr>
<tr><td class='name'>329</td><td class='name'>SculkSensorPowerOff</td><td></td></tr>
<tr><td class='name'>330</td><td class='name'>BucketFillPowderSnow</td><td></td></tr>
<tr><td class='name'>331</td><td class='name'>BucketEmptyPowderSnow</td><td></td></tr>
<tr><td class='name'>332</td><td class='name'>PointedDripstoneCauldronDripWater</td><td></td></tr>
<tr><td class='name'>333</td><td class='name'>PointedDripstoneCauldronDripLava</td><td></td></tr>
<tr><td class='name'>334</td><td class='name'>PointedDripstoneDripWater</td><td></td></tr>
<tr><td class='name'>335</td><td class='name'>PointedDripstoneDripLava</td><td></td></tr>
<tr><td class='name'>336</td><td class='name'>CaveVinesPickBerries</td><td></td></tr>
<tr><td class='name'>337</td><td class='name'>BigDripleafTiltDown</td><td></td></tr>
<tr><td class='name'>338</td><td class='name'>BigDripleafTiltUp</td><td></td></tr>
<tr><td class='name'>339</td><td class='name'>CopperWaxOn</td><td></td></tr>
<tr><td class='name'>340</td><td class='name'>CopperWaxOff</td><td></td></tr>
<tr><td class='name'>341</td><td class='name'>Scrape</td><td></td></tr>
<tr><td class='name'>342</td><td class='name'>PlayerHurtDrown</td><td></td></tr>
<tr><td class='name'>343</td><td class='name'>PlayerHurtOnFire</td><td></td></tr>
<tr><td class='name'>344</td><td class='name'>PlayerHurtFreeze</td><td></td></tr>
<tr><td class='name'>345</td><td class='name'>UseSpyglass</td><td></td></tr>
<tr><td class='name'>346</td><td class='name'>StopUsingSpyglass</td><td></td></tr>
<tr><td class='name'>347</td><td class='name'>AmethystBlockChime</td><td></td></tr>
<tr><td class='name'>348</td><td class='name'>AmbientScreamer</td><td></td></tr>
<tr><td class='name'>349</td><td class='name'>HurtScreamer</td><td></td></tr>
<tr><td class='name'>350</td><td class='name'>DeathScreamer</td><td></td></tr>
<tr><td class='name'>351</td><td class='name'>MilkScreamer</td><td></td></tr>
<tr><td class='name'>352</td><td class='name'>JumpToBlock</td><td></td></tr>
<tr><td class='name'>353</td><td class='name'>PreRam</td><td></td></tr>
<tr><td class='name'>354</td><td class='name'>PreRamScreamer</td><td></td></tr>
<tr><td class='name'>355</td><td class='name'>RamImpact</td><td></td></tr>
<tr><td class='name'>356</td><td class='name'>RamImpactScreamer</td><td></td></tr>
<tr><td class='name'>357</td><td class='name'>SquidInkSquirt</td><td></td></tr>
<tr><td class='name'>358</td><td class='name'>GlowSquidInkSquirt</td><td></td></tr>
<tr><td class='name'>359</td><td class='name'>ConvertToStray</td><td></td></tr>
<tr><td class='name'>360</td><td class='name'>CakeAddCandle</td><td></td></tr>
<tr><td class='name'>361</td><td class='name'>ExtinguishCandle</td><td></td></tr>
<tr><td class='name'>362</td><td class='name'>AmbientCandle</td><td></td></tr>
<tr><td class='name'>363</td><td class='name'>BlockClick</td><td></td></tr>
<tr><td class='name'>364</td><td class='name'>BlockClickFail</td><td></td></tr>
<tr><td class='name'>365</td><td class='name'>SculkCatalystBloom</td><td></td></tr>
<tr><td class='name'>366</td><td class='name'>SculkShriekerShriek</td><td></td></tr>
<tr><td class='name'>367</td><td class='name'>WardenNearbyClose</td><td></td></tr>
<tr><td class='name'>368</td><td class='name'>WardenNearbyCloser</td><td></td></tr>
<tr><td class='name'>369</td><td class='name'>WardenNearbyClosest</td><td></td></tr>
<tr><td class='name'>370</td><td class='name'>WardenSlightlyAngry</td><td></td></tr>
<tr><td class='name'>371</td><td class='name'>RecordOtherside</td><td></td></tr>
<tr><td class='name'>372</td><td class='name'>Tongue</td><td></td></tr>
<tr><td class='name'>373</td><td class='name'>CrackIronGolem</td><td></td></tr>
<tr><td class='name'>374</td><td class='name'>RepairIronGolem</td><td></td></tr>
<tr><td class='name'>375</td><td class='name'>Listening</td><td></td></tr>
<tr><td class='name'>376</td><td class='name'>Heartbeat</td><td></td></tr>
<tr><td class='name'>377</td><td class='name'>HornBreak</td><td></td></tr>
<tr><td class='name'>378</td><td class='name'>SculkPlace</td><td></td></tr>
<tr><td class='name'>379</td><td class='name'>SculkSpread</td><td></td></tr>
<tr><td class='name'>380</td><td class='name'>SculkCharge</td><td></td></tr>
<tr><td class='name'>381</td><td class='name'>SculkSensorPlace</td><td></td></tr>
<tr><td class='name'>382</td><td class='name'>SculkShriekerPlace</td><td></td></tr>
<tr><td class='name'>383</td><td class='name'>goat call 0</td><td></td></tr>
<tr><td class='name'>384</td><td class='name'>goat call 1</td><td></td></tr>
<tr><td class='name'>385</td><td class='name'>goat call 2</td><td></td></tr>
<tr><td class='name'>386</td><td class='name'>goat call 3</td><td></td></tr>
<tr><td class='name'>387</td><td class='name'>goat call 4</td><td></td></tr>
<tr><td class='name'>388</td><td class='name'>goat call 5</td><td></td></tr>
<tr><td class='name'>389</td><td class='name'>goat call 6</td><td></td></tr>
<tr><td class='name'>390</td><td class='name'>goat call 7</td><td></td></tr>
<tr><td class='name'>391</td><td class='name'>goat call 8</td><td></td></tr>
<tr><td class='name'>392</td><td class='name'>goat call 9</td><td></td></tr>
<tr><td class='name'>393</td><td class='name'>goat harmony 0</td><td></td></tr>
<tr><td class='name'>394</td><td class='name'>goat harmony 1</td><td></td></tr>
<tr><td class='name'>395</td><td class='name'>goat harmony 2</td><td></td></tr>
<tr><td class='name'>396</td><td class='name'>goat harmony 3</td><td></td></tr>
<tr><td class='name'>397</td><td class='name'>goat harmony 4</td><td></td></tr>
<tr><td class='name'>398</td><td class='name'>goat harmony 5</td><td></td></tr>
<tr><td class='name'>399</td><td class='name'>goat harmony 6</td><td></td></tr>
<tr><td class='name'>400</td><td class='name'>goat harmony 7</td><td></td></tr>
<tr><td class='name'>401</td><td class='name'>goat harmony 8</td><td></td></tr>
<tr><td class='name'>402</td><td class='name'>goat harmony 9</td><td></td></tr>
<tr><td class='name'>403</td><td class='name'>goat melody 0</td><td></td></tr>
<tr><td class='name'>404</td><td class='name'>goat melody 1</td><td></td></tr>
<tr><td class='name'>405</td><td class='name'>goat melody 2</td><td></td></tr>
<tr><td class='name'>406</td><td class='name'>goat melody 3</td><td></td></tr>
<tr><td class='name'>407</td><td class='name'>goat melody 4</td><td></td></tr>
<tr><td class='name'>408</td><td class='name'>goat melody 5</td><td></td></tr>
<tr><td class='name'>409</td><td class='name'>goat melody 6</td><td></td></tr>
<tr><td class='name'>410</td><td class='name'>goat melody 7</td><td></td></tr>
<tr><td class='name'>411</td><td class='name'>goat melody 8</td><td></td></tr>
<tr><td class='name'>412</td><td class='name'>goat melody 9</td><td></td></tr>
<tr><td class='name'>413</td><td class='name'>goat bass 0</td><td></td></tr>
<tr><td class='name'>414</td><td class='name'>goat bass 1</td><td></td></tr>
<tr><td class='name'>415</td><td class='name'>goat bass 2</td><td></td></tr>
<tr><td class='name'>416</td><td class='name'>goat bass 3</td><td></td></tr>
<tr><td class='name'>417</td><td class='name'>goat bass 4</td><td></td></tr>
<tr><td class='name'>418</td><td class='name'>goat bass 5</td><td></td></tr>
<tr><td class='name'>419</td><td class='name'>goat bass 6</td><td></td></tr>
<tr><td class='name'>420</td><td class='name'>goat bass 7</td><td></td></tr>
<tr><td class='name'>421</td><td class='name'>goat bass 8</td><td></td></tr>
<tr><td class='name'>422</td><td class='name'>goat bass 9</td><td></td></tr>
<tr><td class='name'>423</td><td class='name'>_</td><td></td></tr>
<tr><td class='name'>424</td><td class='name'>_</td><td></td></tr>
<tr><td class='name'>425</td><td class='name'>_</td><td></td></tr>
<tr><td class='name'>426</td><td class='name'>ImitateWarden</td><td></td></tr>
<tr><td class='name'>427</td><td class='name'>ListeningAngry</td><td></td></tr>
<tr><td class='name'>428</td><td class='name'>ItemGiven</td><td></td></tr>
<tr><td class='name'>429</td><td class='name'>ItemTaken</td><td></td></tr>
<tr><td class='name'>430</td><td class='name'>Disappeared</td><td></td></tr>
<tr><td class='name'>431</td><td class='name'>Reappeared</td><td></td></tr>
<tr><td class='name'>432</td><td class='name'>DrinkMilk</td><td></td></tr>
<tr><td class='name'>433</td><td class='name'>FrogspawnHatched</td><td></td></tr>
<tr><td class='name'>434</td><td class='name'>LaySpawn</td><td></td></tr>
<tr><td class='name'>435</td><td class='name'>FrogspawnBreak</td><td></td></tr>
<tr><td class='name'>436</td><td class='name'>SonicBoom</td><td></td></tr>
<tr><td class='name'>437</td><td class='name'>SonicCharge</td><td></td></tr>
<tr><td class='name'>438</td><td class='name'>SoundeventItemThrown</td><td></td></tr>
<tr><td class='name'>439</td><td class='name'>Record5</td><td></td></tr>
<tr><td class='name'>440</td><td class='name'>ConvertToFrog</td><td></td></tr>
<tr><td class='name'>441</td><td class='name'>RecordPlaying</td><td></td></tr>
<tr><td class='name'>442</td><td class='name'>Undefined</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>TODO: remove?</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="DeviceOS">
<a href="#DeviceOS"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>DeviceOS</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'>DeviceOS </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'>Undefined</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>Android</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>IOS</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>OSX</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>FireOS</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>GearVR</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>Hololens</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>Win10</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>Win32</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>Dedicated</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>TVOS</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>Orbis</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>NintendoSwitch</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>Xbox</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>WindowsPhone</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>Linux</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="AbilityLayers">
<a href="#AbilityLayers"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>AbilityLayers</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>AbilityLayer represents the abilities of a specific layer, such as the base layer or the spectator layer.</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'>lu16 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>cache</td><td><p>Type represents the type of the layer. This is one of the AbilityLayerType constants defined above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>base</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>spectator</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>commands</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>allowed </td><td>AbilitySet</td><td><p>The abilities that can be toggled between</p></td></tr>
<tr><td class='field-name name'>enabled </td><td>AbilitySet</td><td><p>The abilities that are currently active</p></td></tr>
<tr><td class='field-name name'>fly speed </td><td>lf32</td><td><p>FlySpeed is the default fly speed of the layer.</p></td></tr>
<tr><td class='field-name name'>walk speed </td><td>lf32</td><td><p>WalkSpeed is the default walk speed of the layer.</p></td></tr>
</table><br/><hr/><br/><p><h1 id="loginsequence">Login Sequence</h1>
<p>The login process is as follows:<br/></p>
<ul>
<li>C→S: <a href="#packet_login">Login</a></li>
<li>S→C: <a href="#packet_server_to_client_handshake">Server To Client Handshake</a></li>
<li>C→S: <a href="#packet_client_to_server_handshake">Client To Server Handshake</a></li>
<li>S→C: <a href="#packet_play_status">Play Status (Login success)</a></li>
<li>To spawn, the following packets should be sent, in order, after the ones above:</li>
<li>S→C: <a href="#packet_resource_packs_info">Resource Packs Info</a></li>
<li>C→S: <a href="#packet_resource_pack_client_response">Resource Pack Client Response</a></li>
<li>S→C: <a href="#packet_resource_pack_stack">Resource Pack Stack</a></li>
<li>C→S: <a href="#packet_resource_pack_client_response">Resource Pack Client Response</a></li>
<li>S→C: <a href="#packet_start_game">Start Game</a></li>
<li>S→C: <a href="#packet_creative_content">Creative Content</a></li>
<li>S→C: <a href="#packet_biome_definition_list">Biome Definition List</a></li>
<li>S→C: <a href="#packet_level_chunk">Chunks</a></li>
<li>S→C: <a href="#packet_play_status">Play Status (Player spawn)</a><br/>
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.<br/></li>
</ul></p>
<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></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>
<tr><td class='name'>8</td><td class='name'>failed editor vanilla mismatch</td><td><p>Cannot join a vanilla game on editor</p></td></tr>
<tr><td class='name'>9</td><td class='name'>failed vanilla editor mismatch</td><td><p>Cannot join an editor game on vanilla</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'>force server packs </td><td>bool</td><td><p>ForcingServerPacks is currently an unclear field.</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'>player position </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>lu64</td><td><p>The seed used to generate the world.</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='name field-name'>dimension </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'>overworld</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='name'>1</td><td class='name'>nether</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>end</td><td></td></tr>
</table></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'>editor world </td><td>bool</td><td><p>EditorWorld is a value to dictate if the world is in editor mode, a special mode recently introduced adding
"powerful tools for editing worlds, intended for experienced creators."</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><a href="#PermissionLevel">PermissionLevel</a></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'>edu resource uri </td><td><a href="#EducationSharedResourceURI">EducationSharedResourceURI</a></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>MovementType specifies the way the server handles player movement. Available options are
packet.AuthoritativeMovementModeClient, packet.AuthoritativeMovementModeServer and
packet.AuthoritativeMovementModeServerWithRewind, where server the server authoritative types result
in the client sending PlayerAuthInput packets instead of MovePlayer packets and the rewind mode
requires sending the tick of movement and several actions.<br/>
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 with 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'>rewind history size </td><td>zigzag32</td><td><p>RewindHistorySize is the amount of history to keep at maximum if MovementType is
packet.AuthoritativeMovementModeServerWithRewind.</p></td></tr>
<tr><td class='field-name name'>server authoritative block breaking </td><td>bool</td><td><p>ServerAuthoritativeBlockBreaking specifies if block breaking should be sent through
packet.PlayerAuthInput or not. This field is somewhat redundant as it is always enabled if
MovementType is packet.AuthoritativeMovementModeServer or
packet.AuthoritativeMovementModeServerWithRewind</p></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 properties </td><td><a href="#BlockProperties">BlockProperties</a></td><td><p>BlockProperties is a list of all the custom blocks registered on the server.</p></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><p>ServerAuthoritativeInventory specifies if the server authoritative inventory system is enabled. This
is a new system introduced in 1.16. Backwards compatibility with the inventory transactions has to
some extent been preserved, but will eventually be removed.</p></td></tr>
<tr><td class='field-name name'>engine </td><td>string</td><td><p>The server's engine version, used for telemetry</p></td></tr>
<tr><td class='field-name name'>property data </td><td>nbt</td><td><p>PropertyData contains properties that should be applied on the player. These properties are the same as the
ones that are sent in the SyncActorProperty packet.</p></td></tr>
<tr><td class='field-name name'>block pallette checksum </td><td>lu64</td><td><p>A checksum to ensure block types between the server and client match</p></td></tr>
<tr><td class='field-name name'>world template id </td><td>uuid</td><td><p>WorldTemplateID is a UUID that identifies the template that was used to generate the world. Servers that do not
use a world based off of a template can set this to an empty UUID.</p></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'>runtime 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'>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'>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'>velocity </td><td><a href="#vec3f">vec3f</a></td><td><p>Velocity is the initial velocity the player spawns with. This velocity will initiate client side
movement of the player.</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='field-name name'>held item </td><td><a href="#Item">Item</a></td><td><p>HeldItem is the item that the player is holding. The item is shown to the viewer as soon as the player
itself shows up. Needless to say that this field is rather pointless, as additional packets still must
be sent for armour to show up.</p></td></tr>
<tr><td class='field-name name'>gamemode </td><td><a href="#GameMode">GameMode</a></td><td><p>GameType is the game type of the player. If set to GameTypeSpectator, the player will not be shown to viewers.</p></td></tr>
<tr><td class='field-name name'>metadata </td><td><a href="#MetadataDictionary">MetadataDictionary</a></td><td><p>EntityMetadata is a map of entity metadata, which includes flags and data properties that alter in
particular the way the player looks. Flags include ones such as 'on fire' and 'sprinting'.
The metadata values are indexed by their property key.</p></td></tr>
<tr><td class='field-name name'>unique id </td><td>li64</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'>permission level </td><td><a href="#PermissionLevel">PermissionLevel</a></td><td></td></tr>
<tr><td class='field-name name'>command permission </td><td><a href="#CommandPermissionLevel">CommandPermissionLevel</a></td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>abilities</span> length</td><td class="field-implicit">u8</td><td rowspan=2><p>AbilityLayer represents the abilities of a specific layer, such as the base layer or the spectator layer.</p></td></tr>
<tr><td class='field-name'><span class='name'>abilities</span> <div class="tag tag-array">array</div></td><td>AbilityLayers</td><td></td></tr>
<tr><td class='field-name name'>links </td><td><a href="#Links">Links</a></td><td><p>EntityLinks is a list of entity links that are currently active on the player. These links alter the
way the player shows up when first spawned in terms of it shown as riding an entity. Setting these
links is important for new viewers to see the player is riding another entity.</p></td></tr>
<tr><td class='field-name name'>device id </td><td>string</td><td><p>DeviceID is the device ID set in one of the files found in the storage of the device of the player. It
may be changed freely, so it should not be relied on for anything.</p></td></tr>
<tr><td class='field-name name'>device os </td><td><a href="#DeviceOS">DeviceOS</a></td><td><p>BuildPlatform is the build platform/device OS of the player that is about to be added, as it sent in
the Login packet when joining.</p></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'>unique id </td><td>zigzag64</td><td><p>EntityUniqueID is the unique ID of the entity. 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 entity out for</p></td></tr>
<tr><td class='field-name name'>runtime id </td><td>varint64</td><td><p>EntityRuntimeID is the runtime ID of the entity. 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'>entity type </td><td>string</td><td><p>EntityType is the string entity type of the entity, for example 'minecraft:skeleton'. A list of these
entities may be found online.</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 entity on. If the entity is on a distance that the player cannot
see it, the entity will still show up if the player moves closer.</p></td></tr>
<tr><td class='field-name name'>velocity </td><td><a href="#vec3f">vec3f</a></td><td><p>Velocity is the initial velocity the entity spawns with. This velocity will initiate client side
movement of the entity.</p></td></tr>
<tr><td class='field-name name'>pitch </td><td>lf32</td><td><p>Pitch is the vertical rotation of the entity. 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 entity. 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 entity. A different value for
HeadYaw than Yaw means that the entity will have its head turned.</p></td></tr>
<tr><td class='field-name name'>body yaw </td><td>lf32</td><td><p>BodyYaw is the same as Yaw, except that it applies specifically to the body of the entity. A different value for
BodyYaw than HeadYaw means that the entity will have its body turned, although it is unclear what the difference
between BodyYaw and Yaw is.</p></td></tr>
<tr><td class='field-name name'>attributes </td><td><a href="#EntityAttributes">EntityAttributes</a></td><td><p>Attributes is a slice of attributes that the entity has. It includes attributes such as its health,
movement speed, etc.</p></td></tr>
<tr><td class='field-name name'>metadata </td><td><a href="#MetadataDictionary">MetadataDictionary</a></td><td><p>EntityMetadata is a map of entity metadata, which includes flags and data properties that alter in
particular the way the entity looks. Flags include ones such as 'on fire' and 'sprinting'.
The metadata values are indexed by their property key.</p></td></tr>
<tr><td class='field-name name'>links </td><td><a href="#Links">Links</a></td><td><p>EntityLinks is a list of entity links that are currently active on the entity. These links alter the
way the entity shows up when first spawned in terms of it shown as riding an entity. Setting these
links is important for new viewers to see the entity is riding another entity.</p></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>varint64</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'>position </td><td><a href="#vec3f">vec3f</a></td><td></td></tr>
<tr><td class='field-name name'>velocity </td><td><a href="#vec3f">vec3f</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'>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>varint64</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>MoveActorAbsolute is sent by the server to move an entity to an absolute position. It is typically used
for movements where high accuracy isn't needed, such as for long range teleporting.</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. 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'>flags </td><td>u8</td><td><p>Flags is a combination of flags that specify details of the movement. It is a combination of the flags
above.</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 entity on. If the entity is on a distance that the player cannot
see it, the entity will still show up if the player moves closer.</p></td></tr>
<tr><td class='field-name name'>rotation </td><td><a href="#Rotation">Rotation</a></td><td><p>Rotation is a Vec3 holding the X, Y and Z rotation of the entity after the movement. This is a Vec3 for
the reason that projectiles like arrows don't have yaw/pitch, but do have roll.</p></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>UpdateBlock is sent by the server to update a block client-side, without resending the entire chunk that
the block is located in. It is particularly useful for small modifications like block breaking/placing.</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 block position at which a block is updated.</p></td></tr>
<tr><td class='field-name name'>block runtime id </td><td>varint</td><td><p>NewBlockRuntimeID is the runtime ID of the block that is placed at Position after sending the packet
to the client.</p></td></tr>
<tr><td class='field-name name'>flags </td><td>UpdateBlockFlags</td><td><p>Flags is a combination of flags that specify the way the block is updated client-side. It is a
combination of the flags above, but typically sending only the BlockUpdateNetwork flag is sufficient.</p></td></tr>
<tr><td class='field-name name'>layer </td><td>varint</td><td><p>Layer is the world layer on which the block is updated. For most blocks, this is the first layer, as
that layer is the default layer to place blocks on, but for blocks inside of each other, this differs.</p></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>varint64</td><td></td></tr>
<tr><td class='field-name name'>coordinates </td><td><a href="#vec3f">vec3f</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'>1064</td><td class='name'>pointed dripstone land</td><td></td></tr>
<tr><td class='name'>1065</td><td class='name'>dye used</td><td></td></tr>
<tr><td class='name'>1066</td><td class='name'>ink sack used</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'>2005</td><td class='name'>particle crop growth</td><td></td></tr>
<tr><td class='name'>2006</td><td class='name'>particle guardian curse</td><td></td></tr>
<tr><td class='name'>2007</td><td class='name'>particle death smoke</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'>2010</td><td class='name'>particle dragon egg teleport</td><td></td></tr>
<tr><td class='name'>2011</td><td class='name'>particle crop eaten</td><td></td></tr>
<tr><td class='name'>2012</td><td class='name'>particle critical</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'>2015</td><td class='name'>particle bubble</td><td></td></tr>
<tr><td class='name'>2016</td><td class='name'>particle evaporate</td><td></td></tr>
<tr><td class='name'>2017</td><td class='name'>particle destroy armor stand</td><td></td></tr>
<tr><td class='name'>2018</td><td class='name'>particle breaking egg</td><td></td></tr>
<tr><td class='name'>2019</td><td class='name'>particle destroy egg</td><td></td></tr>
<tr><td class='name'>2020</td><td class='name'>particle evaporate water</td><td></td></tr>
<tr><td class='name'>2021</td><td class='name'>particle destroy block no sound</td><td></td></tr>
<tr><td class='name'>2022</td><td class='name'>particle knockback roar</td><td></td></tr>
<tr><td class='name'>2023</td><td class='name'>particle teleport trail</td><td></td></tr>
<tr><td class='name'>2024</td><td class='name'>particle point cloud</td><td></td></tr>
<tr><td class='name'>2025</td><td class='name'>particle explosion</td><td></td></tr>
<tr><td class='name'>2026</td><td class='name'>particle block explosion</td><td></td></tr>
<tr><td class='name'>2027</td><td class='name'>particle vibration signal</td><td></td></tr>
<tr><td class='name'>2028</td><td class='name'>particle dripstone drip</td><td></td></tr>
<tr><td class='name'>2029</td><td class='name'>particle fizz effect</td><td></td></tr>
<tr><td class='name'>2030</td><td class='name'>particle wax on</td><td></td></tr>
<tr><td class='name'>2031</td><td class='name'>particle wax off</td><td></td></tr>
<tr><td class='name'>2032</td><td class='name'>particle scrape</td><td></td></tr>
<tr><td class='name'>2033</td><td class='name'>particle electric spark</td><td></td></tr>
<tr><td class='name'>2034</td><td class='name'>particle turtle egg</td><td></td></tr>
<tr><td class='name'>2035</td><td class='name'>particle sculk shriek</td><td></td></tr>
<tr><td class='name'>2036</td><td class='name'>sculk catalyst bloom</td><td></td></tr>
<tr><td class='name'>2037</td><td class='name'>sculk charge</td><td></td></tr>
<tr><td class='name'>2038</td><td class='name'>sculk charge pop</td><td></td></tr>
<tr><td class='name'>2039</td><td class='name'>sonic explosion</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'>9801</td><td class='name'>sleeping players</td><td></td></tr>
<tr><td class='name'>16384</td><td class='name'>add particle mask</td><td></td></tr>
<tr><td class='name'>16385</td><td class='name'>add particle bubble</td><td><p>0x4000 | + particle ID</p></td></tr>
<tr><td class='name'>16386</td><td class='name'>add particle bubble manual</td><td></td></tr>
<tr><td class='name'>16387</td><td class='name'>add particle critical</td><td></td></tr>
<tr><td class='name'>16388</td><td class='name'>add particle block force field</td><td></td></tr>
<tr><td class='name'>16389</td><td class='name'>add particle smoke</td><td></td></tr>
<tr><td class='name'>16390</td><td class='name'>add particle explode</td><td></td></tr>
<tr><td class='name'>16391</td><td class='name'>add particle evaporation</td><td></td></tr>
<tr><td class='name'>16392</td><td class='name'>add particle flame</td><td></td></tr>
<tr><td class='name'>16393</td><td class='name'>add particle candle flame</td><td></td></tr>
<tr><td class='name'>16394</td><td class='name'>add particle lava</td><td></td></tr>
<tr><td class='name'>16395</td><td class='name'>add particle large smoke</td><td></td></tr>
<tr><td class='name'>16396</td><td class='name'>add particle redstone</td><td></td></tr>
<tr><td class='name'>16397</td><td class='name'>add particle rising red dust</td><td></td></tr>
<tr><td class='name'>16398</td><td class='name'>add particle item break</td><td></td></tr>
<tr><td class='name'>16399</td><td class='name'>add particle snowball poof</td><td></td></tr>
<tr><td class='name'>16400</td><td class='name'>add particle huge explode</td><td></td></tr>
<tr><td class='name'>16401</td><td class='name'>add particle huge explode seed</td><td></td></tr>
<tr><td class='name'>16402</td><td class='name'>add particle mob flame</td><td></td></tr>
<tr><td class='name'>16403</td><td class='name'>add particle heart</td><td></td></tr>
<tr><td class='name'>16404</td><td class='name'>add particle terrain</td><td></td></tr>
<tr><td class='name'>16405</td><td class='name'>add particle town aura</td><td></td></tr>
<tr><td class='name'>16406</td><td class='name'>add particle portal</td><td></td></tr>
<tr><td class='name'>16408</td><td class='name'>add particle water splash</td><td></td></tr>
<tr><td class='name'>16409</td><td class='name'>add particle water splash manual</td><td></td></tr>
<tr><td class='name'>16410</td><td class='name'>add particle water wake</td><td></td></tr>
<tr><td class='name'>16411</td><td class='name'>add particle drip water</td><td></td></tr>
<tr><td class='name'>16412</td><td class='name'>add particle drip lava</td><td></td></tr>
<tr><td class='name'>16413</td><td class='name'>add particle drip honey</td><td></td></tr>
<tr><td class='name'>16414</td><td class='name'>add particle stalactite drip water</td><td></td></tr>
<tr><td class='name'>16415</td><td class='name'>add particle stalactite drip lava</td><td></td></tr>
<tr><td class='name'>16416</td><td class='name'>add particle falling dust</td><td></td></tr>
<tr><td class='name'>16417</td><td class='name'>add particle mob spell</td><td></td></tr>
<tr><td class='name'>16418</td><td class='name'>add particle mob spell ambient</td><td></td></tr>
<tr><td class='name'>16419</td><td class='name'>add particle mob spell instantaneous</td><td></td></tr>
<tr><td class='name'>16420</td><td class='name'>add particle ink</td><td></td></tr>
<tr><td class='name'>16421</td><td class='name'>add particle slime</td><td></td></tr>
<tr><td class='name'>16422</td><td class='name'>add particle rain splash</td><td></td></tr>
<tr><td class='name'>16423</td><td class='name'>add particle villager angry</td><td></td></tr>
<tr><td class='name'>16424</td><td class='name'>add particle villager happy</td><td></td></tr>
<tr><td class='name'>16425</td><td class='name'>add particle enchantment table</td><td></td></tr>
<tr><td class='name'>16426</td><td class='name'>add particle tracking emitter</td><td></td></tr>
<tr><td class='name'>16427</td><td class='name'>add particle note</td><td></td></tr>
<tr><td class='name'>16428</td><td class='name'>add particle witch spell</td><td></td></tr>
<tr><td class='name'>16429</td><td class='name'>add particle carrot</td><td></td></tr>
<tr><td class='name'>16430</td><td class='name'>add particle mob appearance</td><td></td></tr>
<tr><td class='name'>16431</td><td class='name'>add particle end rod</td><td></td></tr>
<tr><td class='name'>16432</td><td class='name'>add particle dragons breath</td><td></td></tr>
<tr><td class='name'>16433</td><td class='name'>add particle spit</td><td></td></tr>
<tr><td class='name'>16434</td><td class='name'>add particle totem</td><td></td></tr>
<tr><td class='name'>16435</td><td class='name'>add particle food</td><td></td></tr>
<tr><td class='name'>16436</td><td class='name'>add particle fireworks starter</td><td></td></tr>
<tr><td class='name'>16437</td><td class='name'>add particle fireworks spark</td><td></td></tr>
<tr><td class='name'>16438</td><td class='name'>add particle fireworks overlay</td><td></td></tr>
<tr><td class='name'>16439</td><td class='name'>add particle balloon gas</td><td></td></tr>
<tr><td class='name'>16440</td><td class='name'>add particle colored flame</td><td></td></tr>
<tr><td class='name'>16441</td><td class='name'>add particle sparkler</td><td></td></tr>
<tr><td class='name'>16442</td><td class='name'>add particle conduit</td><td></td></tr>
<tr><td class='name'>16443</td><td class='name'>add particle bubble column up</td><td></td></tr>
<tr><td class='name'>16444</td><td class='name'>add particle bubble column down</td><td></td></tr>
<tr><td class='name'>16445</td><td class='name'>add particle sneeze</td><td></td></tr>
<tr><td class='name'>16446</td><td class='name'>add particle shulker bullet</td><td></td></tr>
<tr><td class='name'>16447</td><td class='name'>add particle bleach</td><td></td></tr>
<tr><td class='name'>16448</td><td class='name'>add particle dragon destroy block</td><td></td></tr>
<tr><td class='name'>16449</td><td class='name'>add particle mycelium dust</td><td></td></tr>
<tr><td class='name'>16450</td><td class='name'>add particle falling red dust</td><td></td></tr>
<tr><td class='name'>16451</td><td class='name'>add particle campfire smoke</td><td></td></tr>
<tr><td class='name'>16452</td><td class='name'>add particle tall campfire smoke</td><td></td></tr>
<tr><td class='name'>16453</td><td class='name'>add particle dragon breath fire</td><td></td></tr>
<tr><td class='name'>16454</td><td class='name'>add particle dragon breath trail</td><td></td></tr>
<tr><td class='name'>16455</td><td class='name'>add particle blue flame</td><td></td></tr>
<tr><td class='name'>16456</td><td class='name'>add particle soul</td><td></td></tr>
<tr><td class='name'>16457</td><td class='name'>add particle obsidian tear</td><td></td></tr>
<tr><td class='name'>16458</td><td class='name'>add particle portal reverse</td><td></td></tr>
<tr><td class='name'>16459</td><td class='name'>add particle snowflake</td><td></td></tr>
<tr><td class='name'>16460</td><td class='name'>add particle vibration signal</td><td></td></tr>
<tr><td class='name'>16461</td><td class='name'>add particle sculk sensor redstone</td><td></td></tr>
<tr><td class='name'>16462</td><td class='name'>add particle spore blossom shower</td><td></td></tr>
<tr><td class='name'>16463</td><td class='name'>add particle spore blossom ambient</td><td></td></tr>
<tr><td class='name'>16464</td><td class='name'>add particle wax</td><td></td></tr>
<tr><td class='name'>16465</td><td class='name'>add particle electric spark</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>varint64</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'>64</td><td class='name'>caravan</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>
<tr><td class='name'>76</td><td class='name'>grow up</td><td></td></tr>
<tr><td class='name'>77</td><td class='name'>vibration detected</td><td></td></tr>
<tr><td class='name'>78</td><td class='name'>drink milk</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>varint64</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>InventoryTransaction is a packet sent by the client. It essentially exists out of multiple sub-packets,
each of which have something to do with the inventory in one way or another. Some of these sub-packets
directly relate to the inventory, others relate to interaction with the world, that could potentially
result in a change in 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'>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>varint64</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'>window 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>varint64</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 entity id </td><td>varint64</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>
<tr><td class='field-name name'>with data </td><td>bool</td><td><p>WithData is true if the pick request requests the entity metadata.</p></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>varint64</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'>action </td><td><a href="#Action">Action</a></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='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'>result position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>ResultPosition is the position of the action's result. When a UseItemOn action is sent, this is the position of
the block clicked, but when a block is placed, this is the position at which the block will be placed.</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'>cause </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>damage </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>armor slots </td><td>zigzag64</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>varint64</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>SetActorMotion is sent by the server to change the client-side velocity of an entity. It is usually used
in combination with server-side movement calculation.</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. 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'>velocity </td><td><a href="#vec3f">vec3f</a></td><td><p>Velocity is the new velocity the entity gets. This velocity will initiate the client-side movement of
the entity.</p></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'>position </td><td><a href="#vec3f">vec3f</a></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>varint64</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'>window 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="#Item">Item</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.
IF FURNACE:
0: furnace<em>tick</em>count
1: furnace<em>lit</em>time
2: furnace<em>lit</em>duration
3: furnace<em>stored</em>xp
4: furnace<em>fuel</em>aux
IF BREWING STAND:
0: brew<em>time
1: brew</em>fuel<em>amount
2: brew</em>fuel_total</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><p>PotionContainerChangeRecipes is a list of all recipes to convert a potion from one type to another,
such as from a drinkable potion to a splash potion, or from a splash potion to a lingering potion.</p></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 field-implicit'><span class='name'>material reducers</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>MaterialReducers is a list of all material reducers which is used in education edition chemistry.</p></td></tr>
<tr><td class='field-name'><span class='name'>material reducers</span> <div class="tag tag-array">array</div></td><td>MaterialReducer</td><td></td></tr>
<tr><td class='field-name name'>clear recipes </td><td>bool</td><td><p>ClearRecipes indicates if all recipes currently active on the client should be cleaned. Doing this
means that the client will have no recipes active by itself: Any CraftingData packets previously sent
will also be discarded, and only the recipes in this CraftingData packet will be used.</p></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>GUIDataPickItem is sent by the server to make the client 'select' a hot bar slot. It currently appears to
be broken however, and does not actually set the selected slot to the hot bar slot set in the 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'>item name </td><td>string</td><td><p>ItemName is the name of the item that shows up in the top part of the popup that shows up when
selecting an item. It is shown as if an item was selected by the player itself.</p></td></tr>
<tr><td class='field-name name'>item effects </td><td>string</td><td><p>ItemEffects is the line under the ItemName, where the effects of the item are usually situated.</p></td></tr>
<tr><td class='field-name name'>hotbar slot </td><td>li32</td><td><p>HotBarSlot is the hot bar slot to be selected/picked. This does not currently work, so it does not
matter what number this is.</p></td></tr>
</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='field-name name'>command permission </td><td><a href="#CommandPermissionLevelVarint">CommandPermissionLevelVarint</a></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='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='field-name name'>permission level </td><td><a href="#PermissionLevel">PermissionLevel</a></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='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.
On newer versions, if this is a negative value it indicates to use the Subchunk Polling mechanism</p></td></tr>
<tr><td><b class='name'>highest subchunk count</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>sub chunk count</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is -2</span> </td><td>lu16</td><td><p>HighestSubChunk is the highest sub-chunk at the position that is not all air. It is only set if the
RequestMode is set to protocol.SubChunkRequestModeLimited.</p></td></tr>
</table></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>
<tr><td class='name'>18</td><td class='name'>actor definition</td><td></td></tr>
<tr><td class='name'>19</td><td class='name'>raid update</td><td></td></tr>
<tr><td class='name'>20</td><td class='name'>player movement anomaly</td><td></td></tr>
<tr><td class='name'>21</td><td class='name'>player movement corrected</td><td></td></tr>
<tr><td class='name'>22</td><td class='name'>honey harvested</td><td></td></tr>
<tr><td class='name'>23</td><td class='name'>target block hit</td><td></td></tr>
<tr><td class='name'>24</td><td class='name'>piglin barter</td><td></td></tr>
<tr><td class='name'>25</td><td class='name'>waxed or unwaxed copper</td><td></td></tr>
<tr><td class='name'>26</td><td class='name'>code builder runtime action</td><td></td></tr>
<tr><td class='name'>27</td><td class='name'>code builder scoreboard</td><td></td></tr>
<tr><td class='name'>28</td><td class='name'>strider ridden in lava in overworld</td><td></td></tr>
<tr><td class='name'>29</td><td class='name'>sneak close to sculk sensor</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>ClientBoundMapItemData is sent by the server to the client to update the data of a map shown to the client.
It is sent with a combination of flags that specify what data is updated.
The ClientBoundMapItemData packet may be used to update specific parts of the map only. It is not required
to send the entire map each time when updating one part.</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><p>MapID is the unique identifier that represents the map that is updated over network. It remains
consistent across sessions.</p></td></tr>
<tr><td class='field-name name'>update flags </td><td>UpdateMapFlags</td><td><p>UpdateFlags is a combination of flags found above that indicate what parts of the map should be updated
client-side.</p></td></tr>
<tr><td class='field-name name'>dimension </td><td>u8</td><td><p>Dimension is the dimension of the map that should be updated, for example the overworld (0), the nether
(1) or the end (2).</p></td></tr>
<tr><td class='field-name name'>locked </td><td>bool</td><td><p>LockedMap specifies if the map that was updated was a locked map, which may be done using a cartography
table.</p></td></tr>
<tr><td><b class='name'>included in</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>update flags.initialisation</span></div></i></td><td colspan=2><table>
<tr><td class='field-name field-implicit'><span class='name'><span class='fake'>is true</span></span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>The following fields apply only for the MapUpdateFlagInitialisation.
MapsIncludedIn holds an array of map IDs that the map updated is included in. This has to do with the
scale of the map: Each map holds its own map ID and all map IDs of maps that include this map and have
a bigger scale. This means that a scale 0 map will have 5 map IDs in this slice, whereas a scale 4 map
will have only 1 (its own).
The actual use of this field remains unknown.</p></td></tr>
<tr><td class='field-name'><span class='name'><span class='fake'>is true</span></span> <div class="tag tag-array">array</div></td><td>zigzag64</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>scale</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>update flags.initialisation || update flags.decoration || update flags.texture</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><p>Scale is the scale of the map as it is shown in-game. It is written when any of the MapUpdateFlags are
set to the UpdateFlags field.</p></td></tr>
</table></td></tr>
<tr><td><b class='name'>tracked</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>update flags.decoration</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'>objects</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>The following fields apply only for the MapUpdateFlagDecoration.
TrackedObjects is a list of tracked objects on the map, which may either be entities or blocks. The
client makes sure these tracked objects are actually tracked. (position updated etc.)</p></td></tr>
<tr><td class='field-name'><span class='name'>objects</span> <div class="tag tag-array">array</div></td><td>TrackedObject</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>decorations</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>decorations</span> <div class="tag tag-array">array</div></td><td>MapDecoration</td><td></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td><b class='name'>texture</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>update flags.texture</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'>width </td><td>zigzag32</td><td><p>Updates to the map contents itself (texture)
Width is the width of the texture area that was updated. The width may be a subset of the total width
of the map.</p></td></tr>
<tr><td class='field-name name'>height </td><td>zigzag32</td><td><p>Height is the height of the texture area that was updated. The height may be a subset of the total
height of the map</p></td></tr>
<tr><td class='field-name name'>x offset </td><td>zigzag32</td><td><p>XOffset is the X offset in pixels at which the updated texture area starts. From this X, the updated
texture will extend exactly Width pixels to the right.</p></td></tr>
<tr><td class='field-name name'>y offset </td><td>zigzag32</td><td><p>YOffset is the Y offset in pixels at which the updated texture area starts. From this Y, the updated
texture will extend exactly Height pixels up.</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>pixels</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Pixels is a list of pixel colours for the new texture of the map. It is indexed as Pixels[y][x], with
the length of the outer slice having to be exactly Height long and the inner slices exactly Width long.
To access this array, use $width * y + x</p></td></tr>
<tr><td class='field-name'><span class='name'>pixels</span> <div class="tag tag-array">array</div></td><td>varint</td><td></td></tr>
</table></td></tr>
</table></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>RequestChunkRadius is sent by the client to the server to update the server on the chunk view radius that
it has set in the settings. The server may respond with a ChunkRadiusUpdated packet with either the chunk
radius requested, or a different chunk radius if the server chooses so.</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><p>ChunkRadius is the requested chunk radius. This value is always the value set in the settings of the
player.</p></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>ChunkRadiusUpdated is sent by the server in response to a RequestChunkRadius packet. It defines the chunk
radius that the server allows the client to have. This may be lower than the chunk radius requested by the
client in the RequestChunkRadius 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'>chunk radius </td><td>zigzag32</td><td><p>ChunkRadius is the final chunk radius that the client will adapt when it receives the packet. It does
not have to be the same as the requested chunk radius.</p></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>
<tr><td class='name'>8</td><td class='name'>query</td><td><p>C2S: Client asking the server to resend all boss data.</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 show bar</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>title </td><td>string</td><td><p>BossBarTitle is the title shown above the boss bar. It currently does not function, and instead uses
the name tag of the boss entity at all times. It is only set if the EventType is BossEventShow or
BossEventTitle.</p></td></tr>
<tr><td class='field-name name'>progress </td><td>lf32</td><td><p>HealthPercentage is the percentage of health that is shown in the boss bar. It currently does not
function, and instead uses the health percentage of the boss entity at all times. It is only set if the
EventType is BossEventShow or BossEventHealthPercentage.</p></td></tr>
<tr><td class='field-name name'>screen darkening </td><td>li16</td><td><p>ScreenDarkening currently seems not to do anything.</p></td></tr>
<tr><td class='field-name name'>color </td><td>varint</td><td><p>Colour is the colour of the boss bar that is shown when a player is subscribed. It currently does not
function. It is only set if the EventType is BossEventShow, BossEventAppearanceProperties or
BossEventTexture.
Format is ARGB</p></td></tr>
<tr><td class='field-name name'>overlay </td><td>varint</td><td><p>Overlay is the overlay of the boss bar that is shown on top of the boss bar when a player is
subscribed. It currently does not function. It is only set if the EventType is BossEventShow,
BossEventAppearanceProperties or BossEventTexture.</p></td></tr>
</table></td></tr>
<tr><td class='name'><span class='fake'>is register player or unregister player or query</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>player id </td><td>zigzag64</td><td><p>PlayerUniqueID is the unique ID of the player that is registered to or unregistered from the boss
fight. It is set if EventType is either BossEventRegisterPlayer or BossEventUnregisterPlayer.</p></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'>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>
<tr><td class='name'><span class='fake'>is update properties</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>screen darkening </td><td>li16</td><td></td></tr>
<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 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>
</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>varint64</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<br/>
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>lu16</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'>3</td><td class='name'>float</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>value</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>wildcard int</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>operator</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>command operator</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>target</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>wildcard target</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>file path</td><td></td></tr>
<tr><td class='name'>23</td><td class='name'>integer range</td><td></td></tr>
<tr><td class='name'>38</td><td class='name'>equipment slots</td><td></td></tr>
<tr><td class='name'>39</td><td class='name'>string</td><td></td></tr>
<tr><td class='name'>47</td><td class='name'>block position</td><td></td></tr>
<tr><td class='name'>48</td><td class='name'>position</td><td></td></tr>
<tr><td class='name'>51</td><td class='name'>message</td><td></td></tr>
<tr><td class='name'>53</td><td class='name'>raw text</td><td></td></tr>
<tr><td class='name'>57</td><td class='name'>json</td><td></td></tr>
<tr><td class='name'>67</td><td class='name'>block states</td><td></td></tr>
<tr><td class='name'>70</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>
<tr><td class='name'>1</td><td class='name'>operator permissions</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>host permissions</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='name field-name'>output 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'>last</td><td><p>OutputType specifies the type of output that is sent.</p></td></tr>
<tr><td class='name'>2</td><td class='name'>silent</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>all</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>data set</td><td></td></tr>
</table></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>
<tr><td><b class='name'>data set</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>output type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is data set</span> </td><td>string</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><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>ResourcePackDataInfo is sent by the server to the client to inform the client about the data contained in
one of the resource packs that are about to be sent.</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'>pack id </td><td>string</td><td><p>UUID is the unique ID of the resource pack that the info concerns.</p></td></tr>
<tr><td class='field-name name'>max chunk size </td><td>lu32</td><td><p>DataChunkSize is the maximum size in bytes of the chunks in which the total size of the resource pack
to be sent will be divided. A size of 1MB (1024*1024) means that a resource pack of 15.5MB will be
split into 16 data chunks.</p></td></tr>
<tr><td class='field-name name'>chunk count </td><td>lu32</td><td><p>ChunkCount is the total amount of data chunks that the sent resource pack will exist out of. It is the
total size of the resource pack divided by the DataChunkSize field.
The client doesn't actually seem to use this field. Rather, it divides the size by the chunk size to
calculate it itself.</p></td></tr>
<tr><td class='field-name name'>size </td><td>lu64</td><td><p>Size is the total size in bytes that the resource pack occupies. This is the size of the compressed
archive (zip) of the resource pack.</p></td></tr>
<tr><td class='field-name name'>hash </td><td>ByteArray</td><td><p>Hash is a SHA256 hash of the content of the resource pack.</p></td></tr>
<tr><td class='field-name name'>is premium </td><td>bool</td><td><p>Premium specifies if the resource pack was a premium resource pack, meaning it was bought from the
Minecraft store.</p></td></tr>
<tr><td class='name field-name'>pack 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'>1</td><td class='name'>addon</td><td><p>PackType is the type of the resource pack. It is one of the resource pack types listed.</p></td></tr>
<tr><td class='name'>2</td><td class='name'>cached</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>copy protected</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>behavior</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>persona piece</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>resources</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>skins</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>world template</td><td></td></tr>
</table></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>ResourcePackChunkData is sent to the client so that the client can download the resource pack. Each packet
holds a chunk of the compressed resource pack, of which the size is defined in the ResourcePackDataInfo
packet sent before.</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'>pack id </td><td>string</td><td><p>UUID is the unique ID of the resource pack that the chunk of data is taken out of.</p></td></tr>
<tr><td class='field-name name'>chunk index </td><td>lu32</td><td><p>ChunkIndex is the current chunk index of the chunk. It is a number that starts at 0 and is incremented
for each resource pack data chunk sent to the client.</p></td></tr>
<tr><td class='field-name name'>progress </td><td>lu64</td><td><p>DataOffset is the current progress in bytes or offset in the data that the resource pack data chunk is
taken from.</p></td></tr>
<tr><td class='field-name name'>payload </td><td>ByteArray</td><td><p>RawPayload is a byte slice containing a chunk of data from the resource pack. It must be of the same size or
less than the DataChunkSize set in the ResourcePackDataInfo packet.</p></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>ResourcePackChunkRequest is sent by the client to request a chunk of data from a particular resource pack,
that it has obtained information about in a ResourcePackDataInfo 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'>pack id </td><td>string</td><td><p>UUID is the unique ID of the resource pack that the chunk of data is requested from.</p></td></tr>
<tr><td class='field-name name'>chunk index </td><td>lu32</td><td><p>ChunkIndex is the requested chunk index of the chunk. It is a number that starts at 0 and is
incremented for each resource pack data chunk requested.</p></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>SetTitle is sent by the server to make a title, subtitle or action bar shown to a player. It has several
fields that allow setting the duration of the titles.</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'>zigzag32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>clear</td><td><p>ActionType is the type of the action that should be executed upon the title of a player. It is one of
the constants above and specifies the response of the client to the packet.</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'>set title</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>set subtitle</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>action bar message</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>set durations</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>set title json</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>set subtitle json</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>action bar message json</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>text </td><td>string</td><td><p>Text is the text of the title, which has a different meaning depending on the ActionType that the
packet has. The text is the text of a title, subtitle or action bar, depending on the type set.</p></td></tr>
<tr><td class='field-name name'>fade in time </td><td>zigzag32</td><td><p>FadeInDuration is the duration that the title takes to fade in on the screen of the player. It is
measured in 20ths of a second (AKA in ticks).</p></td></tr>
<tr><td class='field-name name'>stay time </td><td>zigzag32</td><td><p>RemainDuration is the duration that the title remains on the screen of the player. It is measured in
20ths of a second (AKA in ticks).</p></td></tr>
<tr><td class='field-name name'>fade out time </td><td>zigzag32</td><td><p>FadeOutDuration is the duration that the title takes to fade out of the screen of the player. It is
measured in 20ths of a second (AKA in ticks).</p></td></tr>
<tr><td class='field-name name'>xuid </td><td>string</td><td><p>XUID is the XBOX Live user ID of the player, which will remain consistent as long as the player is
logged in with the XBOX Live account. It is empty if the user is not logged into its XBL account.</p></td></tr>
<tr><td class='field-name name'>platform online id </td><td>string</td><td><p>PlatformOnlineID is either a uint64 or an empty string.</p></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>StructureBlockUpdate is sent by the client when it updates a structure block using the in-game UI. The
data it contains depends on the type of structure block that it is. In Minecraft Bedrock Edition v1.11,
there is only the Export structure block type, but in v1.13 the ones present in Java Edition will,
according to the wiki, be added too.</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 structure block that is updated.</p></td></tr>
<tr><td class='field-name name'>structure name </td><td>string</td><td><p>StructureName is the name of the structure that was set in the structure block's UI. This is the name
used to export the structure to a file.</p></td></tr>
<tr><td class='field-name name'>data field </td><td>string</td><td><p>DataField is the name of a function to run, usually used during natural generation. A description can
be found here: https://minecraft.wiki/w/Structure_Block#Data.</p></td></tr>
<tr><td class='field-name name'>include players </td><td>bool</td><td><p>IncludePlayers specifies if the 'Include Players' toggle has been enabled, meaning players are also
exported by the structure block.</p></td></tr>
<tr><td class='field-name name'>show bounding box </td><td>bool</td><td><p>ShowBoundingBox specifies if the structure block should have its bounds outlined. A thin line will
encapsulate the bounds of the structure if set to true.</p></td></tr>
<tr><td class='field-name name'>structure block type </td><td>zigzag32</td><td><p>StructureBlockType is the type of the structure block updated. A list of structure block types that
will be used can be found in the constants above.</p></td></tr>
<tr><td class='field-name name'>settings </td><td><a href="#StructureBlockSettings">StructureBlockSettings</a></td><td><p>Settings is a struct of settings that should be used for exporting the structure. These settings are
identical to the last sent in the StructureBlockUpdate packet by the client.</p></td></tr>
<tr><td class='field-name name'>redstone save mode </td><td>zigzag32</td><td><p>RedstoneSaveMode is the mode that should be used to save the structure when used with redstone. In
Java Edition, this is always stored in memory, but in Bedrock Edition it can be stored either to disk
or memory. See the constants above for the options.</p></td></tr>
<tr><td class='field-name name'>should trigger </td><td>bool</td><td><p>ShouldTrigger specifies if the structure block should be triggered immediately after this packet
reaches the server.</p></td></tr>
</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>ShowStoreOffer is sent by the server to show a Marketplace store offer to a player. It opens a window
client-side that displays the item.
The ShowStoreOffer packet only works on the partnered servers: Servers that are not partnered will not have
a store buttons show up in the in-game pause menu and will, as a result, not be able to open store offers
on the client side. Sending the packet does therefore not work when using a proxy that is not connected to
with the domain of one of the 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 name'>offer id </td><td>string</td><td><p>OfferID is a string that identifies the offer for which a window should be opened. While typically a
UUID, the ID could be anything.</p></td></tr>
<tr><td class='field-name name'>show all </td><td>bool</td><td><p>ShowAll specifies if all other offers of the same 'author' as the one of the offer associated with the
OfferID should also be displayed, alongside the target offer.</p></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>AutomationClientConnect is used to make the client connect to a websocket server. This websocket server has
the ability to execute commands on the behalf of the client and it can listen for certain events fired by
the 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'>server </td><td>string</td><td><p>ServerURI is the URI to make the client connect to. It can be, for example, 'localhost:8000/ws' to
connect to a websocket server on the localhost at port 8000.</p></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>SetLastHurtBy is sent by the server to let the client know what entity type it was last hurt by. At this
moment, the packet is useless and should not be used. There is no behaviour that depends on if this
packet is sent or not.</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 type </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><p>Only available on Education Edition.</p></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>NPCRequest is sent by the client when it interacts with an NPC.
The packet is specifically made for Education Edition, where NPCs are available to use.</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 NPC entity that the player interacted with. It is the same
as sent by the server when spawning the entity.</p></td></tr>
<tr><td class='name field-name'>request 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'>set actions</td><td><p>RequestType is the type of the request, which depends on the permission that the player has. It will
be either a type that indicates that the NPC should show its dialog, or that it should open the
editing window.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>execute action</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>execute closing commands</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>set name</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>set skin</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>set interaction text</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>execute opening commands</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>command </td><td>string</td><td><p>CommandString is the command string set in the NPC. It may consist of multiple commands, depending on
what the player set in it.</p></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'>set actions</td><td><p>ActionType is the type of the action to execute.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>execute action</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>execute closing commands</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>set name</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>set skin</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>set interact text</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>execute opening commands</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>scene name </td><td>string</td><td><p>SceneName is the name of the scene.</p></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>PhotoTransfer is sent by the server to transfer a photo (image) file to the client. It is typically used
to transfer photos so that the client can display it in a portfolio in Education Edition.
While previously usable in the default Bedrock Edition, the displaying of photos in books was disabled and
the packet now has little use anymore.</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'>image name </td><td>string</td><td><p>PhotoName is the name of the photo to transfer. It is the exact file name that the client will download
the photo as, including the extension of the file.</p></td></tr>
<tr><td class='field-name name'>image data </td><td>string</td><td><p>PhotoData is the raw data of the photo image. The format of this data may vary: Formats such as JPEG or
PNG work, as long as PhotoName has the correct extension.</p></td></tr>
<tr><td class='field-name name'>book id </td><td>string</td><td><p>BookID is the ID of the book that the photo is associated with. If the PhotoName in a book with this ID
is set to PhotoName, it will display the photo (provided Education Edition is used).
The photo image is downloaded to a sub-folder with this book ID.</p></td></tr>
<tr><td class='field-name name'>photo type </td><td>u8</td><td><p>PhotoType is one of the three photo types above.</p></td></tr>
<tr><td class='field-name name'>source type </td><td>u8</td><td><p>SourceType is the source photo type. It is one of the three photo types above.</p></td></tr>
<tr><td class='field-name name'>owner entity unique id </td><td>li64</td><td><p>OwnerEntityUniqueID is the entity unique ID of the photo's owner.</p></td></tr>
<tr><td class='field-name name'>new photo name </td><td>string</td><td><p>NewPhotoName is the new name of the photo.</p></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>ModalFormRequest is sent by the server to make the client open a form. This form may be either a modal form
which has two options, a menu form for a selection of options and a custom form for properties.</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><p>FormID is an ID used to identify the form. The ID is saved by the client and sent back when the player
submits the form, so that the server can identify which form was submitted.</p></td></tr>
<tr><td class='field-name name'>data </td><td>string</td><td><p>FormData is a JSON encoded object of form data. The content of the object differs, depending on the
type of the form sent, which is also set in the JSON.</p></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>ModalFormResponse is sent by the client in response to a ModalFormRequest, after the player has submitted
the form sent. It contains the options/properties selected by the player, or a JSON encoded 'null' if
the form was closed by clicking the X at the top right corner of the form.</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><p>FormID is the form ID of the form the client has responded to. It is the same as the ID sent in the
ModalFormRequest, and may be used to identify which form was submitted.</p></td></tr>
<tr><td class='field-name name'>data </td><td>string</td><td><p>ResponseData is a JSON encoded value representing the response of the player. If the form was
cancelled, a JSON encoded 'null' is in the response. For a modal form, the response is either true or
false, for a menu form, the response is an integer specifying the index of the button clicked, and for
a custom form, the response is an array containing a value for each element.</p></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>ServerSettingsRequest is sent by the client to request the settings specific to the server. These settings
are shown in a separate tab client-side, and have the same structure as a custom form.
ServerSettingsRequest 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_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>ServerSettingsResponse is optionally sent by the server in response to a ServerSettingsRequest from the
client. It is structured the same as a ModalFormRequest packet, and if filled out correctly, will show
a specific tab for the server in the settings of the client. A ModalFormResponse packet is sent by the
client in response to a ServerSettingsResponse, when the client fills out the settings and closes the
settings again.</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><p>FormID is an ID used to identify the form. The ID is saved by the client and sent back when the player
submits the form, so that the server can identify which form was submitted.</p></td></tr>
<tr><td class='field-name name'>data </td><td>string</td><td><p>FormData is a JSON encoded object of form data. The content of the object differs, depending on the
type of the form sent, which is also set in the JSON.</p></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>ShowProfile is sent by the server to show the XBOX Live profile of one player to 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'>xuid </td><td>string</td><td><p>XUID is the XBOX Live User ID of the player whose profile should be shown to the player. If it is not
a valid XUID, the client ignores the packet.</p></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>RemoveObjective is sent by the server to remove a scoreboard objective. It is used to stop showing a
scoreboard to a 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'>objective name </td><td>string</td><td><p>ObjectiveName is the name of the objective that the scoreboard currently active has. This name must
be identical to the one sent in the SetDisplayObjective packet.</p></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>SetDisplayObjective is sent by the server to display an object as a scoreboard to the player. Once sent,
it should be followed up by a SetScore packet to set the lines of the 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'>display slot </td><td>string</td><td><p>DisplaySlot is the slot in which the scoreboard should be displayed. Available options can be found in
the constants above.</p></td></tr>
<tr><td class='field-name name'>objective name </td><td>string</td><td><p>ObjectiveName is the name of the objective that the scoreboard displays. Filling out a random unique
value for this field works: It is not displayed in the scoreboard.</p></td></tr>
<tr><td class='field-name name'>display name </td><td>string</td><td><p>DisplayName is the name, or title, that is displayed at the top of the scoreboard.</p></td></tr>
<tr><td class='field-name name'>criteria name </td><td>string</td><td><p>CriteriaName is the name of the criteria that need to be fulfilled in order for the score to be
increased. This can be any kind of string and does not show up client-side.</p></td></tr>
<tr><td class='field-name name'>sort order </td><td>zigzag32</td><td><p>SortOrder is the order in which entries on the scoreboard should be sorted. It is one of the constants
that may be found above.</p></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>SetScore is sent by the server to send the contents of a scoreboard to the player. It may be used to either
add, remove or edit entries on the scoreboard.</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'>change</td><td><p>ActionType is the type of the action to execute upon the scoreboard with the entries that the packet
has. If ActionType is ScoreboardActionModify, all entries will be added to the scoreboard if not yet
present, or modified if already present. If set to ScoreboardActionRemove, all scoreboard entries set
will be removed from the scoreboard.</p></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'>../action</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is change</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="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>UpdateBlockSynced is sent by the server to synchronise the falling of a falling block entity with the
transitioning back and forth from and to a solid block. It is used to prevent the entity from flickering,
and is used in places such as the pushing of blocks with pistons.</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 block position at which a block is updated.</p></td></tr>
<tr><td class='field-name name'>block runtime id </td><td>varint</td><td><p>NewBlockRuntimeID is the runtime ID of the block that is placed at Position after sending the packet
to the client.</p></td></tr>
<tr><td class='field-name name'>flags </td><td>UpdateBlockFlags</td><td><p>Flags is a combination of flags that specify the way the block is updated client-side. It is a
combination of the flags above, but typically sending only the BlockUpdateNetwork flag is sufficient.</p></td></tr>
<tr><td class='field-name name'>layer </td><td>varint</td><td><p>Layer is the world layer on which the block is updated. For most blocks, this is the first layer, as
that layer is the default layer to place blocks on, but for blocks inside of each other, this differs.</p></td></tr>
<tr><td class='field-name name'>entity unique id </td><td>zigzag64</td><td><p>EntityUniqueID is the unique ID of the falling block entity that the block transitions to or that the
entity transitions from.
Note that for both possible values for TransitionType, the EntityUniqueID should point to the falling
block entity involved.</p></td></tr>
<tr><td class='name field-name'>transition type </td><td colspan=2 class="vpad"><div style='padding:8px'>varint <span class='tag tag-enum'>enum</span></div><table>
</table></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>TransitionType is the type of the transition that happened. It is either BlockToEntityTransition, when
a block placed becomes a falling entity, or EntityToBlockTransition, when a falling entity hits the
ground and becomes a solid block again.
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>SetScoreboardIdentity is sent by the server to change the identity type of one of the entries on a
scoreboard. This is used to change, for example, an entry pointing to a player, to a fake player when it
leaves the server, and to change it back to a real player when it joins again.
In non-vanilla situations, the packet is quite useless.</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'>i8 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>0</td><td class='name'>register identity</td><td><p>ActionType is the type of the action to execute. The action is either ScoreboardIdentityActionRegister
to associate an identity with the entry, or ScoreboardIdentityActionClear to remove associations with
an entity.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>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 ><p>Entries is a list of all entries in the packet. Each of these entries points to one of the entries on
a scoreboard. Depending on ActionType, their identity will either be registered or cleared.</p></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'>../action</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is 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="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>NetworkStackLatency is sent by the server (and the client, on development builds) to measure the latency
over the entire Minecraft stack, rather than the RakNet latency. It has other usages too, such as the
ability to be used as some kind of acknowledgement packet, to know when the client has received a certain
other 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'>timestamp </td><td>lu64</td><td><p>Timestamp is the timestamp of the network stack latency packet. The client will, if NeedsResponse is
set to true, send a NetworkStackLatency packet with this same timestamp packet in response.</p></td></tr>
<tr><td class='field-name name'>needs response </td><td>u8</td><td><p>NeedsResponse specifies if the sending side of this packet wants a response to the packet, meaning that
the other side should send a NetworkStackLatency packet back.</p></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>ScriptCustomEvent is sent by both the client and the server. It is a way to let scripts communicate with
the server, so that the client can let the server know it triggered an event, or the other way around.
It is essentially an RPC kind of 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'>event name </td><td>string</td><td><p>EventName is the name of the event. The script and the server will use this event name to identify the
data that is sent.</p></td></tr>
<tr><td class='field-name name'>event data </td><td>string</td><td><p>EventData is the data of the event. This data is typically a JSON encoded string, that the script is
able to encode and decode too.</p></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>SpawnParticleEffect is sent by the server to spawn a particle effect client-side. Unlike other packets that
result in the appearing of particles, this packet can show particles that are not hardcoded in the client.
They can be added and changed through behaviour packs to implement custom particles.</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>u8</td><td><p>Dimension is the dimension that the particle is spawned in. Its exact usage is not clear, as the
dimension has no direct effect on the particle.</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 that the spawned particle may be attached to. If this ID
is not -1, the Position below will be interpreted as relative to the position of the entity associated
with this unique 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 that the particle should be spawned at. If the position is too far away from
the player, it will not show up.
If EntityUniqueID is not -1, the position will be relative to the position of the entity.</p></td></tr>
<tr><td class='field-name name'>particle name </td><td>string</td><td><p>ParticleName is the name of the particle that should be shown. This name may point to a particle effect
that is built-in, or to one implemented by behaviour packs.</p></td></tr>
<tr><td class='field-name name'>molang variables <div class='tag tag-optional'>optional</div></td><td>string</td><td><p>MoLangVariables is an encoded JSON map of MoLang variables that may be applicable to the particle spawn. This can
just be left empty in most cases.</p></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>AvailableActorIdentifiers is sent by the server at the start of the game to let the client know all
entities that are available on the 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'>nbt </td><td>nbt</td><td><p>SerialisedEntityIdentifiers is a network NBT serialised compound of all entity identifiers that are
available in the server.</p></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>Not used. Use <code>packet_level_sound_event</code>.</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>NetworkChunkPublisherUpdate is sent by the server to change the point around which chunks are and remain
loaded. This is useful for mini-game servers, where only one area is ever loaded, in which case the
NetworkChunkPublisherUpdate packet can be sent in the middle of it, so that no chunks ever need to be
additionally sent during the course of the game.
In reality, the packet is not extraordinarily useful, and most servers just send it constantly at the
position of the player.
If the packet is not sent at all, no chunks will be shown to the player, regardless of where they are sent.</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><p>Position is the block position around which chunks loaded will remain shown to the client. Most servers
set this position to the position of the player itself.</p></td></tr>
<tr><td class='field-name name'>radius </td><td>varint</td><td><p>Radius is the radius in blocks around Position that chunks sent show up in and will remain loaded in.
Unlike the RequestChunkRadius and ChunkRadiusUpdated packets, this radius is in blocks rather than
chunks, so the chunk radius needs to be multiplied by 16. (Or shifted to the left by 4.)</p></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>BiomeDefinitionList is sent by the server to let the client know all biomes that are available and
implemented on the server side. It is much like the AvailableActorIdentifiers packet, but instead
functions for biomes.</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><p>SerialisedBiomeDefinitions is a network NBT serialised compound of all definitions of biomes that are
available on the server.</p></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>LevelSoundEvent is sent by the server to make any kind of built-in sound heard to a player. It is sent to,
for example, play a stepping sound or a shear sound. The packet is also sent by the client, in which case
it could be forwarded by the server to the other players online. If possible, the packets from the client
should be ignored however, and the server should play them on its own accord.</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><a href="#SoundType">SoundType</a></td><td><p>SoundType is the type of the sound to play. Some of the sound types
require additional data, which is set in the EventData field.</p></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#vec3f">vec3f</a></td><td><p>Position is the position of the sound event. The player will be able to hear the direction of the sound
based on what position is sent here.</p></td></tr>
<tr><td class='field-name name'>extra data </td><td>zigzag32</td><td><p>ExtraData is a packed integer that some sound types use to provide extra data. An example of this is
the note sound, which is composed of a pitch and an instrument type.</p></td></tr>
<tr><td class='field-name name'>entity type </td><td>string</td><td><p>EntityType is the string entity type of the entity that emitted the sound, for example
'minecraft:skeleton'. Some sound types use this entity type for additional data.</p></td></tr>
<tr><td class='field-name name'>is baby mob </td><td>bool</td><td><p>BabyMob specifies if the sound should be that of a baby mob. It is most notably used for parrot
imitations, which will change based on if this field is set to true or not.</p></td></tr>
<tr><td class='field-name name'>is global </td><td>bool</td><td><p>DisableRelativeVolume specifies if the sound should be played relatively or not. If set to true, the
sound will have full volume, regardless of where the Position is, whereas if set to false, the sound's
volume will be based on the distance to Position.</p></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>This packet was removed.</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>ClientCacheStatus is sent by the client to the server at the start of the game. It is sent to let the
server know if it supports the client-side blob cache. Clients such as Nintendo Switch do not support the
cache, and attempting to use it anyway will fail.</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><p>Enabled specifies if the blob cache is enabled. If false, the server should not attempt to use the
blob cache. If true, it may do so, but it may also choose not to use it.</p></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>OnScreenTextureAnimation is sent by the server to show a certain animation on the screen of the player.
The packet is used, as an example, for when a raid is triggered and when a raid is defeated.</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 type </td><td>lu32</td><td><p>AnimationType is the type of the animation to show. The packet provides no further extra data to allow
modifying the duration or other properties of the animation.</p></td></tr>
</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>MapCreateLockedCopy is sent by the server to create a locked copy of one map into another map. In vanilla,
it is used in the cartography table to create a map that is locked and cannot be modified.</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'>original map id </td><td>zigzag64</td><td><p>OriginalMapID is the ID of the map that is being copied. The locked copy will obtain all content that
is visible on this map, except the content will not change.</p></td></tr>
<tr><td class='field-name name'>new map id </td><td>zigzag64</td><td><p>NewMapID is the ID of the map that holds the locked copy of the map that OriginalMapID points to. Its
contents will be impossible to change.</p></td></tr>
</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>StructureTemplateDataRequest is sent by the client to request data of a structure.</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><p>StructureName is the name of the structure that was set in the structure block's UI. This is the name
used to export the structure to a file.</p></td></tr>
<tr><td class='field-name name'>position </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td><p>Position is the position of the structure block that has its template data requested.</p></td></tr>
<tr><td class='field-name name'>settings </td><td><a href="#StructureBlockSettings">StructureBlockSettings</a></td><td><p>Settings is a struct of settings that should be used for exporting the structure. These settings are
identical to the last sent in the StructureBlockUpdate packet by the client.</p></td></tr>
<tr><td class='name field-name'>request 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'>1</td><td class='name'>export from save</td><td><p>RequestType specifies the type of template data request that the player sent.</p></td></tr>
<tr><td class='name'>2</td><td class='name'>export from load</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>query saved structure</td><td></td></tr>
</table></td></tr>
</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>StructureTemplateDataResponse is sent by the server to send data of a structure to the client in response
to a StructureTemplateDataRequest 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'>name </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>success </td><td>bool</td><td></td></tr>
<tr><td><b class='name'>nbt</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>success</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td>nbt</td><td></td></tr>
</table></td></tr>
<tr><td class='name field-name'>response 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'>1</td><td class='name'>export</td><td><p>ResponseType specifies the response type of the packet. This depends on the RequestType field sent in
the StructureTemplateDataRequest packet and is one of the constants above.</p></td></tr>
<tr><td class='name'>2</td><td class='name'>query</td><td></td></tr>
</table></td></tr>
</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>No longer used.</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'>disable legacy title bar </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>post process filter </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>screenshot border path </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>has agent capabilities </td><td>bool</td><td></td></tr>
<tr><td><b class='name'>agent capabilities</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>has agent capabilities</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'>has </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>can modify blocks </td><td>bool</td><td></td></tr>
</table></td></tr>
</table></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>
<tr><td class='field-name name'>has external link settings </td><td>bool</td><td></td></tr>
<tr><td><b class='name'>external link settings</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>has external link settings</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'>has </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>url </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>display name </td><td>string</td><td></td></tr>
</table></td></tr>
</table></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'>unknown</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'>mouse</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>touch</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>game pad</td><td></td></tr>
<tr><td class='name'>4</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 class='name field-name'>interaction model </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'>touch</td><td><p>InteractionModel is a constant representing the interaction model the player is using.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>crosshair</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>classic</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>
<tr><td><b class='name'>transaction</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>input data.item interact</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'>legacy </td><td><a href="#TransactionLegacy">TransactionLegacy</a></td><td></td></tr>
<tr><td class='field-name name'>actions </td><td><a href="#TransactionActions">TransactionActions</a></td><td></td></tr>
<tr><td class='field-name name'>data </td><td><a href="#TransactionUseItem">TransactionUseItem</a></td><td></td></tr>
</table></td></tr>
</table></td></tr>
<tr><td><b class='name'>item stack request</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>input data.item stack request</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is true</span> </td><td><a href="#ItemStackRequest">ItemStackRequest</a></td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>block action</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>input data.block action</span></div></i></td><td colspan=2><table>
<tr><td class='field-name field-implicit'><span class='name'><span class='fake'>is true</span></span> length</td><td class="field-implicit">zigzag32</td><td ></td></tr>
<tr><td class='field-name'><span class='name'><span class='fake'>is true</span></span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>action </td><td><a href="#Action">Action</a></td><td></td></tr>
<tr><td><b class='name'>&#128257;</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>action</span></div></i></td><td colspan=2><table>
<tr><td class='name'><span class='fake'>is start break or abort break or crack break or predict break or continue break</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>position </td><td><a href="#vec3i">vec3i</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></td></tr>
</table></td></tr>
</table></td></tr>
</table></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>CreativeContent is a packet sent by the server to set the creative inventory's content for a player.
Introduced in 1.16, this packet replaces the previous method - sending an InventoryContent packet with
creative inventory window ID.
As of v1.16.100, this packet must be sent during the login sequence. Not sending it will stop the client
from joining the 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 field-implicit'><span class='name'>items</span> length</td><td class="field-implicit">varint</td><td ><p>Items is a list of the items that should be added to the creative inventory.</p></td></tr>
<tr><td class='field-name'><span class='name'>items</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>entry id </td><td>varint</td><td></td></tr>
<tr><td class='field-name name'>item </td><td><a href="#ItemLegacy">ItemLegacy</a></td><td></td></tr>
</table></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>PlayerEnchantOptions is sent by the server to update the enchantment options displayed when the user opens
the enchantment table and puts an item in. This packet was added in 1.16 and allows the server to decide on
the enchantments that can be selected by the player.
The PlayerEnchantOptions packet should be sent once for every slot update of the enchantment table. The
vanilla server sends an empty PlayerEnchantOptions packet when the player opens the enchantment table
(air is present in the enchantment table slot) and sends the packet with actual enchantments in it when
items are put in that can have enchantments.</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'>options</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Options is a list of possible enchantment options for the item that was put into the enchantment table.</p></td></tr>
<tr><td class='field-name'><span class='name'>options</span> <div class="tag tag-array">array</div></td><td>EnchantOption</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>ItemStackRequest is sent by the client to change item stacks in an inventory. It is essentially a
replacement of the InventoryTransaction packet added in 1.16 for inventory specific actions, such as moving
items around or crafting. The InventoryTransaction packet is still used for actions such as placing blocks
and interacting with entities.</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'>requests</span> length</td><td class="field-implicit">varint</td><td rowspan=2></td></tr>
<tr><td class='field-name'><span class='name'>requests</span> <div class="tag tag-array">array</div></td><td>ItemStackRequest</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>ItemStackResponse is sent by the server in response to an ItemStackRequest packet from the client. This
packet is used to either approve or reject ItemStackRequests from the client. If a request is approved, the
client will simply continue as normal. If rejected, the client will undo the actions so that the inventory
should be in sync with the server again.</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><p>Responses is a list of responses to ItemStackRequests sent by the client before. Responses either
approve or reject a request from the client.
Vanilla limits the size of this slice to 4096.</p></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'>type.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'>stop condition version </td><td>li32</td><td><p>StopConditionVersion is the MoLang stop condition version.</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>How long to move from the previous animation to the next.</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>
<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'>add</td><td><p>Action is the action to be performed, and is one of the constants listed above. Currently the
different actions will either add or stop shaking the client.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>stop</td><td></td></tr>
</table></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 class="packet-header" id="packet_debug_renderer">
<a href="#packet_debug_renderer"><div class='packet-id bound-client'>164</div><div class='packet-name name'>packet debug renderer</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>ClientBoundDebugRenderer is sent by the server to spawn an outlined cube on 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='name field-name'>type </td><td colspan=2 class="vpad"><div style='padding:8px'>li32 <span class='tag tag-enum'>enum</span></div><table>
<tr><td class='name'>1</td><td class='name'>clear</td><td><p>Type is the type of action. It is one of the constants above.</p></td></tr>
<tr><td class='name'>2</td><td class='name'>add cube</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</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is clear</span> </td><td>void</td><td></td></tr>
<tr><td class='name'><span class='fake'>is add cube</span> </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>text </td><td>string</td><td><p>Text is the text that is displayed above the debug.</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 debug on.</p></td></tr>
<tr><td class='field-name name'>red </td><td>lf32</td><td><p>Red is the red value from the RGBA colour rendered on the debug.</p></td></tr>
<tr><td class='field-name name'>green </td><td>lf32</td><td><p>Green is the green value from the RGBA colour rendered on the debug.</p></td></tr>
<tr><td class='field-name name'>blue </td><td>lf32</td><td><p>Blue is the blue value from the RGBA colour rendered on the debug.</p></td></tr>
<tr><td class='field-name name'>alpha </td><td>lf32</td><td><p>Alpha is the alpha value from the RGBA colour rendered on the debug.</p></td></tr>
<tr><td class='field-name name'>duration </td><td>li64</td><td><p>Duration is how long the debug will last in the world for. It is measured in milliseconds.</p></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_sync_entity_property">
<a href="#packet_sync_entity_property"><div class='packet-id bound-client'>165</div><div class='packet-name name'>packet sync entity property</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>Sent by the server to synchronize/update entity properties as NBT, an alternative to Set Entity 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'>nbt </td><td>nbt</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_add_volume_entity">
<a href="#packet_add_volume_entity"><div class='packet-id bound-client'>166</div><div class='packet-name name'>packet add volume entity</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>AddVolumeEntity sends a volume entity's definition and components from server to 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'>runtime id </td><td>varint64</td><td><p>EntityRuntimeID is the runtime ID of the entity. 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'>nbt </td><td>nbt</td><td><p>EntityMetadata is a map of entity metadata, which includes flags and data properties that alter in
particular the way the entity looks.</p></td></tr>
<tr><td class='field-name name'>encoding identifier </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>instance name </td><td>string</td><td></td></tr>
<tr><td class='name'>bounds </td><td colspan=2 class='bordered'><table>
<tr><td class='field-name name'>min </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
<tr><td class='field-name name'>max </td><td><a href="#BlockCoordinates">BlockCoordinates</a></td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>dimension </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>engine version </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_remove_volume_entity">
<a href="#packet_remove_volume_entity"><div class='packet-id bound-client'>167</div><div class='packet-name name'>packet remove volume entity</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>RemoveVolumeEntity indicates a volume entity to be removed from server to 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'>entity id </td><td>varint64</td><td><p>The Runtime Entity ID</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_simulation_type">
<a href="#packet_simulation_type"><div class='packet-id bound-datatype'>168</div><div class='packet-name name'>packet simulation type</div></a>
<span style='vertical-align:middle;float:right'>Datatype</span>
</div><br/>
<p><p>SimulationType is an in-progress packet. We currently do not know the use case.</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'>game</td><td><p>SimulationType is the simulation type selected</p></td></tr>
<tr><td class='name'>1</td><td class='name'>editor</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>test</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>invalid</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_npc_dialogue">
<a href="#packet_npc_dialogue"><div class='packet-id bound-client'>169</div><div class='packet-name name'>packet npc dialogue</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>NPCDialogue is a packet that allows the client to display dialog boxes for interacting with NPCs.</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>lu64</td><td><p>ActorUniqueID is the ID of the NPC being requested.</p></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'>open</td><td><p>ActionType is the type of action for the packet.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>close</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>dialogue </td><td>string</td><td><p>Dialogue is the text that the client should see.</p></td></tr>
<tr><td class='field-name name'>screen name </td><td>string</td><td><p>SceneName is the scene the data was pulled from for the client.</p></td></tr>
<tr><td class='field-name name'>npc name </td><td>string</td><td><p>NPCName is the name of the NPC to be displayed to the client.</p></td></tr>
<tr><td class='field-name name'>action json </td><td>string</td><td><p>ActionJSON is the JSON string of the buttons/actions the server can perform.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_edu_uri_resource_packet">
<a href="#packet_edu_uri_resource_packet"><div class='packet-id bound-datatype'>170</div><div class='packet-name name'>packet edu uri resource packet</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'>resource </td><td><a href="#EducationSharedResourceURI">EducationSharedResourceURI</a></td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_create_photo">
<a href="#packet_create_photo"><div class='packet-id bound-client'>171</div><div class='packet-name name'>packet create photo</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>CreatePhoto is a packet that allows players to export photos from their portfolios into items in their inventory.
This packet only works on the Education Edition version of Minecraft.</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 unique id </td><td>li64</td><td><p>EntityUniqueID is the unique ID of the entity.</p></td></tr>
<tr><td class='field-name name'>photo name </td><td>string</td><td><p>PhotoName is the name of the photo.</p></td></tr>
<tr><td class='field-name name'>item name </td><td>string</td><td><p>ItemName is the name of the photo as an item.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_subchunk_blocks">
<a href="#packet_update_subchunk_blocks"><div class='packet-id bound-client'>172</div><div class='packet-name name'>packet update subchunk blocks</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>UpdateSubChunkBlocks is essentially just UpdateBlock packet, however for a set of blocks in a sub chunk.</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>SubChunkX, SubChunkY, and SubChunkZ help identify the sub chunk.</p></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 field-implicit'><span class='name'>blocks</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Blocks contains each updated block change entry.</p></td></tr>
<tr><td class='field-name'><span class='name'>blocks</span> <div class="tag tag-array">array</div></td><td>BlockUpdate</td><td></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>extra</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Extra contains each updated block change entry for the second layer, usually for waterlogged blocks.</p></td></tr>
<tr><td class='field-name'><span class='name'>extra</span> <div class="tag tag-array">array</div></td><td>BlockUpdate</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_photo_info_request">
<a href="#packet_photo_info_request"><div class='packet-id bound-server'>173</div><div class='packet-name name'>packet photo info 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'>photo id </td><td>zigzag64</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="SubChunkEntryWithoutCaching">
<a href="#SubChunkEntryWithoutCaching"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>SubChunkEntryWithoutCaching</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'>SubChunkEntryWithoutCaching</span> length</td><td class="field-implicit">lu32</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>SubChunkEntryWithoutCaching</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>dx </td><td>i8</td><td></td></tr>
<tr><td class='field-name name'>dy </td><td>i8</td><td></td></tr>
<tr><td class='field-name name'>dz </td><td>i8</td><td></td></tr>
<tr><td class='name field-name'>result </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'>undefined</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>success</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>chunk not found</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>invalid dimension</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>player not found</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>y index out of bounds</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>success all air</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>payload </td><td>ByteArray</td><td><p>Payload has the terrain data, if the chunk isn't empty and caching is disabled</p></td></tr>
<tr><td class='name field-name'>heightmap 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'>no data</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>has data</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>too high</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>too low</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>heightmap</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>heightmap type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is has data</span> </td><td>["buffer", { "count": 256 }]</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="SubChunkEntryWithCaching">
<a href="#SubChunkEntryWithCaching"><div class='packet-id bound-datatype'>Type</div><div class='packet-name name'>SubChunkEntryWithCaching</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'>SubChunkEntryWithCaching</span> length</td><td class="field-implicit">lu32</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>SubChunkEntryWithCaching</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>dx </td><td>i8</td><td></td></tr>
<tr><td class='field-name name'>dy </td><td>i8</td><td></td></tr>
<tr><td class='field-name name'>dz </td><td>i8</td><td></td></tr>
<tr><td class='name field-name'>result </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'>undefined</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>success</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>chunk not found</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>invalid dimension</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>player not found</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>y index out of bounds</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>success all air</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>payload</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>result</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is success all air</span> </td><td>void</td><td><p>Payload has the terrain data, if the chunk isn't empty and caching is disabled</p></td></tr>
<tr><td class='field-name name'><span class='fake'>default</span> </td><td>ByteArray</td><td></td></tr>
</table></td></tr>
<tr><td class='name field-name'>heightmap 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'>no data</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>has data</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>too high</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>too low</td><td></td></tr>
</table></td></tr>
<tr><td><b class='name'>heightmap</b><br/><br/><i><div class='tag tag-switch'>if <span class='name'>heightmap type</span></div></i></td><td colspan=2><table>
<tr><td class='field-name name'><span class='fake'>is has data</span> </td><td>["buffer", { "count": 256 }]</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>blob id </td><td>lu64</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_subchunk">
<a href="#packet_subchunk"><div class='packet-id bound-client'>174</div><div class='packet-name name'>packet subchunk</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>SubChunk sends data about multiple sub-chunks around a center point.</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'>cache enabled </td><td>bool</td><td></td></tr>
<tr><td class='field-name name'>dimension </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>origin </td><td><a href="#vec3i">vec3i</a></td><td><p>Origin point</p></td></tr>
<tr><td><b class='name'>entries</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='field-name name'><span class='fake'>is true</span> </td><td><a href="#SubChunkEntryWithCaching">SubChunkEntryWithCaching</a></td><td></td></tr>
<tr><td class='field-name name'><span class='fake'>is false</span> </td><td><a href="#SubChunkEntryWithoutCaching">SubChunkEntryWithoutCaching</a></td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_subchunk_request">
<a href="#packet_subchunk_request"><div class='packet-id bound-server'>175</div><div class='packet-name name'>packet subchunk 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'>dimension </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>origin </td><td><a href="#vec3i">vec3i</a></td><td><p>Origin point</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>requests</span> length</td><td class="field-implicit">lu32</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>requests</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>dx </td><td>i8</td><td></td></tr>
<tr><td class='field-name name'>dy </td><td>i8</td><td></td></tr>
<tr><td class='field-name name'>dz </td><td>i8</td><td></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_client_start_item_cooldown">
<a href="#packet_client_start_item_cooldown"><div class='packet-id bound-server'>176</div><div class='packet-name name'>packet client start item cooldown</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>ClientStartItemCooldown is sent by the client to the server to initiate a cooldown on an item. The purpose of this
packet isn't entirely 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'>category </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>duration </td><td>zigzag32</td><td><p>Duration is the duration of ticks the cooldown should last.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_script_message">
<a href="#packet_script_message"><div class='packet-id bound-server'>177</div><div class='packet-name name'>packet script message</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>ScriptMessage is used to communicate custom messages from the client to the server, or from the server to the client.
While the name may suggest this packet is used for the discontinued scripting API, it is likely instead for the
GameTest framework.</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'>message id </td><td>string</td><td><p>Message ID is the identifier of the message, used by either party to identify the message data sent.</p></td></tr>
<tr><td class='field-name name'>data </td><td>string</td><td><p>Data contains the data of the message.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_code_builder_source">
<a href="#packet_code_builder_source"><div class='packet-id bound-server'>178</div><div class='packet-name name'>packet code builder source</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>CodeBuilderSource is an Education Edition packet sent by the client to the server to run an operation with a</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'>operation </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><p>Operation is used to distinguish the operation performed. It is always one of the constants listed above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>get</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>set</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>reset</td><td></td></tr>
</table></td></tr>
<tr><td class='name field-name'>category </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><p>Category is used to distinguish the category of the operation performed. It is always one of the constants</p></td></tr>
<tr><td class='name'>1</td><td class='name'>code status</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>instantiation</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>value </td><td>string</td><td><p>Value contains extra data about the operation performed. It is always empty unless the operation is</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_ticking_areas_load_status">
<a href="#packet_ticking_areas_load_status"><div class='packet-id bound-client'>179</div><div class='packet-name name'>packet ticking areas load status</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>TickingAreasLoadStatus is sent by the server to the client to notify the client of a ticking area's loading status.</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'>preload </td><td>bool</td><td><p>Preload is true if the server is waiting for the area's preload.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_dimension_data">
<a href="#packet_dimension_data"><div class='packet-id bound-client'>180</div><div class='packet-name name'>packet dimension data</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>DimensionData is a packet sent from the server to the client containing information about data-driven dimensions
that the server may have registered. This packet does not seem to be sent by default, rather only being sent when
any data-driven dimensions are registered.</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'>definitions</span> length</td><td class="field-implicit">varint</td><td ></td></tr>
<tr><td class='field-name'><span class='name'>definitions</span> <div class="tag tag-array">array</div></td><td colspan=2><table>
<tr><td class='field-name name'>id </td><td>string</td><td></td></tr>
<tr><td class='field-name name'>max height </td><td>zigzag32</td><td></td></tr>
<tr><td class='field-name name'>min height </td><td>zigzag32</td><td></td></tr>
<tr><td class='name field-name'>generator </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'>legacy</td><td></td></tr>
<tr><td class='name'>1</td><td class='name'>overworld</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>flat</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>nether</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>end</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>void</td><td></td></tr>
</table></td></tr>
</table></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_agent_action">
<a href="#packet_agent_action"><div class='packet-id bound-client'>181</div><div class='packet-name name'>packet agent action</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>AgentAction is an Education Edition packet sent from the server to the client to return a response to a
previously requested action.</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 id </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'>zigzag32 <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'>attack</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>collect</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>destroy</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>detect redstone</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>detect obstacle</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>drop</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>drop all</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>inspect</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>inspect data</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>inspect item count</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>inspect item detail</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>inspect item space</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>interact</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>move</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>place block</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>till</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>transfer item to</td><td></td></tr>
<tr><td class='name'>18</td><td class='name'>turn</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>body </td><td>string</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_change_mob_property">
<a href="#packet_change_mob_property"><div class='packet-id bound-client'>182</div><div class='packet-name name'>packet change mob property</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>ChangeMobProperty is a packet sent from the server to the client to change one of the properties of a mob 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'>entity unique id </td><td>zigzag64</td><td><p>EntityUniqueID is the unique ID of the entity whose property is being changed.</p></td></tr>
<tr><td class='field-name name'>property </td><td>string</td><td><p>Property is the name of the property being updated.</p></td></tr>
<tr><td class='field-name name'>bool value </td><td>bool</td><td><p>BoolValue is set if the property value is a bool type. If the type is not a bool, this field is ignored.</p></td></tr>
<tr><td class='field-name name'>string value </td><td>string</td><td><p>StringValue is set if the property value is a string type. If the type is not a string, this field is ignored.</p></td></tr>
<tr><td class='field-name name'>int value </td><td>zigzag32</td><td><p>IntValue is set if the property value is an int type. If the type is not an int, this field is ignored.</p></td></tr>
<tr><td class='field-name name'>float value </td><td>lf32</td><td><p>FloatValue is set if the property value is a float type. If the type is not a float, this field is ignored.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_lesson_progress">
<a href="#packet_lesson_progress"><div class='packet-id bound-client'>183</div><div class='packet-name name'>packet lesson progress</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>LessonProgress is a packet sent by the server to the client to inform the client of updated progress on a lesson.
This packet only functions on the Minecraft: Education Edition version of the 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'>action </td><td>u8</td><td><p>Action is the action the client should perform to show progress. This is one of the constants defined above.</p></td></tr>
<tr><td class='field-name name'>score </td><td>zigzag32</td><td><p>Score is the score the client should use when displaying the progress.</p></td></tr>
<tr><td class='field-name name'>identifier </td><td>string</td><td><p>Identifier is the identifier of the lesson that is being progressed.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_request_ability">
<a href="#packet_request_ability"><div class='packet-id bound-server'>184</div><div class='packet-name name'>packet request ability</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>RequestAbility is a packet sent by the client to the server to request permission for a specific ability from the
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='name field-name'>ability </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'>build</td><td><p>Ability is the ability that the client is requesting. This is one of the constants defined above.</p></td></tr>
<tr><td class='name'>1</td><td class='name'>mine</td><td></td></tr>
<tr><td class='name'>2</td><td class='name'>doors and switches</td><td></td></tr>
<tr><td class='name'>3</td><td class='name'>open containers</td><td></td></tr>
<tr><td class='name'>4</td><td class='name'>attack players</td><td></td></tr>
<tr><td class='name'>5</td><td class='name'>attack mobs</td><td></td></tr>
<tr><td class='name'>6</td><td class='name'>operator commands</td><td></td></tr>
<tr><td class='name'>7</td><td class='name'>teleport</td><td></td></tr>
<tr><td class='name'>8</td><td class='name'>invulnerable</td><td></td></tr>
<tr><td class='name'>9</td><td class='name'>flying</td><td></td></tr>
<tr><td class='name'>10</td><td class='name'>may fly</td><td></td></tr>
<tr><td class='name'>11</td><td class='name'>instant build</td><td></td></tr>
<tr><td class='name'>12</td><td class='name'>lightning</td><td></td></tr>
<tr><td class='name'>13</td><td class='name'>fly speed</td><td></td></tr>
<tr><td class='name'>14</td><td class='name'>walk speed</td><td></td></tr>
<tr><td class='name'>15</td><td class='name'>muted</td><td></td></tr>
<tr><td class='name'>16</td><td class='name'>world builder</td><td></td></tr>
<tr><td class='name'>17</td><td class='name'>no clip</td><td></td></tr>
<tr><td class='name'>18</td><td class='name'>ability count</td><td></td></tr>
</table></td></tr>
<tr><td class='name field-name'>value 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'>1</td><td class='name'>bool</td><td><p>Value type decides which of the fields you should read/write from</p></td></tr>
<tr><td class='name'>2</td><td class='name'>float</td><td></td></tr>
</table></td></tr>
<tr><td class='field-name name'>bool value </td><td>bool</td><td><p>If value type is bool, use this value</p></td></tr>
<tr><td class='field-name name'>float val </td><td>lf32</td><td><p>If value type is float, use this value</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_request_permissions">
<a href="#packet_request_permissions"><div class='packet-id bound-server'>185</div><div class='packet-name name'>packet request permissions</div></a>
<span style='vertical-align:middle;float:right'>Serverbound</span>
</div><br/>
<p><p>RequestPermissions is a packet sent from the client to the server to request permissions that the client does not
currently have. It can only be sent by operators and host in vanilla Minecraft.</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 unique id </td><td>li64</td><td><p>EntityUniqueID is the unique ID of the player. The unique ID is unique for the entire world and is
often used in packets. Most servers send an EntityUniqueID equal to the EntityRuntimeID.</p></td></tr>
<tr><td class='field-name name'>permission level </td><td><a href="#PermissionLevel">PermissionLevel</a></td><td><p>PermissionLevel is the current permission level of the player. Same as constants in AdventureSettings packet.</p></td></tr>
<tr><td class='field-name name'>requested permissions </td><td>RequestPermissions</td><td><p>RequestedPermissions contains the requested permission flags.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_toast_request">
<a href="#packet_toast_request"><div class='packet-id bound-client'>186</div><div class='packet-name name'>packet toast request</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>ToastRequest is a packet sent from the server to the client to display a toast to the top of the screen. These toasts
are the same as the ones seen when, for example, loading a new resource pack or obtaining an achievement.</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'>title </td><td>string</td><td><p>Title is the title of the toast.</p></td></tr>
<tr><td class='field-name name'>message </td><td>string</td><td><p>Message is the message that the toast may contain alongside the title.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_abilities">
<a href="#packet_update_abilities"><div class='packet-id bound-client'>187</div><div class='packet-name name'>packet update abilities</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>UpdateAbilities is a packet sent from the server to the client to update the abilities of the player. It, along with
the UpdateAdventureSettings packet, are replacements of the AdventureSettings packet since v1.19.10.</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 unique id </td><td>li64</td><td><p>EntityUniqueID is the unique ID of the 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 entity out for
this field.</p></td></tr>
<tr><td class='field-name name'>permission level </td><td><a href="#PermissionLevel">PermissionLevel</a></td><td><p>PlayerPermissions is 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'>command permission </td><td><a href="#CommandPermissionLevel">CommandPermissionLevel</a></td><td><p>CommandPermissions is a permission level that specifies the kind of commands that the player is
allowed to use. It is one of the CommandPermissionLevel constants in the AdventureSettings packet.</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>abilities</span> length</td><td class="field-implicit">u8</td><td rowspan=2><p>Layers contains all ability layers and their potential values. This should at least have one entry, being the
base layer.</p></td></tr>
<tr><td class='field-name'><span class='name'>abilities</span> <div class="tag tag-array">array</div></td><td>AbilityLayers</td><td></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_update_adventure_settings">
<a href="#packet_update_adventure_settings"><div class='packet-id bound-client'>188</div><div class='packet-name name'>packet update adventure settings</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>UpdateAdventureSettings is a packet sent from the server to the client to update the adventure settings of the player.
It, along with the UpdateAbilities packet, are replacements of the AdventureSettings packet since v1.19.10.</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'>no pvm </td><td>bool</td><td><p>NoPvM is a boolean indicating whether the player is allowed to fight mobs or not.</p></td></tr>
<tr><td class='field-name name'>no mvp </td><td>bool</td><td><p>NoMvP is a boolean indicating whether mobs are allowed to fight the player or not. It is unclear why this is sent
to the client.</p></td></tr>
<tr><td class='field-name name'>immutable world </td><td>bool</td><td><p>ImmutableWorld is a boolean indicating whether the player is allowed to modify the world or not.</p></td></tr>
<tr><td class='field-name name'>show name tags </td><td>bool</td><td><p>ShowNameTags is a boolean indicating whether player name tags are shown or not.</p></td></tr>
<tr><td class='field-name name'>auto jump </td><td>bool</td><td><p>AutoJump is a boolean indicating whether the player is allowed to jump automatically or not.</p></td></tr>
</table><br/><hr/><br/>
<div class="packet-header" id="packet_death_info">
<a href="#packet_death_info"><div class='packet-id bound-client'>189</div><div class='packet-name name'>packet death info</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>DeathInfo is a packet sent from the server to the client expected to be sent when a player dies. It contains messages
related to the player's death, which are shown on the death screen as of v1.19.10.</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'>cause </td><td>string</td><td><p>Cause is the cause of the player's death, such as "suffocation" or "suicide".</p></td></tr>
<tr><td class='field-name field-implicit'><span class='name'>messages</span> length</td><td class="field-implicit">varint</td><td rowspan=2><p>Messages is a list of death messages to be shown on the death screen.</p></td></tr>
<tr><td class='field-name'><span class='name'>messages</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_editor_network">
<a href="#packet_editor_network"><div class='packet-id bound-client'>190</div><div class='packet-name name'>packet editor network</div></a>
<span style='vertical-align:middle;float:right'>Clientbound</span>
</div><br/>
<p><p>EditorNetwork is a packet sent from the server to the client and vise-versa to communicate editor-mode related
information. It carries a single compound tag containing the relevant information.</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'>payload </td><td>nbt</td><td><p>Payload is a network little endian compound tag holding data relevant to the editor.</p></td></tr>
</table><br/><hr/><br/></div>