diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2023-09-21 11:16:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-21 11:16:29 -0500 |
| commit | 7b3e2e4bf793466a351510c7fbbd08234e93bb0e (patch) | |
| tree | 7177a919de9982d9e3c7f36a76d2025696f465b6 /azalea-protocol/src/packets/game/mod.rs | |
| parent | 83cce236145cdab1872a472a70943b669a880965 (diff) | |
| download | azalea-drasl-7b3e2e4bf793466a351510c7fbbd08234e93bb0e.tar.xz | |
1.20.2 (#99)
* add configuration state
* start updating to 23w31a
* implement a bit more of 23w31a
* chunk batching
* start adding configuration state
* ioasfhjgsd
* almost works
* configuration state mostly implemented
* handle other packets in configuration state and fix keepalive
* cleanup, fix warnings
* 23w32a
* fix some doctests
* 23w33a
* 23w35a
* 1.20.2-pre2
* fix system conflicts
* 1.20.2-pre4
* make tests compile
* tests pass
* 1.20.2-rc2
* 1.20.2
* Revert "1.20.2"
This reverts commit dd152fd265332ead333c919e585ded6d609d7468.
* didn't mean to commit that code
---------
Co-authored-by: mat <git@matdoes.dev>
Diffstat (limited to 'azalea-protocol/src/packets/game/mod.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/mod.rs | 318 |
1 files changed, 164 insertions, 154 deletions
diff --git a/azalea-protocol/src/packets/game/mod.rs b/azalea-protocol/src/packets/game/mod.rs index 0b7c0d52..c806f21d 100755 --- a/azalea-protocol/src/packets/game/mod.rs +++ b/azalea-protocol/src/packets/game/mod.rs @@ -1,6 +1,5 @@ pub mod clientbound_add_entity_packet; pub mod clientbound_add_experience_orb_packet; -pub mod clientbound_add_player_packet; pub mod clientbound_animate_packet; pub mod clientbound_award_stats_packet; pub mod clientbound_block_changed_ack_packet; @@ -11,6 +10,8 @@ pub mod clientbound_block_update_packet; pub mod clientbound_boss_event_packet; pub mod clientbound_bundle_packet; pub mod clientbound_change_difficulty_packet; +pub mod clientbound_chunk_batch_finished_packet; +pub mod clientbound_chunk_batch_start_packet; pub mod clientbound_chunks_biomes_packet; pub mod clientbound_clear_titles_packet; pub mod clientbound_command_suggestions_packet; @@ -59,6 +60,7 @@ pub mod clientbound_player_info_remove_packet; pub mod clientbound_player_info_update_packet; pub mod clientbound_player_look_at_packet; pub mod clientbound_player_position_packet; +pub mod clientbound_pong_response_packet; pub mod clientbound_recipe_packet; pub mod clientbound_remove_entities_packet; pub mod clientbound_remove_mob_effect_packet; @@ -97,6 +99,7 @@ pub mod clientbound_set_title_text_packet; pub mod clientbound_set_titles_animation_packet; pub mod clientbound_sound_entity_packet; pub mod clientbound_sound_packet; +pub mod clientbound_start_configuration_packet; pub mod clientbound_stop_sound_packet; pub mod clientbound_system_chat_packet; pub mod clientbound_tab_list_packet; @@ -105,7 +108,6 @@ pub mod clientbound_take_item_entity_packet; pub mod clientbound_teleport_entity_packet; pub mod clientbound_update_advancements_packet; pub mod clientbound_update_attributes_packet; -pub mod clientbound_update_enabled_features_packet; pub mod clientbound_update_mob_effect_packet; pub mod clientbound_update_recipes_packet; pub mod clientbound_update_tags_packet; @@ -116,9 +118,11 @@ pub mod serverbound_chat_ack_packet; pub mod serverbound_chat_command_packet; pub mod serverbound_chat_packet; pub mod serverbound_chat_session_update_packet; +pub mod serverbound_chunk_batch_received_packet; pub mod serverbound_client_command_packet; pub mod serverbound_client_information_packet; pub mod serverbound_command_suggestion_packet; +pub mod serverbound_configuration_acknowledged_packet; pub mod serverbound_container_button_click_packet; pub mod serverbound_container_click_packet; pub mod serverbound_container_close_packet; @@ -136,6 +140,7 @@ pub mod serverbound_move_player_status_only_packet; pub mod serverbound_move_vehicle_packet; pub mod serverbound_paddle_boat_packet; pub mod serverbound_pick_item_packet; +pub mod serverbound_ping_request_packet; pub mod serverbound_place_recipe_packet; pub mod serverbound_player_abilities_packet; pub mod serverbound_player_action_packet; @@ -173,162 +178,167 @@ declare_state_packets!( 0x04: serverbound_chat_command_packet::ServerboundChatCommandPacket, 0x05: serverbound_chat_packet::ServerboundChatPacket, 0x06: serverbound_chat_session_update_packet::ServerboundChatSessionUpdatePacket, - 0x07: serverbound_client_command_packet::ServerboundClientCommandPacket, - 0x08: serverbound_client_information_packet::ServerboundClientInformationPacket, - 0x09: serverbound_command_suggestion_packet::ServerboundCommandSuggestionPacket, - 0x0a: serverbound_container_button_click_packet::ServerboundContainerButtonClickPacket, - 0x0b: serverbound_container_click_packet::ServerboundContainerClickPacket, - 0x0c: serverbound_container_close_packet::ServerboundContainerClosePacket, - 0x0d: serverbound_custom_payload_packet::ServerboundCustomPayloadPacket, - 0x0e: serverbound_edit_book_packet::ServerboundEditBookPacket, - 0x0f: serverbound_entity_tag_query::ServerboundEntityTagQuery, - 0x10: serverbound_interact_packet::ServerboundInteractPacket, - 0x11: serverbound_jigsaw_generate_packet::ServerboundJigsawGeneratePacket, - 0x12: serverbound_keep_alive_packet::ServerboundKeepAlivePacket, - 0x13: serverbound_lock_difficulty_packet::ServerboundLockDifficultyPacket, - 0x14: serverbound_move_player_pos_packet::ServerboundMovePlayerPosPacket, - 0x15: serverbound_move_player_pos_rot_packet::ServerboundMovePlayerPosRotPacket, - 0x16: serverbound_move_player_rot_packet::ServerboundMovePlayerRotPacket, - 0x17: serverbound_move_player_status_only_packet::ServerboundMovePlayerStatusOnlyPacket, - 0x18: serverbound_move_vehicle_packet::ServerboundMoveVehiclePacket, - 0x19: serverbound_paddle_boat_packet::ServerboundPaddleBoatPacket, - 0x1a: serverbound_pick_item_packet::ServerboundPickItemPacket, - 0x1b: serverbound_place_recipe_packet::ServerboundPlaceRecipePacket, - 0x1c: serverbound_player_abilities_packet::ServerboundPlayerAbilitiesPacket, - 0x1d: serverbound_player_action_packet::ServerboundPlayerActionPacket, - 0x1e: serverbound_player_command_packet::ServerboundPlayerCommandPacket, - 0x1f: serverbound_player_input_packet::ServerboundPlayerInputPacket, - 0x20: serverbound_pong_packet::ServerboundPongPacket, - 0x21: serverbound_recipe_book_change_settings_packet::ServerboundRecipeBookChangeSettingsPacket, - 0x22: serverbound_recipe_book_seen_recipe_packet::ServerboundRecipeBookSeenRecipePacket, - 0x23: serverbound_rename_item_packet::ServerboundRenameItemPacket, - 0x24: serverbound_resource_pack_packet::ServerboundResourcePackPacket, - 0x25: serverbound_seen_advancements_packet::ServerboundSeenAdvancementsPacket, - 0x26: serverbound_select_trade_packet::ServerboundSelectTradePacket, - 0x27: serverbound_set_beacon_packet::ServerboundSetBeaconPacket, - 0x28: serverbound_set_carried_item_packet::ServerboundSetCarriedItemPacket, - 0x29: serverbound_set_command_block_packet::ServerboundSetCommandBlockPacket, - 0x2a: serverbound_set_command_minecart_packet::ServerboundSetCommandMinecartPacket, - 0x2b: serverbound_set_creative_mode_slot_packet::ServerboundSetCreativeModeSlotPacket, - 0x2c: serverbound_set_jigsaw_block_packet::ServerboundSetJigsawBlockPacket, - 0x2d: serverbound_set_structure_block_packet::ServerboundSetStructureBlockPacket, - 0x2e: serverbound_sign_update_packet::ServerboundSignUpdatePacket, - 0x2f: serverbound_swing_packet::ServerboundSwingPacket, - 0x30: serverbound_teleport_to_entity_packet::ServerboundTeleportToEntityPacket, - 0x31: serverbound_use_item_on_packet::ServerboundUseItemOnPacket, - 0x32: serverbound_use_item_packet::ServerboundUseItemPacket, + 0x07: serverbound_chunk_batch_received_packet::ServerboundChunkBatchReceivedPacket, + 0x08: serverbound_client_command_packet::ServerboundClientCommandPacket, + 0x09: serverbound_client_information_packet::ServerboundClientInformationPacket, + 0x0a: serverbound_command_suggestion_packet::ServerboundCommandSuggestionPacket, + 0x0b: serverbound_configuration_acknowledged_packet::ServerboundConfigurationAcknowledgedPacket, + 0x0c: serverbound_container_button_click_packet::ServerboundContainerButtonClickPacket, + 0x0d: serverbound_container_click_packet::ServerboundContainerClickPacket, + 0x0e: serverbound_container_close_packet::ServerboundContainerClosePacket, + 0x0f: serverbound_custom_payload_packet::ServerboundCustomPayloadPacket, + 0x10: serverbound_edit_book_packet::ServerboundEditBookPacket, + 0x11: serverbound_entity_tag_query::ServerboundEntityTagQuery, + 0x12: serverbound_interact_packet::ServerboundInteractPacket, + 0x13: serverbound_jigsaw_generate_packet::ServerboundJigsawGeneratePacket, + 0x14: serverbound_keep_alive_packet::ServerboundKeepAlivePacket, + 0x15: serverbound_lock_difficulty_packet::ServerboundLockDifficultyPacket, + 0x16: serverbound_move_player_pos_packet::ServerboundMovePlayerPosPacket, + 0x17: serverbound_move_player_pos_rot_packet::ServerboundMovePlayerPosRotPacket, + 0x18: serverbound_move_player_rot_packet::ServerboundMovePlayerRotPacket, + 0x19: serverbound_move_player_status_only_packet::ServerboundMovePlayerStatusOnlyPacket, + 0x1a: serverbound_move_vehicle_packet::ServerboundMoveVehiclePacket, + 0x1b: serverbound_paddle_boat_packet::ServerboundPaddleBoatPacket, + 0x1c: serverbound_pick_item_packet::ServerboundPickItemPacket, + 0x1d: serverbound_ping_request_packet::ServerboundPingRequestPacket, + 0x1e: serverbound_place_recipe_packet::ServerboundPlaceRecipePacket, + 0x1f: serverbound_player_abilities_packet::ServerboundPlayerAbilitiesPacket, + 0x20: serverbound_player_action_packet::ServerboundPlayerActionPacket, + 0x21: serverbound_player_command_packet::ServerboundPlayerCommandPacket, + 0x22: serverbound_player_input_packet::ServerboundPlayerInputPacket, + 0x23: serverbound_pong_packet::ServerboundPongPacket, + 0x24: serverbound_recipe_book_change_settings_packet::ServerboundRecipeBookChangeSettingsPacket, + 0x25: serverbound_recipe_book_seen_recipe_packet::ServerboundRecipeBookSeenRecipePacket, + 0x26: serverbound_rename_item_packet::ServerboundRenameItemPacket, + 0x27: serverbound_resource_pack_packet::ServerboundResourcePackPacket, + 0x28: serverbound_seen_advancements_packet::ServerboundSeenAdvancementsPacket, + 0x29: serverbound_select_trade_packet::ServerboundSelectTradePacket, + 0x2a: serverbound_set_beacon_packet::ServerboundSetBeaconPacket, + 0x2b: serverbound_set_carried_item_packet::ServerboundSetCarriedItemPacket, + 0x2c: serverbound_set_command_block_packet::ServerboundSetCommandBlockPacket, + 0x2d: serverbound_set_command_minecart_packet::ServerboundSetCommandMinecartPacket, + 0x2e: serverbound_set_creative_mode_slot_packet::ServerboundSetCreativeModeSlotPacket, + 0x2f: serverbound_set_jigsaw_block_packet::ServerboundSetJigsawBlockPacket, + 0x30: serverbound_set_structure_block_packet::ServerboundSetStructureBlockPacket, + 0x31: serverbound_sign_update_packet::ServerboundSignUpdatePacket, + 0x32: serverbound_swing_packet::ServerboundSwingPacket, + 0x33: serverbound_teleport_to_entity_packet::ServerboundTeleportToEntityPacket, + 0x34: serverbound_use_item_on_packet::ServerboundUseItemOnPacket, + 0x35: serverbound_use_item_packet::ServerboundUseItemPacket, }, Clientbound => { 0x00: clientbound_bundle_packet::ClientboundBundlePacket, 0x01: clientbound_add_entity_packet::ClientboundAddEntityPacket, 0x02: clientbound_add_experience_orb_packet::ClientboundAddExperienceOrbPacket, - 0x03: clientbound_add_player_packet::ClientboundAddPlayerPacket, - 0x04: clientbound_animate_packet::ClientboundAnimatePacket, - 0x05: clientbound_award_stats_packet::ClientboundAwardStatsPacket, - 0x06: clientbound_block_changed_ack_packet::ClientboundBlockChangedAckPacket, - 0x07: clientbound_block_destruction_packet::ClientboundBlockDestructionPacket, - 0x08: clientbound_block_entity_data_packet::ClientboundBlockEntityDataPacket, - 0x09: clientbound_block_event_packet::ClientboundBlockEventPacket, - 0x0a: clientbound_block_update_packet::ClientboundBlockUpdatePacket, - 0x0b: clientbound_boss_event_packet::ClientboundBossEventPacket, - 0x0c: clientbound_change_difficulty_packet::ClientboundChangeDifficultyPacket, - 0x0d: clientbound_chunks_biomes_packet::ClientboundChunksBiomesPacket, - 0x0e: clientbound_clear_titles_packet::ClientboundClearTitlesPacket, - 0x0f: clientbound_command_suggestions_packet::ClientboundCommandSuggestionsPacket, - 0x10: clientbound_commands_packet::ClientboundCommandsPacket, - 0x11: clientbound_container_close_packet::ClientboundContainerClosePacket, - 0x12: clientbound_container_set_content_packet::ClientboundContainerSetContentPacket, - 0x13: clientbound_container_set_data_packet::ClientboundContainerSetDataPacket, - 0x14: clientbound_container_set_slot_packet::ClientboundContainerSetSlotPacket, - 0x15: clientbound_cooldown_packet::ClientboundCooldownPacket, - 0x16: clientbound_custom_chat_completions_packet::ClientboundCustomChatCompletionsPacket, - 0x17: clientbound_custom_payload_packet::ClientboundCustomPayloadPacket, - 0x18: clientbound_damage_event_packet::ClientboundDamageEventPacket, - 0x19: clientbound_delete_chat_packet::ClientboundDeleteChatPacket, - 0x1a: clientbound_disconnect_packet::ClientboundDisconnectPacket, - 0x1b: clientbound_disguised_chat_packet::ClientboundDisguisedChatPacket, - 0x1c: clientbound_entity_event_packet::ClientboundEntityEventPacket, - 0x1d: clientbound_explode_packet::ClientboundExplodePacket, - 0x1e: clientbound_forget_level_chunk_packet::ClientboundForgetLevelChunkPacket, - 0x1f: clientbound_game_event_packet::ClientboundGameEventPacket, - 0x20: clientbound_horse_screen_open_packet::ClientboundHorseScreenOpenPacket, - 0x21: clientbound_hurt_animation_packet::ClientboundHurtAnimationPacket, - 0x22: clientbound_initialize_border_packet::ClientboundInitializeBorderPacket, - 0x23: clientbound_keep_alive_packet::ClientboundKeepAlivePacket, - 0x24: clientbound_level_chunk_with_light_packet::ClientboundLevelChunkWithLightPacket, - 0x25: clientbound_level_event_packet::ClientboundLevelEventPacket, - 0x26: clientbound_level_particles_packet::ClientboundLevelParticlesPacket, - 0x27: clientbound_light_update_packet::ClientboundLightUpdatePacket, - 0x28: clientbound_login_packet::ClientboundLoginPacket, - 0x29: clientbound_map_item_data_packet::ClientboundMapItemDataPacket, - 0x2a: clientbound_merchant_offers_packet::ClientboundMerchantOffersPacket, - 0x2b: clientbound_move_entity_pos_packet::ClientboundMoveEntityPosPacket, - 0x2c: clientbound_move_entity_pos_rot_packet::ClientboundMoveEntityPosRotPacket, - 0x2d: clientbound_move_entity_rot_packet::ClientboundMoveEntityRotPacket, - 0x2e: clientbound_move_vehicle_packet::ClientboundMoveVehiclePacket, - 0x2f: clientbound_open_book_packet::ClientboundOpenBookPacket, - 0x30: clientbound_open_screen_packet::ClientboundOpenScreenPacket, - 0x31: clientbound_open_sign_editor_packet::ClientboundOpenSignEditorPacket, - 0x32: clientbound_ping_packet::ClientboundPingPacket, - 0x33: clientbound_place_ghost_recipe_packet::ClientboundPlaceGhostRecipePacket, - 0x34: clientbound_player_abilities_packet::ClientboundPlayerAbilitiesPacket, - 0x35: clientbound_player_chat_packet::ClientboundPlayerChatPacket, - 0x36: clientbound_player_combat_end_packet::ClientboundPlayerCombatEndPacket, - 0x37: clientbound_player_combat_enter_packet::ClientboundPlayerCombatEnterPacket, - 0x38: clientbound_player_combat_kill_packet::ClientboundPlayerCombatKillPacket, - 0x39: clientbound_player_info_remove_packet::ClientboundPlayerInfoRemovePacket, - 0x3a: clientbound_player_info_update_packet::ClientboundPlayerInfoUpdatePacket, - 0x3b: clientbound_player_look_at_packet::ClientboundPlayerLookAtPacket, - 0x3c: clientbound_player_position_packet::ClientboundPlayerPositionPacket, - 0x3d: clientbound_recipe_packet::ClientboundRecipePacket, - 0x3e: clientbound_remove_entities_packet::ClientboundRemoveEntitiesPacket, - 0x3f: clientbound_remove_mob_effect_packet::ClientboundRemoveMobEffectPacket, - 0x40: clientbound_resource_pack_packet::ClientboundResourcePackPacket, - 0x41: clientbound_respawn_packet::ClientboundRespawnPacket, - 0x42: clientbound_rotate_head_packet::ClientboundRotateHeadPacket, - 0x43: clientbound_section_blocks_update_packet::ClientboundSectionBlocksUpdatePacket, - 0x44: clientbound_select_advancements_tab_packet::ClientboundSelectAdvancementsTabPacket, - 0x45: clientbound_server_data_packet::ClientboundServerDataPacket, - 0x46: clientbound_set_action_bar_text_packet::ClientboundSetActionBarTextPacket, - 0x47: clientbound_set_border_center_packet::ClientboundSetBorderCenterPacket, - 0x48: clientbound_set_border_lerp_size_packet::ClientboundSetBorderLerpSizePacket, - 0x49: clientbound_set_border_size_packet::ClientboundSetBorderSizePacket, - 0x4a: clientbound_set_border_warning_delay_packet::ClientboundSetBorderWarningDelayPacket, - 0x4b: clientbound_set_border_warning_distance_packet::ClientboundSetBorderWarningDistancePacket, - 0x4c: clientbound_set_camera_packet::ClientboundSetCameraPacket, - 0x4d: clientbound_set_carried_item_packet::ClientboundSetCarriedItemPacket, - 0x4e: clientbound_set_chunk_cache_center_packet::ClientboundSetChunkCacheCenterPacket, - 0x4f: clientbound_set_chunk_cache_radius_packet::ClientboundSetChunkCacheRadiusPacket, - 0x50: clientbound_set_default_spawn_position_packet::ClientboundSetDefaultSpawnPositionPacket, - 0x51: clientbound_set_display_objective_packet::ClientboundSetDisplayObjectivePacket, - 0x52: clientbound_set_entity_data_packet::ClientboundSetEntityDataPacket, - 0x53: clientbound_set_entity_link_packet::ClientboundSetEntityLinkPacket, - 0x54: clientbound_set_entity_motion_packet::ClientboundSetEntityMotionPacket, - 0x55: clientbound_set_equipment_packet::ClientboundSetEquipmentPacket, - 0x56: clientbound_set_experience_packet::ClientboundSetExperiencePacket, - 0x57: clientbound_set_health_packet::ClientboundSetHealthPacket, - 0x58: clientbound_set_objective_packet::ClientboundSetObjectivePacket, - 0x59: clientbound_set_passengers_packet::ClientboundSetPassengersPacket, - 0x5a: clientbound_set_player_team_packet::ClientboundSetPlayerTeamPacket, - 0x5b: clientbound_set_score_packet::ClientboundSetScorePacket, - 0x5c: clientbound_set_simulation_distance_packet::ClientboundSetSimulationDistancePacket, - 0x5d: clientbound_set_subtitle_text_packet::ClientboundSetSubtitleTextPacket, - 0x5e: clientbound_set_time_packet::ClientboundSetTimePacket, - 0x5f: clientbound_set_title_text_packet::ClientboundSetTitleTextPacket, - 0x60: clientbound_set_titles_animation_packet::ClientboundSetTitlesAnimationPacket, - 0x61: clientbound_sound_entity_packet::ClientboundSoundEntityPacket, - 0x62: clientbound_sound_packet::ClientboundSoundPacket, - 0x63: clientbound_stop_sound_packet::ClientboundStopSoundPacket, - 0x64: clientbound_system_chat_packet::ClientboundSystemChatPacket, - 0x65: clientbound_tab_list_packet::ClientboundTabListPacket, - 0x66: clientbound_tag_query_packet::ClientboundTagQueryPacket, - 0x67: clientbound_take_item_entity_packet::ClientboundTakeItemEntityPacket, - 0x68: clientbound_teleport_entity_packet::ClientboundTeleportEntityPacket, - 0x69: clientbound_update_advancements_packet::ClientboundUpdateAdvancementsPacket, - 0x6a: clientbound_update_attributes_packet::ClientboundUpdateAttributesPacket, - 0x6b: clientbound_update_enabled_features_packet::ClientboundUpdateEnabledFeaturesPacket, - 0x6c: clientbound_update_mob_effect_packet::ClientboundUpdateMobEffectPacket, - 0x6d: clientbound_update_recipes_packet::ClientboundUpdateRecipesPacket, - 0x6e: clientbound_update_tags_packet::ClientboundUpdateTagsPacket, + 0x03: clientbound_animate_packet::ClientboundAnimatePacket, + 0x04: clientbound_award_stats_packet::ClientboundAwardStatsPacket, + 0x05: clientbound_block_changed_ack_packet::ClientboundBlockChangedAckPacket, + 0x06: clientbound_block_destruction_packet::ClientboundBlockDestructionPacket, + 0x07: clientbound_block_entity_data_packet::ClientboundBlockEntityDataPacket, + 0x08: clientbound_block_event_packet::ClientboundBlockEventPacket, + 0x09: clientbound_block_update_packet::ClientboundBlockUpdatePacket, + 0x0a: clientbound_boss_event_packet::ClientboundBossEventPacket, + 0x0b: clientbound_change_difficulty_packet::ClientboundChangeDifficultyPacket, + 0x0c: clientbound_chunk_batch_finished_packet::ClientboundChunkBatchFinishedPacket, + 0x0d: clientbound_chunk_batch_start_packet::ClientboundChunkBatchStartPacket, + 0x0e: clientbound_chunks_biomes_packet::ClientboundChunksBiomesPacket, + 0x0f: clientbound_clear_titles_packet::ClientboundClearTitlesPacket, + 0x10: clientbound_command_suggestions_packet::ClientboundCommandSuggestionsPacket, + 0x11: clientbound_commands_packet::ClientboundCommandsPacket, + 0x12: clientbound_container_close_packet::ClientboundContainerClosePacket, + 0x13: clientbound_container_set_content_packet::ClientboundContainerSetContentPacket, + 0x14: clientbound_container_set_data_packet::ClientboundContainerSetDataPacket, + 0x15: clientbound_container_set_slot_packet::ClientboundContainerSetSlotPacket, + 0x16: clientbound_cooldown_packet::ClientboundCooldownPacket, + 0x17: clientbound_custom_chat_completions_packet::ClientboundCustomChatCompletionsPacket, + 0x18: clientbound_custom_payload_packet::ClientboundCustomPayloadPacket, + 0x19: clientbound_damage_event_packet::ClientboundDamageEventPacket, + 0x1a: clientbound_delete_chat_packet::ClientboundDeleteChatPacket, + 0x1b: clientbound_disconnect_packet::ClientboundDisconnectPacket, + 0x1c: clientbound_disguised_chat_packet::ClientboundDisguisedChatPacket, + 0x1d: clientbound_entity_event_packet::ClientboundEntityEventPacket, + 0x1e: clientbound_explode_packet::ClientboundExplodePacket, + 0x1f: clientbound_forget_level_chunk_packet::ClientboundForgetLevelChunkPacket, + 0x20: clientbound_game_event_packet::ClientboundGameEventPacket, + 0x21: clientbound_horse_screen_open_packet::ClientboundHorseScreenOpenPacket, + 0x22: clientbound_hurt_animation_packet::ClientboundHurtAnimationPacket, + 0x23: clientbound_initialize_border_packet::ClientboundInitializeBorderPacket, + 0x24: clientbound_keep_alive_packet::ClientboundKeepAlivePacket, + 0x25: clientbound_level_chunk_with_light_packet::ClientboundLevelChunkWithLightPacket, + 0x26: clientbound_level_event_packet::ClientboundLevelEventPacket, + 0x27: clientbound_level_particles_packet::ClientboundLevelParticlesPacket, + 0x28: clientbound_light_update_packet::ClientboundLightUpdatePacket, + 0x29: clientbound_login_packet::ClientboundLoginPacket, + 0x2a: clientbound_map_item_data_packet::ClientboundMapItemDataPacket, + 0x2b: clientbound_merchant_offers_packet::ClientboundMerchantOffersPacket, + 0x2c: clientbound_move_entity_pos_packet::ClientboundMoveEntityPosPacket, + 0x2d: clientbound_move_entity_pos_rot_packet::ClientboundMoveEntityPosRotPacket, + 0x2e: clientbound_move_entity_rot_packet::ClientboundMoveEntityRotPacket, + 0x2f: clientbound_move_vehicle_packet::ClientboundMoveVehiclePacket, + 0x30: clientbound_open_book_packet::ClientboundOpenBookPacket, + 0x31: clientbound_open_screen_packet::ClientboundOpenScreenPacket, + 0x32: clientbound_open_sign_editor_packet::ClientboundOpenSignEditorPacket, + 0x33: clientbound_ping_packet::ClientboundPingPacket, + 0x34: clientbound_pong_response_packet::ClientboundPongResponsePacket, + 0x35: clientbound_place_ghost_recipe_packet::ClientboundPlaceGhostRecipePacket, + 0x36: clientbound_player_abilities_packet::ClientboundPlayerAbilitiesPacket, + 0x37: clientbound_player_chat_packet::ClientboundPlayerChatPacket, + 0x38: clientbound_player_combat_end_packet::ClientboundPlayerCombatEndPacket, + 0x39: clientbound_player_combat_enter_packet::ClientboundPlayerCombatEnterPacket, + 0x3a: clientbound_player_combat_kill_packet::ClientboundPlayerCombatKillPacket, + 0x3b: clientbound_player_info_remove_packet::ClientboundPlayerInfoRemovePacket, + 0x3c: clientbound_player_info_update_packet::ClientboundPlayerInfoUpdatePacket, + 0x3d: clientbound_player_look_at_packet::ClientboundPlayerLookAtPacket, + 0x3e: clientbound_player_position_packet::ClientboundPlayerPositionPacket, + 0x3f: clientbound_recipe_packet::ClientboundRecipePacket, + 0x40: clientbound_remove_entities_packet::ClientboundRemoveEntitiesPacket, + 0x41: clientbound_remove_mob_effect_packet::ClientboundRemoveMobEffectPacket, + 0x42: clientbound_resource_pack_packet::ClientboundResourcePackPacket, + 0x43: clientbound_respawn_packet::ClientboundRespawnPacket, + 0x44: clientbound_rotate_head_packet::ClientboundRotateHeadPacket, + 0x45: clientbound_section_blocks_update_packet::ClientboundSectionBlocksUpdatePacket, + 0x46: clientbound_select_advancements_tab_packet::ClientboundSelectAdvancementsTabPacket, + 0x47: clientbound_server_data_packet::ClientboundServerDataPacket, + 0x48: clientbound_set_action_bar_text_packet::ClientboundSetActionBarTextPacket, + 0x49: clientbound_set_border_center_packet::ClientboundSetBorderCenterPacket, + 0x4a: clientbound_set_border_lerp_size_packet::ClientboundSetBorderLerpSizePacket, + 0x4b: clientbound_set_border_size_packet::ClientboundSetBorderSizePacket, + 0x4c: clientbound_set_border_warning_delay_packet::ClientboundSetBorderWarningDelayPacket, + 0x4d: clientbound_set_border_warning_distance_packet::ClientboundSetBorderWarningDistancePacket, + 0x4e: clientbound_set_camera_packet::ClientboundSetCameraPacket, + 0x4f: clientbound_set_carried_item_packet::ClientboundSetCarriedItemPacket, + 0x50: clientbound_set_chunk_cache_center_packet::ClientboundSetChunkCacheCenterPacket, + 0x51: clientbound_set_chunk_cache_radius_packet::ClientboundSetChunkCacheRadiusPacket, + 0x52: clientbound_set_default_spawn_position_packet::ClientboundSetDefaultSpawnPositionPacket, + 0x53: clientbound_set_display_objective_packet::ClientboundSetDisplayObjectivePacket, + 0x54: clientbound_set_entity_data_packet::ClientboundSetEntityDataPacket, + 0x55: clientbound_set_entity_link_packet::ClientboundSetEntityLinkPacket, + 0x56: clientbound_set_entity_motion_packet::ClientboundSetEntityMotionPacket, + 0x57: clientbound_set_equipment_packet::ClientboundSetEquipmentPacket, + 0x58: clientbound_set_experience_packet::ClientboundSetExperiencePacket, + 0x59: clientbound_set_health_packet::ClientboundSetHealthPacket, + 0x5a: clientbound_set_objective_packet::ClientboundSetObjectivePacket, + 0x5b: clientbound_set_passengers_packet::ClientboundSetPassengersPacket, + 0x5c: clientbound_set_player_team_packet::ClientboundSetPlayerTeamPacket, + 0x5d: clientbound_set_score_packet::ClientboundSetScorePacket, + 0x5e: clientbound_set_simulation_distance_packet::ClientboundSetSimulationDistancePacket, + 0x5f: clientbound_set_subtitle_text_packet::ClientboundSetSubtitleTextPacket, + 0x60: clientbound_set_time_packet::ClientboundSetTimePacket, + 0x61: clientbound_set_title_text_packet::ClientboundSetTitleTextPacket, + 0x62: clientbound_set_titles_animation_packet::ClientboundSetTitlesAnimationPacket, + 0x63: clientbound_sound_entity_packet::ClientboundSoundEntityPacket, + 0x64: clientbound_sound_packet::ClientboundSoundPacket, + 0x65: clientbound_start_configuration_packet::ClientboundStartConfigurationPacket, + 0x66: clientbound_stop_sound_packet::ClientboundStopSoundPacket, + 0x67: clientbound_system_chat_packet::ClientboundSystemChatPacket, + 0x68: clientbound_tab_list_packet::ClientboundTabListPacket, + 0x69: clientbound_tag_query_packet::ClientboundTagQueryPacket, + 0x6a: clientbound_take_item_entity_packet::ClientboundTakeItemEntityPacket, + 0x6b: clientbound_teleport_entity_packet::ClientboundTeleportEntityPacket, + 0x6c: clientbound_update_advancements_packet::ClientboundUpdateAdvancementsPacket, + 0x6d: clientbound_update_attributes_packet::ClientboundUpdateAttributesPacket, + 0x6e: clientbound_update_mob_effect_packet::ClientboundUpdateMobEffectPacket, + 0x6f: clientbound_update_recipes_packet::ClientboundUpdateRecipesPacket, + 0x70: clientbound_update_tags_packet::ClientboundUpdateTagsPacket, } ); |
