Skip to content

Commit 9243745

Browse files
TitlehhhhTitleHHHH
andauthored
pc: add missing packet mapper entries for 1.20.5 - 1.21.5 (#1088)
* fix(protocol): add missing packet ids * change yaml and fix "server links" and "custom report details" packets in 1.21.1 * fix 1.21.3 (reordering) * redordering packet_debug_sample_subscription --------- Co-authored-by: TitleHHHH <TitleHHHH@outlook.com>
1 parent 8c3dc6e commit 9243745

File tree

10 files changed

+33
-7
lines changed

10 files changed

+33
-7
lines changed

data/pc/1.20.5/proto.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2444,6 +2444,7 @@
24442444
- entity_effect
24452445
- declare_recipes
24462446
- tags
2447+
- set_projectile_power
24472448
params: name ?
24482449
if bundle_delimiter: void
24492450
if spawn_entity: packet_spawn_entity
@@ -2566,6 +2567,7 @@
25662567
if entity_effect: packet_entity_effect
25672568
if declare_recipes: packet_declare_recipes
25682569
if tags: packet_tags
2570+
if set_projectile_power: packet_set_projectile_power
25692571

25702572
^play.toServer.types:
25712573
# MC: ServerboundAcceptTeleportationPacket
@@ -2959,6 +2961,7 @@
29592961
if set_slot_state: packet_set_slot_state
29602962
if cookie_response: packet_common_cookie_response
29612963
if custom_payload: packet_custom_payload
2964+
if debug_sample_subscription: packet_debug_sample_subscription
29622965
if edit_book: packet_edit_book
29632966
if query_entity_nbt: packet_query_entity_nbt
29642967
if use_entity: packet_use_entity

data/pc/1.20.5/protocol.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7240,7 +7240,8 @@
72407240
"0x75": "entity_update_attributes",
72417241
"0x76": "entity_effect",
72427242
"0x77": "declare_recipes",
7243-
"0x78": "tags"
7243+
"0x78": "tags",
7244+
"0x79": "set_projectile_power"
72447245
}
72457246
}
72467247
]
@@ -7372,7 +7373,8 @@
73727373
"entity_update_attributes": "packet_entity_update_attributes",
73737374
"entity_effect": "packet_entity_effect",
73747375
"declare_recipes": "packet_declare_recipes",
7375-
"tags": "packet_tags"
7376+
"tags": "packet_tags",
7377+
"set_projectile_power": "packet_set_projectile_power"
73767378
}
73777379
}
73787380
]
@@ -8524,6 +8526,7 @@
85248526
"set_slot_state": "packet_set_slot_state",
85258527
"cookie_response": "packet_common_cookie_response",
85268528
"custom_payload": "packet_custom_payload",
8529+
"debug_sample_subscription": "packet_debug_sample_subscription",
85278530
"edit_book": "packet_edit_book",
85288531
"query_entity_nbt": "packet_query_entity_nbt",
85298532
"use_entity": "packet_use_entity",
@@ -8561,7 +8564,7 @@
85618564
"arm_animation": "packet_arm_animation",
85628565
"spectate": "packet_spectate",
85638566
"block_place": "packet_block_place",
8564-
"use_item": "packet_use_item"
8567+
"use_item": "packet_use_item"
85658568
}
85668569
}
85678570
]

data/pc/1.21.1/proto.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,6 +2496,9 @@
24962496
- entity_effect
24972497
- declare_recipes
24982498
- tags
2499+
- set_projectile_power
2500+
- custom_report_details
2501+
- server_links
24992502
params: name ?
25002503
if bundle_delimiter: void
25012504
if spawn_entity: packet_spawn_entity
@@ -2618,6 +2621,9 @@
26182621
if entity_effect: packet_entity_effect
26192622
if declare_recipes: packet_declare_recipes
26202623
if tags: packet_tags
2624+
if set_projectile_power: packet_set_projectile_power
2625+
if custom_report_details: packet_common_custom_report_details
2626+
if server_links: packet_common_server_links
26212627

26222628
^play.toServer.types:
26232629
# MC: ServerboundAcceptTeleportationPacket
@@ -3011,6 +3017,7 @@
30113017
if set_slot_state: packet_set_slot_state
30123018
if cookie_response: packet_common_cookie_response
30133019
if custom_payload: packet_custom_payload
3020+
if debug_sample_subscription: packet_debug_sample_subscription
30143021
if edit_book: packet_edit_book
30153022
if query_entity_nbt: packet_query_entity_nbt
30163023
if use_entity: packet_use_entity

