aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/mod.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2025-03-25 11:17:39 -0500
committerGitHub <noreply@github.com>2025-03-25 11:17:39 -0500
commitef357fdf3667f3ded03203fc0f7cdec48a01ad8f (patch)
tree6e7429c62a22fec1988278f63554c93bdd905a5d /azalea-protocol/src/packets/game/mod.rs
parent8af265e48bf9f3d5263c074d034770e4216bb3f3 (diff)
downloadazalea-drasl-ef357fdf3667f3ded03203fc0f7cdec48a01ad8f.tar.xz
1.21.5 (#198)
* 25w02a * move item_components codegen to a different module * remove outdated test * 25w03a * start updating to 24w09b * 1.21.5-pre2 * fix broken packets * 1.21.5-rc2 * merge main * delete unused acket_handling * 1.21.5
Diffstat (limited to 'azalea-protocol/src/packets/game/mod.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/mod.rs248
1 files changed, 125 insertions, 123 deletions
diff --git a/azalea-protocol/src/packets/game/mod.rs b/azalea-protocol/src/packets/game/mod.rs
index e9c9e2a1..aae840bc 100755
--- a/azalea-protocol/src/packets/game/mod.rs
+++ b/azalea-protocol/src/packets/game/mod.rs
@@ -7,124 +7,124 @@ declare_state_packets!(GamePacket,
Clientbound => [
bundle_delimiter, // 0x00
add_entity, // 0x01
- add_experience_orb, // 0x02
- animate, // 0x03
- award_stats, // 0x04
- block_changed_ack, // 0x05
- block_destruction, // 0x06
- block_entity_data, // 0x07
- block_event, // 0x08
- block_update, // 0x09
- boss_event, // 0x0A
- change_difficulty, // 0x0B
- chunk_batch_finished, // 0x0C
- chunk_batch_start, // 0x0D
- chunks_biomes, // 0x0E
- clear_titles, // 0x0F
- command_suggestions, // 0x10
- commands, // 0x11
- container_close, // 0x12
- container_set_content, // 0x13
- container_set_data, // 0x14
- container_set_slot, // 0x15
- cookie_request, // 0x16
- cooldown, // 0x17
- custom_chat_completions, // 0x18
- custom_payload, // 0x19
- damage_event, // 0x1A
- debug_sample, // 0x1B
- delete_chat, // 0x1C
- disconnect, // 0x1D
- disguised_chat, // 0x1E
- entity_event, // 0x1F
- entity_position_sync, // 0x20
- explode, // 0x21
- forget_level_chunk, // 0x22
- game_event, // 0x23
- horse_screen_open, // 0x24
- hurt_animation, // 0x25
- initialize_border, // 0x26
- keep_alive, // 0x27
- level_chunk_with_light, // 0x28
- level_event, // 0x29
- level_particles, // 0x2A
- light_update, // 0x2B
- login, // 0x2C
- map_item_data, // 0x2D
- merchant_offers, // 0x2E
- move_entity_pos, // 0x2F
- move_entity_pos_rot, // 0x30
- move_minecart_along_track, // 0x31
- move_entity_rot, // 0x32
- move_vehicle, // 0x33
- open_book, // 0x34
- open_screen, // 0x35
- open_sign_editor, // 0x36
- ping, // 0x37
- pong_response, // 0x38
- place_ghost_recipe, // 0x39
- player_abilities, // 0x3A
- player_chat, // 0x3B
- player_combat_end, // 0x3C
- player_combat_enter, // 0x3D
- player_combat_kill, // 0x3E
- player_info_remove, // 0x3F
- player_info_update, // 0x40
- player_look_at, // 0x41
- player_position, // 0x42
- player_rotation, // 0x43
- recipe_book_add, // 0x44
- recipe_book_remove, // 0x45
- recipe_book_settings, // 0x46
- remove_entities, // 0x47
- remove_mob_effect, // 0x48
- reset_score, // 0x49
- resource_pack_pop, // 0x4A
- resource_pack_push, // 0x4B
- respawn, // 0x4C
- rotate_head, // 0x4D
- section_blocks_update, // 0x4E
- select_advancements_tab, // 0x4F
- server_data, // 0x50
- set_action_bar_text, // 0x51
- set_border_center, // 0x52
- set_border_lerp_size, // 0x53
- set_border_size, // 0x54
- set_border_warning_delay, // 0x55
- set_border_warning_distance, // 0x56
- set_camera, // 0x57
- set_chunk_cache_center, // 0x58
- set_chunk_cache_radius, // 0x59
- set_cursor_item, // 0x5A
- set_default_spawn_position, // 0x5B
- set_display_objective, // 0x5C
- set_entity_data, // 0x5D
- set_entity_link, // 0x5E
- set_entity_motion, // 0x5F
- set_equipment, // 0x60
- set_experience, // 0x61
- set_health, // 0x62
- set_held_slot, // 0x63
- set_objective, // 0x64
- set_passengers, // 0x65
- set_player_inventory, // 0x66
- set_player_team, // 0x67
- set_score, // 0x68
- set_simulation_distance, // 0x69
- set_subtitle_text, // 0x6A
- set_time, // 0x6B
- set_title_text, // 0x6C
- set_titles_animation, // 0x6D
- sound_entity, // 0x6E
- sound, // 0x6F
- start_configuration, // 0x70
- stop_sound, // 0x71
- store_cookie, // 0x72
- system_chat, // 0x73
- tab_list, // 0x74
- tag_query, // 0x75
- take_item_entity, // 0x76
- teleport_entity, // 0x77
+ animate, // 0x02
+ award_stats, // 0x03
+ block_changed_ack, // 0x04
+ block_destruction, // 0x05
+ block_entity_data, // 0x06
+ block_event, // 0x07
+ block_update, // 0x08
+ boss_event, // 0x09
+ change_difficulty, // 0x0A
+ chunk_batch_finished, // 0x0B
+ chunk_batch_start, // 0x0C
+ chunks_biomes, // 0x0D
+ clear_titles, // 0x0E
+ command_suggestions, // 0x0F
+ commands, // 0x10
+ container_close, // 0x11
+ container_set_content, // 0x12
+ container_set_data, // 0x13
+ container_set_slot, // 0x14
+ cookie_request, // 0x15
+ cooldown, // 0x16
+ custom_chat_completions, // 0x17
+ custom_payload, // 0x18
+ damage_event, // 0x19
+ debug_sample, // 0x1A
+ delete_chat, // 0x1B
+ disconnect, // 0x1C
+ disguised_chat, // 0x1D
+ entity_event, // 0x1E
+ entity_position_sync, // 0x1F
+ explode, // 0x20
+ forget_level_chunk, // 0x21
+ game_event, // 0x22
+ horse_screen_open, // 0x23
+ hurt_animation, // 0x24
+ initialize_border, // 0x25
+ keep_alive, // 0x26
+ level_chunk_with_light, // 0x27
+ level_event, // 0x28
+ level_particles, // 0x29
+ light_update, // 0x2A
+ login, // 0x2B
+ map_item_data, // 0x2C
+ merchant_offers, // 0x2D
+ move_entity_pos, // 0x2E
+ move_entity_pos_rot, // 0x2F
+ move_minecart_along_track, // 0x30
+ move_entity_rot, // 0x31
+ move_vehicle, // 0x32
+ open_book, // 0x33
+ open_screen, // 0x34
+ open_sign_editor, // 0x35
+ ping, // 0x36
+ pong_response, // 0x37
+ place_ghost_recipe, // 0x38
+ player_abilities, // 0x39
+ player_chat, // 0x3A
+ player_combat_end, // 0x3B
+ player_combat_enter, // 0x3C
+ player_combat_kill, // 0x3D
+ player_info_remove, // 0x3E
+ player_info_update, // 0x3F
+ player_look_at, // 0x40
+ player_position, // 0x41
+ player_rotation, // 0x42
+ recipe_book_add, // 0x43
+ recipe_book_remove, // 0x44
+ recipe_book_settings, // 0x45
+ remove_entities, // 0x46
+ remove_mob_effect, // 0x47
+ reset_score, // 0x48
+ resource_pack_pop, // 0x49
+ resource_pack_push, // 0x4A
+ respawn, // 0x4B
+ rotate_head, // 0x4C
+ section_blocks_update, // 0x4D
+ select_advancements_tab, // 0x4E
+ server_data, // 0x4F
+ set_action_bar_text, // 0x50
+ set_border_center, // 0x51
+ set_border_lerp_size, // 0x52
+ set_border_size, // 0x53
+ set_border_warning_delay, // 0x54
+ set_border_warning_distance, // 0x55
+ set_camera, // 0x56
+ set_chunk_cache_center, // 0x57
+ set_chunk_cache_radius, // 0x58
+ set_cursor_item, // 0x59
+ set_default_spawn_position, // 0x5A
+ set_display_objective, // 0x5B
+ set_entity_data, // 0x5C
+ set_entity_link, // 0x5D
+ set_entity_motion, // 0x5E
+ set_equipment, // 0x5F
+ set_experience, // 0x60
+ set_health, // 0x61
+ set_held_slot, // 0x62
+ set_objective, // 0x63
+ set_passengers, // 0x64
+ set_player_inventory, // 0x65
+ set_player_team, // 0x66
+ set_score, // 0x67
+ set_simulation_distance, // 0x68
+ set_subtitle_text, // 0x69
+ set_time, // 0x6A
+ set_title_text, // 0x6B
+ set_titles_animation, // 0x6C
+ sound_entity, // 0x6D
+ sound, // 0x6E
+ start_configuration, // 0x6F
+ stop_sound, // 0x70
+ store_cookie, // 0x71
+ system_chat, // 0x72
+ tab_list, // 0x73
+ tag_query, // 0x74
+ take_item_entity, // 0x75
+ teleport_entity, // 0x76
+ test_instance_block_status, // 0x77
ticking_state, // 0x78
ticking_step, // 0x79
transfer, // 0x7A
@@ -195,10 +195,12 @@ declare_state_packets!(GamePacket,
set_creative_mode_slot, // 0x36
set_jigsaw_block, // 0x37
set_structure_block, // 0x38
- sign_update, // 0x39
- swing, // 0x3A
- teleport_to_entity, // 0x3B
- use_item_on, // 0x3C
- use_item, // 0x3D
+ set_test_block, // 0x39
+ sign_update, // 0x3A
+ swing, // 0x3B
+ teleport_to_entity, // 0x3C
+ test_instance_block_action, // 0x3D
+ use_item_on, // 0x3E
+ use_item, // 0x3F
]
);