From 9c4dec74ca81701aaa221a28664bc04069f145a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filiph=20Sandstr=C3=B6m?= Date: Fri, 12 Jul 2019 02:55:50 +0200 Subject: [PATCH] Update protocol.json --- data/protocol.json | 1234 +++++++++++++++++++++++++++++++++----------- 1 file changed, 935 insertions(+), 299 deletions(-) diff --git a/data/protocol.json b/data/protocol.json index 1128943..ffb2876 100644 --- a/data/protocol.json +++ b/data/protocol.json @@ -45,7 +45,7 @@ "playerlocation": [ "array", { - "countType": "i16", + "countType": "li16", "type": [ "container", [ @@ -131,26 +131,25 @@ "0x0d": "add_entity", "0x0e": "remove_entity", "0x0f": "add_item_entity", - "0x10": "add_hanging_entity", "0x11": "take_item_entity", "0x12": "move_entity", "0x13": "move_player", "0x14": "rider_jump", - "0x15": "remove_block", - "0x16": "update_block", - "0x17": "add_painting", - "0x18": "explode", - "0x19": "level_sound_event", - "0x1a": "level_event", - "0x1b": "block_event", - "0x1c": "entity_event", - "0x1d": "mob_effect", - "0x1e": "update_attributes", + "0x15": "update_block", + "0x16": "add_painting", + "0x17": "explode", + "0x18": "level_sound_event_old", + "0x19": "level_event", + "0x1a": "block_event", + "0x1b": "entity_event", + "0x1c": "mob_effect", + "0x1d": "update_attributes", + "0x1e": "inventory_transaction", "0x1f": "mob_equipment", "0x20": "mob_armor_equipment", "0x21": "interact", "0x22": "block_pick_request", - "0x23": "use_item", + "0x23": "entity_pick_request", "0x24": "player_action", "0x25": "entity_fall", "0x26": "hurt_armor", @@ -161,15 +160,15 @@ "0x2b": "set_spawn_position", "0x2c": "animate", "0x2d": "respawn", - "0x2e": "drop_item", - "0x2f": "inventory_action", - "0x30": "container_open", - "0x31": "container_close", - "0x32": "container_set_slot", + "0x2e": "container_open", + "0x2f": "container_close", + "0x30": "player_hotbar", + "0x31": "inventory_content", + "0x32": "inventory_slot", "0x33": "container_set_data", - "0x34": "container_set_content", - "0x35": "crafting_data", - "0x36": "crafting_event", + "0x34": "crafting_data", + "0x35": "crafting_event", + "0x36": "gui_data_pick_item", "0x37": "adventure_settings", "0x38": "block_entity_data", "0x39": "player_input", @@ -180,33 +179,64 @@ "0x3e": "set_player_game_type", "0x3f": "player_list", "0x40": "simple_event", - "0x41": "event", + "0x41": "telemetry_event", "0x42": "spawn_experience_orb", "0x43": "clientbound_map_item_data_", "0x44": "map_info_request", "0x45": "request_chunk_radius", "0x46": "chunk_radius_update", "0x47": "item_frame_drop_item", - "0x48": "replace_selected_item", - "0x49": "game_rules_changed", - "0x4a": "camera", - "0x4b": "add_item", - "0x4c": "boss_event", - "0x4d": "show_credits", - "0x4e": "available_commands", - "0x4f": "command_step", - "0x50": "command_block_update", - "0x51": "update_trade", - "0x52": "update_equip", - "0x53": "resource_pack_data_info", - "0x54": "resource_pack_chunk_data", - "0x55": "resource_pack_chunk_request", - "0x56": "transfer", - "0x57": "play_sound", - "0x58": "stop_sound", - "0x59": "set_title", - "0x5a": "add_behavior_tree_packet", - "0x5b": "structure_block_update_packet" + "0x48": "game_rules_changed", + "0x49": "camera", + "0x4a": "boss_event", + "0x4b": "show_credits", + "0x4c": "available_commands", + "0x4d": "command_request", + "0x4e": "command_block_update", + "0x4f": "command_output", + "0x50": "update_trade", + "0x51": "update_equipment", + "0x52": "resource_pack_data_info", + "0x53": "resource_pack_chunk_data", + "0x54": "resource_pack_chunk_request", + "0x55": "transfer", + "0x56": "play_sound", + "0x57": "stop_sound", + "0x58": "set_title", + "0x59": "add_behavior_tree", + "0x5a": "structure_block_update", + "0x5b": "show_store_offer", + "0x5c": "purchase_receipt", + "0x5d": "player_skin", + "0x5e": "sub_client_login", + "0x5f": "initiate_web_socket_connection", + "0x60": "set_last_hurt_by", + "0x61": "book_edit", + "0x62": "npc_request", + "0x63": "photo_transfer", + "0x64": "modal_form_request", + "0x65": "modal_form_response", + "0x66": "server_settings_request", + "0x67": "server_settings_response", + "0x68": "show_profile", + "0x69": "set_default_game_type", + "0x6a": "remove_objective", + "0x6b": "set_display_objective", + "0x6c": "set_score", + "0x6d": "lab_table", + "0x6e": "update_block_synced", + "0x6f": "move_entity_delta", + "0x70": "set_scoreboard_identity_packet", + "0x71": "set_local_player_as_initialized_packet", + "0x72": "update_soft_enum_packet", + "0x73": "network_stack_latency_packet", + "0x75": "script_custom_event_packet", + "0x76": "spawn_particle_effect", + "0x77": "available_entity_identifiers", + "0x78": "level_sound_event_v2", + "0x79": "network_chunk_publisher_update", + "0x7a": "biome_definition_list", + "0x7b": "level_sound_event" } } ] @@ -233,26 +263,25 @@ "add_entity": "packet_add_entity", "remove_entity": "packet_remove_entity", "add_item_entity": "packet_add_item_entity", - "add_hanging_entity": "packet_add_hanging_entity", "take_item_entity": "packet_take_item_entity", "move_entity": "packet_move_entity", "move_player": "packet_move_player", "rider_jump": "packet_rider_jump", - "remove_block": "packet_remove_block", "update_block": "packet_update_block", "add_painting": "packet_add_painting", "explode": "packet_explode", - "level_sound_event": "packet_level_sound_event", + "level_sound_event_old": "packet_level_sound_event_old", "level_event": "packet_level_event", "block_event": "packet_block_event", "entity_event": "packet_entity_event", "mob_effect": "packet_mob_effect", "update_attributes": "packet_update_attributes", + "inventory_transaction": "packet_inventory_transaction", "mob_equipment": "packet_mob_equipment", "mob_armor_equipment": "packet_mob_armor_equipment", "interact": "packet_interact", "block_pick_request": "packet_block_pick_request", - "use_item": "packet_use_item", + "entity_pick_request": "packet_entity_pick_request", "player_action": "packet_player_action", "entity_fall": "packet_entity_fall", "hurt_armor": "packet_hurt_armor", @@ -263,15 +292,15 @@ "set_spawn_position": "packet_set_spawn_position", "animate": "packet_animate", "respawn": "packet_respawn", - "drop_item": "packet_drop_item", - "inventory_action": "packet_inventory_action", "container_open": "packet_container_open", "container_close": "packet_container_close", - "container_set_slot": "packet_container_set_slot", + "player_hotbar": "packet_player_hotbar", + "inventory_content": "packet_inventory_content", + "inventory_slot": "packet_inventory_slot", "container_set_data": "packet_container_set_data", - "container_set_content": "packet_container_set_content", "crafting_data": "packet_crafting_data", "crafting_event": "packet_crafting_event", + "gui_data_pick_item": "packet_gui_data_pick_item", "adventure_settings": "packet_adventure_settings", "block_entity_data": "packet_block_entity_data", "player_input": "packet_player_input", @@ -282,24 +311,23 @@ "set_player_game_type": "packet_set_player_game_type", "player_list": "packet_player_list", "simple_event": "packet_simple_event", - "event": "packet_event", + "telemetry_event": "packet_telemetry_event", "spawn_experience_orb": "packet_spawn_experience_orb", "clientbound_map_item_data_": "packet_clientbound_map_item_data_", "map_info_request": "packet_map_info_request", "request_chunk_radius": "packet_request_chunk_radius", "chunk_radius_update": "packet_chunk_radius_update", "item_frame_drop_item": "packet_item_frame_drop_item", - "replace_selected_item": "packet_replace_selected_item", "game_rules_changed": "packet_game_rules_changed", "camera": "packet_camera", - "add_item": "packet_add_item", "boss_event": "packet_boss_event", "show_credits": "packet_show_credits", "available_commands": "packet_available_commands", - "command_step": "packet_command_step", + "command_request": "packet_command_request", "command_block_update": "packet_command_block_update", + "command_output": "packet_command_output", "update_trade": "packet_update_trade", - "update_equip": "packet_update_equip", + "update_equipment": "packet_update_equipment", "resource_pack_data_info": "packet_resource_pack_data_info", "resource_pack_chunk_data": "packet_resource_pack_chunk_data", "resource_pack_chunk_request": "packet_resource_pack_chunk_request", @@ -307,8 +335,40 @@ "play_sound": "packet_play_sound", "stop_sound": "packet_stop_sound", "set_title": "packet_set_title", - "add_behavior_tree_packet": "packet_add_behavior_tree_packet", - "structure_block_update_packet": "packet_structure_block_update_packet" + "add_behavior_tree": "packet_add_behavior_tree", + "structure_block_update": "packet_structure_block_update", + "show_store_offer": "packet_show_store_offer", + "purchase_receipt": "packet_purchase_receipt", + "player_skin": "packet_player_skin", + "sub_client_login": "packet_sub_client_login", + "initiate_web_socket_connection": "packet_initiate_web_socket_connection", + "set_last_hurt_by": "packet_set_last_hurt_by", + "book_edit": "packet_book_edit", + "npc_request": "packet_npc_request", + "photo_transfer": "packet_photo_transfer", + "modal_form_request": "packet_modal_form_request", + "modal_form_response": "packet_modal_form_response", + "server_settings_request": "packet_server_settings_request", + "server_settings_response": "packet_server_settings_response", + "show_profile": "packet_show_profile", + "set_default_game_type": "packet_set_default_game_type", + "remove_objective": "packet_remove_objective", + "set_display_objective": "packet_set_display_objective", + "set_score": "packet_set_score", + "lab_table": "packet_lab_table", + "update_block_synced": "packet_update_block_synced", + "move_entity_delta": "packet_move_entity_delta", + "set_scoreboard_identity_packet": "packet_set_scoreboard_identity_packet", + "set_local_player_as_initialized_packet": "packet_set_local_player_as_initialized_packet", + "update_soft_enum_packet": "packet_update_soft_enum_packet", + "network_stack_latency_packet": "packet_network_stack_latency_packet", + "script_custom_event_packet": "packet_script_custom_event_packet", + "spawn_particle_effect": "packet_spawn_particle_effect", + "available_entity_identifiers": "packet_available_entity_identifiers", + "level_sound_event_v2": "packet_level_sound_event_v2", + "network_chunk_publisher_update": "packet_network_chunk_publisher_update", + "biome_definition_list": "packet_biome_definition_list", + "level_sound_event": "packet_level_sound_event" } } ] @@ -349,23 +409,9 @@ "packet_server_to_client_handshake": [ "container", [ - { - "name": "server_public_key", - "type": "string" - }, - { - "name": "token_length", - "type": "u32" - }, { "name": "token", - "type": [ - "buffer", - { - "countType": "varint", - "type": "i8" - } - ] + "type": "string" } ] ], @@ -393,6 +439,10 @@ "name": "must_accept", "type": "bool" }, + { + "name": "has_scripts", + "type": "bool" + }, { "name": "behahaviorpackinfos", "type": "varint" @@ -417,6 +467,10 @@ { "name": "resourcepackidversions", "type": "varint" + }, + { + "name": "is_experimental", + "type": "bool" } ] ], @@ -550,14 +604,38 @@ "name": "edu_mode", "type": "bool" }, + { + "name": "has_edu_features_enabled", + "type": "bool" + }, { "name": "rain_level", "type": "lf32" }, { - "name": "lightnig_level", + "name": "lightning_level", "type": "lf32" }, + { + "name": "has_confirmed_platform_locked_content", + "type": "bool" + }, + { + "name": "is_multiplayer", + "type": "bool" + }, + { + "name": "broadcast_to_lan", + "type": "bool" + }, + { + "name": "xbox_live_broadcast_mode", + "type": "varint" + }, + { + "name": "platform_broadcast_mode", + "type": "varint" + }, { "name": "enable_commands", "type": "bool" @@ -570,6 +648,46 @@ "name": "gamerules", "type": "gamerules" }, + { + "name": "bonus_chest", + "type": "bool" + }, + { + "name": "map_enabled", + "type": "bool" + }, + { + "name": "permission_level", + "type": "varint" + }, + { + "name": "server_chunk_tick_range", + "type": "i32" + }, + { + "name": "has_locked_behavior_pack", + "type": "bool" + }, + { + "name": "has_locked_resource_pack", + "type": "bool" + }, + { + "name": "is_from_locked_world_template", + "type": "bool" + }, + { + "name": "use_msa_gamertags_only", + "type": "bool" + }, + { + "name": "is_from_world_template", + "type": "bool" + }, + { + "name": "is_world_template_option_locked", + "type": "bool" + }, { "name": "level_id", "type": "string" @@ -583,12 +701,28 @@ "type": "string" }, { - "name": "unknown0", + "name": "is_trial", "type": "bool" }, { "name": "current_tick", "type": "i64" + }, + { + "name": "enchantment_seed", + "type": "varint" + }, + { + "name": "blockstates", + "type": "blockstates" + }, + { + "name": "multiplayer_correlation_id", + "type": "string" + }, + { + "name": "unknown2", + "type": "u8" } ] ], @@ -611,6 +745,10 @@ "name": "runtime_entity_id", "type": "varint" }, + { + "name": "platform_chat_id", + "type": "string" + }, { "name": "x", "type": "lf32" @@ -640,11 +778,11 @@ "type": "lf32" }, { - "name": "head_yaw", + "name": "yaw", "type": "lf32" }, { - "name": "yaw", + "name": "head_yaw", "type": "lf32" }, { @@ -654,6 +792,38 @@ { "name": "metadata", "type": "varint" + }, + { + "name": "flags", + "type": "varint" + }, + { + "name": "command_permission", + "type": "varint" + }, + { + "name": "action_permissions", + "type": "varint" + }, + { + "name": "permission_level", + "type": "varint" + }, + { + "name": "custom_stored_permissions", + "type": "varint" + }, + { + "name": "user_id", + "type": "i64" + }, + { + "name": "links", + "type": "links" + }, + { + "name": "device_id", + "type": "string" } ] ], @@ -670,7 +840,7 @@ }, { "name": "entity_type", - "type": "varint" + "type": "string" }, { "name": "x", @@ -704,6 +874,10 @@ "name": "yaw", "type": "lf32" }, + { + "name": "head_yaw", + "type": "lf32" + }, { "name": "attributes", "type": "varint" @@ -769,27 +943,10 @@ { "name": "metadata", "type": "varint" - } - ] - ], - "packet_add_hanging_entity": [ - "container", - [ - { - "name": "entity_id_self", - "type": "varint" }, { - "name": "runtime_entity_id", - "type": "varint" - }, - { - "name": "coordinates", - "type": "varint" - }, - { - "name": "unknown", - "type": "varint" + "name": "is_from_fishing", + "type": "bool" } ] ], @@ -813,17 +970,13 @@ "name": "runtime_entity_id", "type": "varint" }, + { + "name": "flags", + "type": "u8" + }, { "name": "position", "type": "playerlocation" - }, - { - "name": "on_ground", - "type": "bool" - }, - { - "name": "teleport", - "type": "bool" } ] ], @@ -851,11 +1004,11 @@ "type": "lf32" }, { - "name": "head_yaw", + "name": "yaw", "type": "lf32" }, { - "name": "yaw", + "name": "head_yaw", "type": "lf32" }, { @@ -881,15 +1034,6 @@ } ] ], - "packet_remove_block": [ - "container", - [ - { - "name": "coordinates", - "type": "varint" - } - ] - ], "packet_update_block": [ "container", [ @@ -898,11 +1042,15 @@ "type": "varint" }, { - "name": "block_id", + "name": "block_runtime_id", "type": "varint" }, { - "name": "block_meta_and_priority", + "name": "block_priority", + "type": "varint" + }, + { + "name": "storage", "type": "varint" } ] @@ -949,7 +1097,7 @@ } ] ], - "packet_level_sound_event": [ + "packet_level_sound_event_old": [ "container", [ { @@ -961,19 +1109,19 @@ "type": "vector3" }, { - "name": "extra_data", + "name": "block_id", "type": "varint" }, { - "name": "pitch", + "name": "entity_type", "type": "varint" }, { - "name": "unknown1", + "name": "is_baby_mob", "type": "bool" }, { - "name": "disable_relative_volume", + "name": "is_global", "type": "bool" } ] @@ -1024,7 +1172,7 @@ "type": "u8" }, { - "name": "unknown", + "name": "data", "type": "varint" } ] @@ -1071,6 +1219,15 @@ } ] ], + "packet_inventory_transaction": [ + "container", + [ + { + "name": "transaction", + "type": "transaction" + } + ] + ], "packet_mob_equipment": [ "container", [ @@ -1091,7 +1248,7 @@ "type": "u8" }, { - "name": "unknown", + "name": "windows_id", "type": "u8" } ] @@ -1149,42 +1306,26 @@ "name": "z", "type": "varint" }, + { + "name": "add_user_data", + "type": "bool" + }, { "name": "selected_slot", "type": "u8" } ] ], - "packet_use_item": [ + "packet_entity_pick_request": [ "container", [ { - "name": "blockcoordinates", - "type": "varint" + "name": "runtime_entity_id", + "type": "u64" }, { - "name": "block_id", - "type": "varint" - }, - { - "name": "face", - "type": "varint" - }, - { - "name": "facecoordinates", - "type": "vector3" - }, - { - "name": "playerposition", - "type": "vector3" - }, - { - "name": "slot", - "type": "varint" - }, - { - "name": "item", - "type": "varint" + "name": "selected_slot", + "type": "u8" } ] ], @@ -1221,7 +1362,7 @@ "type": "lf32" }, { - "name": "unknown", + "name": "is_in_void", "type": "bool" } ] @@ -1264,17 +1405,21 @@ "packet_set_entity_link": [ "container", [ - { - "name": "rider_id", - "type": "varint" - }, { "name": "ridden_id", "type": "varint" }, + { + "name": "rider_id", + "type": "varint" + }, { "name": "link_type", "type": "u8" + }, + { + "name": "unknown", + "type": "u8" } ] ], @@ -1334,40 +1479,6 @@ } ] ], - "packet_drop_item": [ - "container", - [ - { - "name": "itemtype", - "type": "u8" - }, - { - "name": "item", - "type": "varint" - } - ] - ], - "packet_inventory_action": [ - "container", - [ - { - "name": "action_id", - "type": "varint" - }, - { - "name": "item", - "type": "varint" - }, - { - "name": "enchantment_id", - "type": "varint" - }, - { - "name": "enchantment_level", - "type": "varint" - } - ] - ], "packet_container_open": [ "container", [ @@ -1384,7 +1495,7 @@ "type": "varint" }, { - "name": "unknown_runtime_entity_id", + "name": "runtime_entity_id", "type": "varint" } ] @@ -1398,28 +1509,50 @@ } ] ], - "packet_container_set_slot": [ + "packet_player_hotbar": [ "container", [ + { + "name": "selected_slot", + "type": "varint" + }, { "name": "window_id", "type": "u8" }, + { + "name": "select_slot_", + "type": "bool" + } + ] + ], + "packet_inventory_content": [ + "container", + [ + { + "name": "inventory_id", + "type": "varint" + }, + { + "name": "input", + "type": "varint" + } + ] + ], + "packet_inventory_slot": [ + "container", + [ + { + "name": "inventory_id", + "type": "varint" + }, { "name": "slot", "type": "varint" }, - { - "name": "hotbarslot", - "type": "varint" - }, { "name": "item", "type": "varint" - }, - { - "name": "selected_slot", - "type": "u8" } ] ], @@ -1440,27 +1573,6 @@ } ] ], - "packet_container_set_content": [ - "container", - [ - { - "name": "window_id", - "type": "varint" - }, - { - "name": "entity_id_self", - "type": "varint" - }, - { - "name": "slot_data", - "type": "varint" - }, - { - "name": "hotbar_data", - "type": "varint" - } - ] - ], "packet_crafting_data": [ "container", [ @@ -1495,6 +1607,10 @@ } ] ], + "packet_gui_data_pick_item": [ + "container", + [] + ], "packet_adventure_settings": [ "container", [ @@ -1503,8 +1619,24 @@ "type": "varint" }, { - "name": "user_permission", + "name": "command_permission", "type": "varint" + }, + { + "name": "action_permissions", + "type": "varint" + }, + { + "name": "permission_level", + "type": "varint" + }, + { + "name": "custom_stored_permissions", + "type": "varint" + }, + { + "name": "user_id", + "type": "i64" } ] ], @@ -1533,11 +1665,11 @@ "type": "lf32" }, { - "name": "flag1", + "name": "jumping", "type": "bool" }, { - "name": "flag2", + "name": "sneaking", "type": "bool" } ] @@ -1595,7 +1727,7 @@ "type": "vector3" }, { - "name": "unknown", + "name": "respawn", "type": "bool" } ] @@ -1620,9 +1752,14 @@ ], "packet_simple_event": [ "container", - [] + [ + { + "name": "event_type", + "type": "ushort" + } + ] ], - "packet_event": [ + "packet_telemetry_event": [ "container", [ { @@ -1697,15 +1834,6 @@ } ] ], - "packet_replace_selected_item": [ - "container", - [ - { - "name": "item", - "type": "varint" - } - ] - ], "packet_game_rules_changed": [ "container", [ @@ -1716,14 +1844,14 @@ ] ], "packet_camera": [ - "container", - [] - ], - "packet_add_item": [ "container", [ { - "name": "item", + "name": "unknown1", + "type": "varint" + }, + { + "name": "unknown2", "type": "varint" } ] @@ -1755,78 +1883,116 @@ ] ], "packet_available_commands": [ + "container", + [] + ], + "packet_command_request": [ "container", [ { - "name": "commands", + "name": "command", + "type": "string" + }, + { + "name": "command_type", + "type": "varint" + }, + { + "name": "unknown_uuid", + "type": "string" + }, + { + "name": "request_id", "type": "string" }, { "name": "unknown", - "type": "string" - } - ] - ], - "packet_command_step": [ - "container", - [ - { - "name": "command_name", - "type": "string" - }, - { - "name": "command_overload", - "type": "string" - }, - { - "name": "unknown_1", - "type": "varint" - }, - { - "name": "current_step_", - "type": "varint" - }, - { - "name": "is_output", "type": "bool" - }, - { - "name": "client_id", - "type": "varint" - }, - { - "name": "command_input_json", - "type": "string" - }, - { - "name": "command_output_json", - "type": "string" - }, - { - "name": "unknown_7", - "type": "u8" - }, - { - "name": "unknown_8", - "type": "u8" - }, - { - "name": "entity_id_self", - "type": "varint" } ] ], "packet_command_block_update": [ + "container", + [ + { + "name": "is_block", + "type": "bool" + } + ] + ], + "packet_command_output": [ "container", [] ], "packet_update_trade": [ "container", - [] + [ + { + "name": "window_id", + "type": "u8" + }, + { + "name": "window_type", + "type": "u8" + }, + { + "name": "unknown0", + "type": "varint" + }, + { + "name": "unknown1", + "type": "varint" + }, + { + "name": "unknown2", + "type": "varint" + }, + { + "name": "is_willing", + "type": "bool" + }, + { + "name": "trader_entity_id", + "type": "varint" + }, + { + "name": "player_entity_id", + "type": "varint" + }, + { + "name": "display_name", + "type": "string" + }, + { + "name": "namedtag", + "type": "varint" + } + ] ], - "packet_update_equip": [ + "packet_update_equipment": [ "container", - [] + [ + { + "name": "window_id", + "type": "u8" + }, + { + "name": "window_type", + "type": "u8" + }, + { + "name": "unknown", + "type": "u8" + }, + { + "name": "entity_id", + "type": "varint" + }, + { + "name": "namedtag", + "type": "varint" + } + ] ], "packet_resource_pack_data_info": [ "container", @@ -1836,20 +2002,26 @@ "type": "string" }, { - "name": "max_chunk_size_", + "name": "max_chunk_size", "type": "u32" }, { - "name": "chunk_count_", + "name": "chunk_count", "type": "u32" }, { - "name": "compressed_package_size_", + "name": "compressed_package_size", "type": "u64" }, { - "name": "hash_", - "type": "string" + "name": "hash", + "type": [ + "buffer", + { + "countType": "varint", + "type": "i8" + } + ] } ] ], @@ -1969,13 +2141,477 @@ } ] ], - "packet_add_behavior_tree_packet": [ + "packet_add_behavior_tree": [ + "container", + [ + { + "name": "behaviortree", + "type": "string" + } + ] + ], + "packet_structure_block_update": [ "container", [] ], - "packet_structure_block_update_packet": [ + "packet_show_store_offer": [ + "container", + [ + { + "name": "unknown0", + "type": "string" + }, + { + "name": "unknown1", + "type": "bool" + } + ] + ], + "packet_purchase_receipt": [ "container", [] + ], + "packet_player_skin": [ + "container", + [ + { + "name": "uuid", + "type": "string" + }, + { + "name": "skin_id", + "type": "string" + }, + { + "name": "skin_name", + "type": "string" + }, + { + "name": "old_skin_name", + "type": "string" + }, + { + "name": "skin_data", + "type": [ + "buffer", + { + "countType": "varint", + "type": "i8" + } + ] + }, + { + "name": "cape_data", + "type": [ + "buffer", + { + "countType": "varint", + "type": "i8" + } + ] + }, + { + "name": "geometry_model", + "type": "string" + }, + { + "name": "geometry_data", + "type": "string" + } + ] + ], + "packet_sub_client_login": [ + "container", + [] + ], + "packet_initiate_web_socket_connection": [ + "container", + [ + { + "name": "server", + "type": "string" + } + ] + ], + "packet_set_last_hurt_by": [ + "container", + [ + { + "name": "unknown", + "type": "varint" + } + ] + ], + "packet_book_edit": [ + "container", + [] + ], + "packet_npc_request": [ + "container", + [ + { + "name": "runtime_entity_id", + "type": "varint" + }, + { + "name": "unknown0", + "type": "u8" + }, + { + "name": "unknown1", + "type": "string" + }, + { + "name": "unknown2", + "type": "u8" + } + ] + ], + "packet_photo_transfer": [ + "container", + [ + { + "name": "file_name", + "type": "string" + }, + { + "name": "image_data", + "type": "string" + }, + { + "name": "unknown2", + "type": "string" + } + ] + ], + "packet_modal_form_request": [ + "container", + [ + { + "name": "form_id", + "type": "varint" + }, + { + "name": "data", + "type": "string" + } + ] + ], + "packet_modal_form_response": [ + "container", + [ + { + "name": "form_id", + "type": "varint" + }, + { + "name": "data", + "type": "string" + } + ] + ], + "packet_server_settings_request": [ + "container", + [] + ], + "packet_server_settings_response": [ + "container", + [ + { + "name": "form_id", + "type": "varint" + }, + { + "name": "data", + "type": "string" + } + ] + ], + "packet_show_profile": [ + "container", + [ + { + "name": "xuid", + "type": "string" + } + ] + ], + "packet_set_default_game_type": [ + "container", + [ + { + "name": "gamemode", + "type": "varint" + } + ] + ], + "packet_remove_objective": [ + "container", + [ + { + "name": "objective_name", + "type": "string" + } + ] + ], + "packet_set_display_objective": [ + "container", + [ + { + "name": "display_slot", + "type": "string" + }, + { + "name": "objective_name", + "type": "string" + }, + { + "name": "display_name", + "type": "string" + }, + { + "name": "criteria_name", + "type": "string" + }, + { + "name": "sort_order", + "type": "varint" + } + ] + ], + "packet_set_score": [ + "container", + [ + { + "name": "entries", + "type": "scoreentries" + } + ] + ], + "packet_lab_table": [ + "container", + [ + { + "name": "useless_byte", + "type": "u8" + }, + { + "name": "lab_table_x", + "type": "varint" + }, + { + "name": "lab_table_y", + "type": "varint" + }, + { + "name": "lab_table_z", + "type": "varint" + }, + { + "name": "reaction_type", + "type": "u8" + } + ] + ], + "packet_update_block_synced": [ + "container", + [ + { + "name": "coordinates", + "type": "varint" + }, + { + "name": "block_runtime_id", + "type": "varint" + }, + { + "name": "block_priority", + "type": "varint" + }, + { + "name": "data_layer_id", + "type": "varint" + }, + { + "name": "unknown0", + "type": "varint" + }, + { + "name": "unknown1", + "type": "varint" + } + ] + ], + "packet_move_entity_delta": [ + "container", + [ + { + "name": "runtime_entity_id", + "type": "varint" + }, + { + "name": "flags", + "type": "u8" + } + ] + ], + "packet_set_scoreboard_identity_packet": [ + "container", + [ + { + "name": "entries", + "type": "scoreboardidentityentries" + } + ] + ], + "packet_set_local_player_as_initialized_packet": [ + "container", + [ + { + "name": "runtime_entity_id", + "type": "varint" + } + ] + ], + "packet_update_soft_enum_packet": [ + "container", + [] + ], + "packet_network_stack_latency_packet": [ + "container", + [ + { + "name": "timestamp", + "type": "i64" + }, + { + "name": "need_response", + "type": "bool" + } + ] + ], + "packet_script_custom_event_packet": [ + "container", + [ + { + "name": "event_name", + "type": "string" + }, + { + "name": "event_data", + "type": "string" + } + ] + ], + "packet_spawn_particle_effect": [ + "container", + [ + { + "name": "dimension_id", + "type": "u8" + }, + { + "name": "entity_id", + "type": "varint" + }, + { + "name": "position", + "type": "vector3" + }, + { + "name": "particle_name", + "type": "string" + } + ] + ], + "packet_available_entity_identifiers": [ + "container", + [ + { + "name": "namedtag", + "type": "varint" + } + ] + ], + "packet_level_sound_event_v2": [ + "container", + [ + { + "name": "sound_id", + "type": "u8" + }, + { + "name": "position", + "type": "vector3" + }, + { + "name": "block_id", + "type": "varint" + }, + { + "name": "entity_type", + "type": "string" + }, + { + "name": "is_baby_mob", + "type": "bool" + }, + { + "name": "is_global", + "type": "bool" + } + ] + ], + "packet_network_chunk_publisher_update": [ + "container", + [ + { + "name": "coordinates", + "type": "varint" + }, + { + "name": "radius", + "type": "varint" + } + ] + ], + "packet_biome_definition_list": [ + "container", + [ + { + "name": "namedtag", + "type": "varint" + } + ] + ], + "packet_level_sound_event": [ + "container", + [ + { + "name": "sound_id", + "type": "varint" + }, + { + "name": "position", + "type": "vector3" + }, + { + "name": "block_id", + "type": "varint" + }, + { + "name": "entity_type", + "type": "string" + }, + { + "name": "is_baby_mob", + "type": "bool" + }, + { + "name": "is_global", + "type": "bool" + } + ] ] } }