data/pc/1.21.1/protocol.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7420,7 +7420,10 @@
74207420
"0x75": "entity_update_attributes",
74217421
"0x76": "entity_effect",
74227422
"0x77": "declare_recipes",
7423-
"0x78": "tags"
7423+
"0x78": "tags",
7424+
"0x79": "set_projectile_power",
7425+
"0x7a": "custom_report_details",
7426+
"0x7b": "server_links"
74247427
}
74257428
}
74267429
]
@@ -7552,7 +7555,10 @@
75527555
"entity_update_attributes": "packet_entity_update_attributes",
75537556
"entity_effect": "packet_entity_effect",
75547557
"declare_recipes": "packet_declare_recipes",
7555-
"tags": "packet_tags"
7558+
"tags": "packet_tags",
7559+
"set_projectile_power": "packet_set_projectile_power",
7560+
"custom_report_details": "packet_common_custom_report_details",
7561+
"server_links": "packet_common_server_links"
75567562
}
75577563
}
75587564
]
@@ -8708,6 +8714,7 @@
87088714
"set_slot_state": "packet_set_slot_state",
87098715
"cookie_response": "packet_common_cookie_response",
87108716
"custom_payload": "packet_custom_payload",
8717+
"debug_sample_subscription": "packet_debug_sample_subscription",
87118718
"edit_book": "packet_edit_book",
87128719
"query_entity_nbt": "packet_query_entity_nbt",
87138720
"use_entity": "packet_use_entity",

data/pc/1.21.3/proto.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3185,6 +3185,7 @@
31853185
if set_slot_state: packet_set_slot_state
31863186
if cookie_response: packet_common_cookie_response
31873187
if custom_payload: packet_custom_payload
3188+
if debug_sample_subscription: packet_debug_sample_subscription
31883189
if edit_book: packet_edit_book
31893190
if query_entity_nbt: packet_query_entity_nbt
31903191
if use_entity: packet_use_entity

data/pc/1.21.3/protocol.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9278,6 +9278,7 @@
92789278
"set_slot_state": "packet_set_slot_state",
92799279
"cookie_response": "packet_common_cookie_response",
92809280
"custom_payload": "packet_custom_payload",
9281+
"debug_sample_subscription": "packet_debug_sample_subscription",
92819282
"edit_book": "packet_edit_book",
92829283
"query_entity_nbt": "packet_query_entity_nbt",
92839284
"use_entity": "packet_use_entity",
@@ -9315,7 +9316,7 @@
93159316
"arm_animation": "packet_arm_animation",
93169317
"spectate": "packet_spectate",
93179318
"block_place": "packet_block_place",
9318-
"use_item": "packet_use_item"
9319+
"use_item": "packet_use_item"
93199320
}
93209321
}
93219322
]

data/pc/1.21.4/proto.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3200,6 +3200,7 @@
32003200
if set_slot_state: packet_set_slot_state
32013201
if cookie_response: packet_common_cookie_response
32023202
if custom_payload: packet_custom_payload
3203+
if debug_sample_subscription: packet_debug_sample_subscription
32033204
if edit_book: packet_edit_book
32043205
if query_entity_nbt: packet_query_entity_nbt
32053206
if use_entity: packet_use_entity

data/pc/1.21.4/protocol.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9327,6 +9327,7 @@
93279327
"set_slot_state": "packet_set_slot_state",
93289328
"cookie_response": "packet_common_cookie_response",
93299329
"custom_payload": "packet_custom_payload",
9330+
"debug_sample_subscription": "packet_debug_sample_subscription",
93309331
"edit_book": "packet_edit_book",
93319332
"query_entity_nbt": "packet_query_entity_nbt",
93329333
"use_entity": "packet_use_entity",
@@ -9366,7 +9367,7 @@
93669367
"arm_animation": "packet_arm_animation",
93679368
"spectate": "packet_spectate",
93689369
"block_place": "packet_block_place",
9369-
"use_item": "packet_use_item"
9370+
"use_item": "packet_use_item"
93709371
}
93719372
}
93729373
]

data/pc/1.21.5/proto.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3344,6 +3344,7 @@
33443344
if set_slot_state: packet_set_slot_state
33453345
if cookie_response: packet_common_cookie_response
33463346
if custom_payload: packet_custom_payload
3347+
if debug_sample_subscription: packet_debug_sample_subscription
33473348
if edit_book: packet_edit_book
33483349
if query_entity_nbt: packet_query_entity_nbt
33493350
if use_entity: packet_use_entity

data/pc/1.21.5/protocol.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9825,6 +9825,7 @@
98259825
"set_slot_state": "packet_set_slot_state",
98269826
"cookie_response": "packet_common_cookie_response",
98279827
"custom_payload": "packet_custom_payload",
9828+
"debug_sample_subscription": "packet_debug_sample_subscription",
98289829
"edit_book": "packet_edit_book",
98299830
"query_entity_nbt": "packet_query_entity_nbt",
98309831
"use_entity": "packet_use_entity",

0 commit comments

Comments
 (0)