aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/mod.rs
blob: d42d46ebb6ff9c267eb888471669f53e2c85e668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
// NOTE: This file is @generated automatically by codegen/packet.py.
// Don't edit it directly!

use azalea_protocol_macros::declare_state_packets;

declare_state_packets!(GamePacket,
    Clientbound => [
        bundle_delimiter,
        add_entity,
        animate,
        award_stats,
        block_changed_ack,
        block_destruction,
        block_entity_data,
        block_event,
        block_update,
        boss_event,
        change_difficulty,
        chunk_batch_finished,
        chunk_batch_start,
        chunks_biomes,
        clear_titles,
        command_suggestions,
        commands,
        container_close,
        container_set_content,
        container_set_data,
        container_set_slot,
        cookie_request,
        cooldown,
        custom_chat_completions,
        custom_payload,
        damage_event,
        debug_block_value,
        debug_chunk_value,
        debug_entity_value,
        debug_event,
        debug_sample,
        delete_chat,
        disconnect,
        disguised_chat,
        entity_event,
        entity_position_sync,
        explode,
        forget_level_chunk,
        game_event,
        game_rule_values,
        game_test_highlight_pos,
        mount_screen_open,
        hurt_animation,
        initialize_border,
        keep_alive,
        level_chunk_with_light,
        level_event,
        level_particles,
        light_update,
        login,
        low_disk_space_warning,
        map_item_data,
        merchant_offers,
        move_entity_pos,
        move_entity_pos_rot,
        move_minecart_along_track,
        move_entity_rot,
        move_vehicle,
        open_book,
        open_screen,
        open_sign_editor,
        ping,
        pong_response,
        place_ghost_recipe,
        player_abilities,
        player_chat,
        player_combat_end,
        player_combat_enter,
        player_combat_kill,
        player_info_remove,
        player_info_update,
        player_look_at,
        player_position,
        player_rotation,
        recipe_book_add,
        recipe_book_remove,
        recipe_book_settings,
        remove_entities,
        remove_mob_effect,
        reset_score,
        resource_pack_pop,
        resource_pack_push,
        respawn,
        rotate_head,
        section_blocks_update,
        select_advancements_tab,
        server_data,
        set_action_bar_text,
        set_border_center,
        set_border_lerp_size,
        set_border_size,
        set_border_warning_delay,
        set_border_warning_distance,
        set_camera,
        set_chunk_cache_center,
        set_chunk_cache_radius,
        set_cursor_item,
        set_default_spawn_position,
        set_display_objective,
        set_entity_data,
        set_entity_link,
        set_entity_motion,
        set_equipment,
        set_experience,
        set_health,
        set_held_slot,
        set_objective,
        set_passengers,
        set_player_inventory,
        set_player_team,
        set_score,
        set_simulation_distance,
        set_subtitle_text,
        set_time,
        set_title_text,
        set_titles_animation,
        sound_entity,
        sound,
        start_configuration,
        stop_sound,
        store_cookie,
        system_chat,
        tab_list,
        tag_query,
        take_item_entity,
        teleport_entity,
        test_instance_block_status,
        ticking_state,
        ticking_step,
        transfer,
        update_advancements,
        update_attributes,
        update_mob_effect,
        update_recipes,
        update_tags,
        projectile_power,
        custom_report_details,
        server_links,
        waypoint,
        clear_dialog,
        show_dialog,
    ],
    Serverbound => [
        accept_teleportation,
        attack,
        block_entity_tag_query,
        bundle_item_selected,
        change_difficulty,
        change_game_mode,
        chat_ack,
        chat_command,
        chat_command_signed,
        chat,
        chat_session_update,
        chunk_batch_received,
        client_command,
        client_tick_end,
        client_information,
        command_suggestion,
        configuration_acknowledged,
        container_button_click,
        container_click,
        container_close,
        container_slot_state_changed,
        cookie_response,
        custom_payload,
        debug_subscription_request,
        edit_book,
        entity_tag_query,
        interact,
        jigsaw_generate,
        keep_alive,
        lock_difficulty,
        move_player_pos,
        move_player_pos_rot,
        move_player_rot,
        move_player_status_only,
        move_vehicle,
        paddle_boat,
        pick_item_from_block,
        pick_item_from_entity,
        ping_request,
        place_recipe,
        player_abilities,
        player_action,
        player_command,
        player_input,
        player_loaded,
        pong,
        recipe_book_change_settings,
        recipe_book_seen_recipe,
        rename_item,
        resource_pack,
        seen_advancements,
        select_trade,
        set_beacon,
        set_carried_item,
        set_command_block,
        set_command_minecart,
        set_creative_mode_slot,
        set_game_rule,
        set_jigsaw_block,
        set_structure_block,
        set_test_block,
        sign_update,
        spectate_entity,
        swing,
        teleport_to_entity,
        test_instance_block_action,
        use_item_on,
        use_item,
        custom_click_action,
    ]
);