minecraft-data 3.36.0 → 3.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/doc/history.md +4 -0
- package/minecraft-data/data/bedrock/1.16.201/proto.yml +38 -11
- package/minecraft-data/data/bedrock/1.16.201/protocol.json +60 -6
- package/minecraft-data/data/bedrock/1.16.210/proto.yml +38 -11
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +60 -6
- package/minecraft-data/data/bedrock/1.16.220/proto.yml +23 -11
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +38 -5
- package/minecraft-data/data/bedrock/1.17.0/proto.yml +23 -11
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +38 -5
- package/minecraft-data/data/bedrock/1.17.10/proto.yml +25 -12
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.17.30/proto.yml +28 -12
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.17.40/proto.yml +28 -12
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.18.0/proto.yml +28 -12
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.18.11/proto.yml +29 -12
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.18.30/proto.yml +29 -13
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.1/proto.yml +30 -13
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.10/proto.yml +30 -13
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.20/proto.yml +30 -13
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.21/proto.yml +30 -13
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.30/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.40/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.50/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.60/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.62/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.70/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.80/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +40 -7
- package/minecraft-data/data/bedrock/latest/proto.yml +33 -14
- package/minecraft-data/data/pc/common/protocolVersions.json +8 -0
- package/minecraft-data/doc/history.md +4 -1
- package/package.json +1 -1
|
@@ -4845,7 +4845,17 @@
|
|
|
4845
4845
|
},
|
|
4846
4846
|
{
|
|
4847
4847
|
"name": "event_id",
|
|
4848
|
-
"type":
|
|
4848
|
+
"type": [
|
|
4849
|
+
"mapper",
|
|
4850
|
+
{
|
|
4851
|
+
"type": "u8",
|
|
4852
|
+
"mappings": {
|
|
4853
|
+
"1": "add",
|
|
4854
|
+
"2": "update",
|
|
4855
|
+
"3": "remove"
|
|
4856
|
+
}
|
|
4857
|
+
}
|
|
4858
|
+
]
|
|
4849
4859
|
},
|
|
4850
4860
|
{
|
|
4851
4861
|
"name": "effect_id",
|
|
@@ -4953,6 +4963,7 @@
|
|
|
4953
4963
|
"mappings": {
|
|
4954
4964
|
"3": "leave_vehicle",
|
|
4955
4965
|
"4": "mouse_over_entity",
|
|
4966
|
+
"5": "npc_open",
|
|
4956
4967
|
"6": "open_inventory"
|
|
4957
4968
|
}
|
|
4958
4969
|
}
|
|
@@ -5578,7 +5589,18 @@
|
|
|
5578
5589
|
[
|
|
5579
5590
|
{
|
|
5580
5591
|
"name": "event_type",
|
|
5581
|
-
"type":
|
|
5592
|
+
"type": [
|
|
5593
|
+
"mapper",
|
|
5594
|
+
{
|
|
5595
|
+
"type": "lu16",
|
|
5596
|
+
"mappings": {
|
|
5597
|
+
"0": "uninitialized_subtype",
|
|
5598
|
+
"1": "enable_commands",
|
|
5599
|
+
"2": "disable_commands",
|
|
5600
|
+
"3": "unlock_world_template_settings"
|
|
5601
|
+
}
|
|
5602
|
+
}
|
|
5603
|
+
]
|
|
5582
5604
|
}
|
|
5583
5605
|
]
|
|
5584
5606
|
],
|
|
@@ -6920,7 +6942,8 @@
|
|
|
6920
6942
|
"2": "execute_closing_commands",
|
|
6921
6943
|
"3": "set_name",
|
|
6922
6944
|
"4": "set_skin",
|
|
6923
|
-
"5": "set_interaction_text"
|
|
6945
|
+
"5": "set_interaction_text",
|
|
6946
|
+
"6": "execute_opening_commands"
|
|
6924
6947
|
}
|
|
6925
6948
|
}
|
|
6926
6949
|
]
|
|
@@ -7160,7 +7183,8 @@
|
|
|
7160
7183
|
"type": "u8",
|
|
7161
7184
|
"mappings": {
|
|
7162
7185
|
"0": "combine",
|
|
7163
|
-
"1": "react"
|
|
7186
|
+
"1": "react",
|
|
7187
|
+
"2": "reset"
|
|
7164
7188
|
}
|
|
7165
7189
|
}
|
|
7166
7190
|
]
|
|
@@ -7550,7 +7574,16 @@
|
|
|
7550
7574
|
},
|
|
7551
7575
|
{
|
|
7552
7576
|
"name": "action",
|
|
7553
|
-
"type":
|
|
7577
|
+
"type": [
|
|
7578
|
+
"mapper",
|
|
7579
|
+
{
|
|
7580
|
+
"type": "u8",
|
|
7581
|
+
"mappings": {
|
|
7582
|
+
"1": "none",
|
|
7583
|
+
"2": "close"
|
|
7584
|
+
}
|
|
7585
|
+
}
|
|
7586
|
+
]
|
|
7554
7587
|
},
|
|
7555
7588
|
{
|
|
7556
7589
|
"name": "resolution_x",
|
|
@@ -777,7 +777,10 @@ packet_mob_effect:
|
|
|
777
777
|
!id: 0x1c
|
|
778
778
|
!bound: client
|
|
779
779
|
runtime_entity_id: varint64
|
|
780
|
-
event_id: u8
|
|
780
|
+
event_id: u8 =>
|
|
781
|
+
1: add
|
|
782
|
+
2: update
|
|
783
|
+
3: remove
|
|
781
784
|
effect_id: zigzag32
|
|
782
785
|
amplifier: zigzag32
|
|
783
786
|
particles: bool
|
|
@@ -827,6 +830,7 @@ packet_interact:
|
|
|
827
830
|
action_id: u8 =>
|
|
828
831
|
3: leave_vehicle
|
|
829
832
|
4: mouse_over_entity
|
|
833
|
+
5: npc_open
|
|
830
834
|
6: open_inventory
|
|
831
835
|
# TargetEntityRuntimeID is the runtime ID of the entity that the player interacted with. This is empty
|
|
832
836
|
# for the InteractActionOpenInventory action type.
|
|
@@ -1232,7 +1236,11 @@ packet_player_list:
|
|
|
1232
1236
|
packet_simple_event:
|
|
1233
1237
|
!id: 0x40
|
|
1234
1238
|
!bound: client
|
|
1235
|
-
event_type: lu16
|
|
1239
|
+
event_type: lu16 =>
|
|
1240
|
+
0: uninitialized_subtype
|
|
1241
|
+
1: enable_commands
|
|
1242
|
+
2: disable_commands
|
|
1243
|
+
3: unlock_world_template_settings
|
|
1236
1244
|
|
|
1237
1245
|
# Event is sent by the server to send an event with additional data. It is typically sent to the client for
|
|
1238
1246
|
# telemetry reasons, much like the SimpleEvent packet.
|
|
@@ -1911,7 +1919,7 @@ packet_player_skin:
|
|
|
1911
1919
|
# connects sends a SubClientLogin to request their own login.
|
|
1912
1920
|
packet_sub_client_login:
|
|
1913
1921
|
!id: 0x5e
|
|
1914
|
-
!bound:
|
|
1922
|
+
!bound: server
|
|
1915
1923
|
# ConnectionRequest is a string containing information about the player and JWTs that may be used to
|
|
1916
1924
|
# verify if the player is connected to XBOX Live. The connection request also contains the necessary
|
|
1917
1925
|
# client public key to initiate encryption.
|
|
@@ -1941,7 +1949,7 @@ packet_set_last_hurt_by:
|
|
|
1941
1949
|
# player stops its typing 'session', rather than simply after closing the book.
|
|
1942
1950
|
packet_book_edit:
|
|
1943
1951
|
!id: 0x61
|
|
1944
|
-
!bound:
|
|
1952
|
+
!bound: server
|
|
1945
1953
|
type: u8 =>
|
|
1946
1954
|
0: replace_page
|
|
1947
1955
|
1: add_page
|
|
@@ -1984,6 +1992,7 @@ packet_npc_request:
|
|
|
1984
1992
|
3: set_name
|
|
1985
1993
|
4: set_skin
|
|
1986
1994
|
5: set_interaction_text
|
|
1995
|
+
6: execute_opening_commands
|
|
1987
1996
|
# CommandString is the command string set in the NPC. It may consist of multiple commands, depending on
|
|
1988
1997
|
# what the player set in it.
|
|
1989
1998
|
command: string
|
|
@@ -2070,7 +2079,7 @@ packet_show_profile:
|
|
|
2070
2079
|
# in the settings UI.
|
|
2071
2080
|
packet_set_default_game_type:
|
|
2072
2081
|
!id: 0x69
|
|
2073
|
-
!bound:
|
|
2082
|
+
!bound: server
|
|
2074
2083
|
# GameType is the new game type that is set. When sent by the client, this is the requested new default
|
|
2075
2084
|
# game type.
|
|
2076
2085
|
gamemode: GameMode
|
|
@@ -2142,6 +2151,7 @@ packet_lab_table:
|
|
|
2142
2151
|
action_type: u8 =>
|
|
2143
2152
|
0: combine
|
|
2144
2153
|
1: react
|
|
2154
|
+
2: reset
|
|
2145
2155
|
# Position is the position at which the lab table used was located.
|
|
2146
2156
|
position: vec3i
|
|
2147
2157
|
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
@@ -2402,7 +2412,7 @@ packet_level_event_generic:
|
|
|
2402
2412
|
# or if the book should be removed from it.
|
|
2403
2413
|
packet_lectern_update:
|
|
2404
2414
|
!id: 0x7d
|
|
2405
|
-
!bound:
|
|
2415
|
+
!bound: server
|
|
2406
2416
|
# Page is the page number in the book that was opened by the player on the lectern.
|
|
2407
2417
|
page: u8
|
|
2408
2418
|
# PageCount is the number of pages that the book opened in the lectern has.
|
|
@@ -2419,7 +2429,9 @@ packet_video_stream_connect:
|
|
|
2419
2429
|
!bound: client
|
|
2420
2430
|
server_uri: string
|
|
2421
2431
|
frame_send_frequency: lf32
|
|
2422
|
-
action: u8
|
|
2432
|
+
action: u8 =>
|
|
2433
|
+
1: none
|
|
2434
|
+
2: close
|
|
2423
2435
|
resolution_x: li32
|
|
2424
2436
|
resolution_y: li32
|
|
2425
2437
|
|
|
@@ -2480,7 +2492,7 @@ packet_map_create_locked_copy:
|
|
|
2480
2492
|
# StructureTemplateDataRequest is sent by the client to request data of a structure.
|
|
2481
2493
|
packet_structure_template_data_export_request:
|
|
2482
2494
|
!id: 0x84
|
|
2483
|
-
!bound:
|
|
2495
|
+
!bound: server
|
|
2484
2496
|
# StructureName is the name of the structure that was set in the structure block's UI. This is the name
|
|
2485
2497
|
# used to export the structure to a file.
|
|
2486
2498
|
name: string
|
|
@@ -2520,7 +2532,7 @@ packet_update_block_properties:
|
|
|
2520
2532
|
# what blobs it needs and which blobs it already has, in an ACK type system.
|
|
2521
2533
|
packet_client_cache_blob_status:
|
|
2522
2534
|
!id: 0x87
|
|
2523
|
-
!bound:
|
|
2535
|
+
!bound: server
|
|
2524
2536
|
# The number of MISSes in this packet
|
|
2525
2537
|
misses: varint
|
|
2526
2538
|
# The number of HITs in this packet
|
|
@@ -2843,7 +2855,7 @@ ArmorDamageType: [ "bitflags",
|
|
|
2843
2855
|
# identical to the SetPlayerGameType packet.
|
|
2844
2856
|
packet_update_player_game_type:
|
|
2845
2857
|
!id: 0x97
|
|
2846
|
-
!bound:
|
|
2858
|
+
!bound: client
|
|
2847
2859
|
# GameType is the new game type of the player. It is one of the constants that can be found in
|
|
2848
2860
|
# set_player_game_type.go. Some of these game types require additional flags to be set in an
|
|
2849
2861
|
# AdventureSettings packet for the game mode to obtain its full functionality.
|
|
@@ -3023,7 +3035,7 @@ packet_item_component:
|
|
|
3023
3035
|
# safer version of the text.
|
|
3024
3036
|
packet_filter_text_packet:
|
|
3025
3037
|
!id: 0xa3
|
|
3026
|
-
!bound:
|
|
3038
|
+
!bound: both
|
|
3027
3039
|
# Text is either the text from the client or the safer version of the text sent by the server.
|
|
3028
3040
|
text: string
|
|
3029
3041
|
# FromServer indicates if the packet was sent by the server or not.
|
|
@@ -4923,7 +4923,17 @@
|
|
|
4923
4923
|
},
|
|
4924
4924
|
{
|
|
4925
4925
|
"name": "event_id",
|
|
4926
|
-
"type":
|
|
4926
|
+
"type": [
|
|
4927
|
+
"mapper",
|
|
4928
|
+
{
|
|
4929
|
+
"type": "u8",
|
|
4930
|
+
"mappings": {
|
|
4931
|
+
"1": "add",
|
|
4932
|
+
"2": "update",
|
|
4933
|
+
"3": "remove"
|
|
4934
|
+
}
|
|
4935
|
+
}
|
|
4936
|
+
]
|
|
4927
4937
|
},
|
|
4928
4938
|
{
|
|
4929
4939
|
"name": "effect_id",
|
|
@@ -5031,6 +5041,7 @@
|
|
|
5031
5041
|
"mappings": {
|
|
5032
5042
|
"3": "leave_vehicle",
|
|
5033
5043
|
"4": "mouse_over_entity",
|
|
5044
|
+
"5": "npc_open",
|
|
5034
5045
|
"6": "open_inventory"
|
|
5035
5046
|
}
|
|
5036
5047
|
}
|
|
@@ -5656,7 +5667,18 @@
|
|
|
5656
5667
|
[
|
|
5657
5668
|
{
|
|
5658
5669
|
"name": "event_type",
|
|
5659
|
-
"type":
|
|
5670
|
+
"type": [
|
|
5671
|
+
"mapper",
|
|
5672
|
+
{
|
|
5673
|
+
"type": "lu16",
|
|
5674
|
+
"mappings": {
|
|
5675
|
+
"0": "uninitialized_subtype",
|
|
5676
|
+
"1": "enable_commands",
|
|
5677
|
+
"2": "disable_commands",
|
|
5678
|
+
"3": "unlock_world_template_settings"
|
|
5679
|
+
}
|
|
5680
|
+
}
|
|
5681
|
+
]
|
|
5660
5682
|
}
|
|
5661
5683
|
]
|
|
5662
5684
|
],
|
|
@@ -6999,7 +7021,8 @@
|
|
|
6999
7021
|
"2": "execute_closing_commands",
|
|
7000
7022
|
"3": "set_name",
|
|
7001
7023
|
"4": "set_skin",
|
|
7002
|
-
"5": "set_interaction_text"
|
|
7024
|
+
"5": "set_interaction_text",
|
|
7025
|
+
"6": "execute_opening_commands"
|
|
7003
7026
|
}
|
|
7004
7027
|
}
|
|
7005
7028
|
]
|
|
@@ -7239,7 +7262,8 @@
|
|
|
7239
7262
|
"type": "u8",
|
|
7240
7263
|
"mappings": {
|
|
7241
7264
|
"0": "combine",
|
|
7242
|
-
"1": "react"
|
|
7265
|
+
"1": "react",
|
|
7266
|
+
"2": "reset"
|
|
7243
7267
|
}
|
|
7244
7268
|
}
|
|
7245
7269
|
]
|
|
@@ -7629,7 +7653,16 @@
|
|
|
7629
7653
|
},
|
|
7630
7654
|
{
|
|
7631
7655
|
"name": "action",
|
|
7632
|
-
"type":
|
|
7656
|
+
"type": [
|
|
7657
|
+
"mapper",
|
|
7658
|
+
{
|
|
7659
|
+
"type": "u8",
|
|
7660
|
+
"mappings": {
|
|
7661
|
+
"1": "none",
|
|
7662
|
+
"2": "close"
|
|
7663
|
+
}
|
|
7664
|
+
}
|
|
7665
|
+
]
|
|
7633
7666
|
},
|
|
7634
7667
|
{
|
|
7635
7668
|
"name": "resolution_x",
|
|
@@ -860,7 +860,10 @@ packet_mob_effect:
|
|
|
860
860
|
!id: 0x1c
|
|
861
861
|
!bound: client
|
|
862
862
|
runtime_entity_id: varint64
|
|
863
|
-
event_id: u8
|
|
863
|
+
event_id: u8 =>
|
|
864
|
+
1: add
|
|
865
|
+
2: update
|
|
866
|
+
3: remove
|
|
864
867
|
effect_id: zigzag32
|
|
865
868
|
amplifier: zigzag32
|
|
866
869
|
particles: bool
|
|
@@ -910,6 +913,7 @@ packet_interact:
|
|
|
910
913
|
action_id: u8 =>
|
|
911
914
|
3: leave_vehicle
|
|
912
915
|
4: mouse_over_entity
|
|
916
|
+
5: npc_open
|
|
913
917
|
6: open_inventory
|
|
914
918
|
# TargetEntityRuntimeID is the runtime ID of the entity that the player interacted with. This is empty
|
|
915
919
|
# for the InteractActionOpenInventory action type.
|
|
@@ -1315,7 +1319,11 @@ packet_player_list:
|
|
|
1315
1319
|
packet_simple_event:
|
|
1316
1320
|
!id: 0x40
|
|
1317
1321
|
!bound: client
|
|
1318
|
-
event_type: lu16
|
|
1322
|
+
event_type: lu16 =>
|
|
1323
|
+
0: uninitialized_subtype
|
|
1324
|
+
1: enable_commands
|
|
1325
|
+
2: disable_commands
|
|
1326
|
+
3: unlock_world_template_settings
|
|
1319
1327
|
|
|
1320
1328
|
# Event is sent by the server to send an event with additional data. It is typically sent to the client for
|
|
1321
1329
|
# telemetry reasons, much like the SimpleEvent packet.
|
|
@@ -1999,7 +2007,7 @@ packet_player_skin:
|
|
|
1999
2007
|
# connects sends a SubClientLogin to request their own login.
|
|
2000
2008
|
packet_sub_client_login:
|
|
2001
2009
|
!id: 0x5e
|
|
2002
|
-
!bound:
|
|
2010
|
+
!bound: server
|
|
2003
2011
|
# ConnectionRequest is a string containing information about the player and JWTs that may be used to
|
|
2004
2012
|
# verify if the player is connected to XBOX Live. The connection request also contains the necessary
|
|
2005
2013
|
# client public key to initiate encryption.
|
|
@@ -2029,7 +2037,7 @@ packet_set_last_hurt_by:
|
|
|
2029
2037
|
# player stops its typing 'session', rather than simply after closing the book.
|
|
2030
2038
|
packet_book_edit:
|
|
2031
2039
|
!id: 0x61
|
|
2032
|
-
!bound:
|
|
2040
|
+
!bound: server
|
|
2033
2041
|
type: u8 =>
|
|
2034
2042
|
0: replace_page
|
|
2035
2043
|
1: add_page
|
|
@@ -2072,6 +2080,7 @@ packet_npc_request:
|
|
|
2072
2080
|
3: set_name
|
|
2073
2081
|
4: set_skin
|
|
2074
2082
|
5: set_interaction_text
|
|
2083
|
+
6: execute_opening_commands
|
|
2075
2084
|
# CommandString is the command string set in the NPC. It may consist of multiple commands, depending on
|
|
2076
2085
|
# what the player set in it.
|
|
2077
2086
|
command: string
|
|
@@ -2083,7 +2092,7 @@ packet_npc_request:
|
|
|
2083
2092
|
3: set_name
|
|
2084
2093
|
4: set_skin
|
|
2085
2094
|
5: set_interact_text
|
|
2086
|
-
6:
|
|
2095
|
+
6: execute_opening_commands
|
|
2087
2096
|
# SceneName is the name of the scene.
|
|
2088
2097
|
scene_name: string
|
|
2089
2098
|
|
|
@@ -2167,7 +2176,7 @@ packet_show_profile:
|
|
|
2167
2176
|
# in the settings UI.
|
|
2168
2177
|
packet_set_default_game_type:
|
|
2169
2178
|
!id: 0x69
|
|
2170
|
-
!bound:
|
|
2179
|
+
!bound: server
|
|
2171
2180
|
# GameType is the new game type that is set. When sent by the client, this is the requested new default
|
|
2172
2181
|
# game type.
|
|
2173
2182
|
gamemode: GameMode
|
|
@@ -2239,6 +2248,7 @@ packet_lab_table:
|
|
|
2239
2248
|
action_type: u8 =>
|
|
2240
2249
|
0: combine
|
|
2241
2250
|
1: react
|
|
2251
|
+
2: reset
|
|
2242
2252
|
# Position is the position at which the lab table used was located.
|
|
2243
2253
|
position: vec3i
|
|
2244
2254
|
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
@@ -2499,7 +2509,7 @@ packet_level_event_generic:
|
|
|
2499
2509
|
# or if the book should be removed from it.
|
|
2500
2510
|
packet_lectern_update:
|
|
2501
2511
|
!id: 0x7d
|
|
2502
|
-
!bound:
|
|
2512
|
+
!bound: server
|
|
2503
2513
|
# Page is the page number in the book that was opened by the player on the lectern.
|
|
2504
2514
|
page: u8
|
|
2505
2515
|
# PageCount is the number of pages that the book opened in the lectern has.
|
|
@@ -2516,7 +2526,9 @@ packet_video_stream_connect:
|
|
|
2516
2526
|
!bound: client
|
|
2517
2527
|
server_uri: string
|
|
2518
2528
|
frame_send_frequency: lf32
|
|
2519
|
-
action: u8
|
|
2529
|
+
action: u8 =>
|
|
2530
|
+
1: none
|
|
2531
|
+
2: close
|
|
2520
2532
|
resolution_x: li32
|
|
2521
2533
|
resolution_y: li32
|
|
2522
2534
|
|
|
@@ -2577,7 +2589,7 @@ packet_map_create_locked_copy:
|
|
|
2577
2589
|
# StructureTemplateDataRequest is sent by the client to request data of a structure.
|
|
2578
2590
|
packet_structure_template_data_export_request:
|
|
2579
2591
|
!id: 0x84
|
|
2580
|
-
!bound:
|
|
2592
|
+
!bound: server
|
|
2581
2593
|
# StructureName is the name of the structure that was set in the structure block's UI. This is the name
|
|
2582
2594
|
# used to export the structure to a file.
|
|
2583
2595
|
name: string
|
|
@@ -2617,7 +2629,7 @@ packet_update_block_properties:
|
|
|
2617
2629
|
# what blobs it needs and which blobs it already has, in an ACK type system.
|
|
2618
2630
|
packet_client_cache_blob_status:
|
|
2619
2631
|
!id: 0x87
|
|
2620
|
-
!bound:
|
|
2632
|
+
!bound: server
|
|
2621
2633
|
# The number of MISSes in this packet
|
|
2622
2634
|
misses: varint
|
|
2623
2635
|
# The number of HITs in this packet
|
|
@@ -2940,7 +2952,7 @@ ArmorDamageType: [ "bitflags",
|
|
|
2940
2952
|
# identical to the SetPlayerGameType packet.
|
|
2941
2953
|
packet_update_player_game_type:
|
|
2942
2954
|
!id: 0x97
|
|
2943
|
-
!bound:
|
|
2955
|
+
!bound: client
|
|
2944
2956
|
# GameType is the new game type of the player. It is one of the constants that can be found in
|
|
2945
2957
|
# set_player_game_type.go. Some of these game types require additional flags to be set in an
|
|
2946
2958
|
# AdventureSettings packet for the game mode to obtain its full functionality.
|
|
@@ -3120,7 +3132,7 @@ packet_item_component:
|
|
|
3120
3132
|
# safer version of the text.
|
|
3121
3133
|
packet_filter_text_packet:
|
|
3122
3134
|
!id: 0xa3
|
|
3123
|
-
!bound:
|
|
3135
|
+
!bound: both
|
|
3124
3136
|
# Text is either the text from the client or the safer version of the text sent by the server.
|
|
3125
3137
|
text: string
|
|
3126
3138
|
# FromServer indicates if the packet was sent by the server or not.
|
|
@@ -3186,6 +3198,7 @@ packet_simulation_type:
|
|
|
3186
3198
|
# NPCDialogue is a packet that allows the client to display dialog boxes for interacting with NPCs.
|
|
3187
3199
|
packet_npc_dialogue:
|
|
3188
3200
|
!id: 0xa9
|
|
3201
|
+
!bound: client
|
|
3189
3202
|
# ActorUniqueID is the ID of the NPC being requested.
|
|
3190
3203
|
entity_id: lu64
|
|
3191
3204
|
# ActionType is the type of action for the packet.
|
|
@@ -5013,7 +5013,17 @@
|
|
|
5013
5013
|
},
|
|
5014
5014
|
{
|
|
5015
5015
|
"name": "event_id",
|
|
5016
|
-
"type":
|
|
5016
|
+
"type": [
|
|
5017
|
+
"mapper",
|
|
5018
|
+
{
|
|
5019
|
+
"type": "u8",
|
|
5020
|
+
"mappings": {
|
|
5021
|
+
"1": "add",
|
|
5022
|
+
"2": "update",
|
|
5023
|
+
"3": "remove"
|
|
5024
|
+
}
|
|
5025
|
+
}
|
|
5026
|
+
]
|
|
5017
5027
|
},
|
|
5018
5028
|
{
|
|
5019
5029
|
"name": "effect_id",
|
|
@@ -5121,6 +5131,7 @@
|
|
|
5121
5131
|
"mappings": {
|
|
5122
5132
|
"3": "leave_vehicle",
|
|
5123
5133
|
"4": "mouse_over_entity",
|
|
5134
|
+
"5": "npc_open",
|
|
5124
5135
|
"6": "open_inventory"
|
|
5125
5136
|
}
|
|
5126
5137
|
}
|
|
@@ -5746,7 +5757,18 @@
|
|
|
5746
5757
|
[
|
|
5747
5758
|
{
|
|
5748
5759
|
"name": "event_type",
|
|
5749
|
-
"type":
|
|
5760
|
+
"type": [
|
|
5761
|
+
"mapper",
|
|
5762
|
+
{
|
|
5763
|
+
"type": "lu16",
|
|
5764
|
+
"mappings": {
|
|
5765
|
+
"0": "uninitialized_subtype",
|
|
5766
|
+
"1": "enable_commands",
|
|
5767
|
+
"2": "disable_commands",
|
|
5768
|
+
"3": "unlock_world_template_settings"
|
|
5769
|
+
}
|
|
5770
|
+
}
|
|
5771
|
+
]
|
|
5750
5772
|
}
|
|
5751
5773
|
]
|
|
5752
5774
|
],
|
|
@@ -7097,7 +7119,8 @@
|
|
|
7097
7119
|
"2": "execute_closing_commands",
|
|
7098
7120
|
"3": "set_name",
|
|
7099
7121
|
"4": "set_skin",
|
|
7100
|
-
"5": "set_interaction_text"
|
|
7122
|
+
"5": "set_interaction_text",
|
|
7123
|
+
"6": "execute_opening_commands"
|
|
7101
7124
|
}
|
|
7102
7125
|
}
|
|
7103
7126
|
]
|
|
@@ -7119,7 +7142,7 @@
|
|
|
7119
7142
|
"3": "set_name",
|
|
7120
7143
|
"4": "set_skin",
|
|
7121
7144
|
"5": "set_interact_text",
|
|
7122
|
-
"6": "
|
|
7145
|
+
"6": "execute_opening_commands"
|
|
7123
7146
|
}
|
|
7124
7147
|
}
|
|
7125
7148
|
]
|
|
@@ -7355,7 +7378,8 @@
|
|
|
7355
7378
|
"type": "u8",
|
|
7356
7379
|
"mappings": {
|
|
7357
7380
|
"0": "combine",
|
|
7358
|
-
"1": "react"
|
|
7381
|
+
"1": "react",
|
|
7382
|
+
"2": "reset"
|
|
7359
7383
|
}
|
|
7360
7384
|
}
|
|
7361
7385
|
]
|
|
@@ -7745,7 +7769,16 @@
|
|
|
7745
7769
|
},
|
|
7746
7770
|
{
|
|
7747
7771
|
"name": "action",
|
|
7748
|
-
"type":
|
|
7772
|
+
"type": [
|
|
7773
|
+
"mapper",
|
|
7774
|
+
{
|
|
7775
|
+
"type": "u8",
|
|
7776
|
+
"mappings": {
|
|
7777
|
+
"1": "none",
|
|
7778
|
+
"2": "close"
|
|
7779
|
+
}
|
|
7780
|
+
}
|
|
7781
|
+
]
|
|
7749
7782
|
},
|
|
7750
7783
|
{
|
|
7751
7784
|
"name": "resolution_x",
|
|
@@ -861,7 +861,10 @@ packet_mob_effect:
|
|
|
861
861
|
!id: 0x1c
|
|
862
862
|
!bound: client
|
|
863
863
|
runtime_entity_id: varint64
|
|
864
|
-
event_id: u8
|
|
864
|
+
event_id: u8 =>
|
|
865
|
+
1: add
|
|
866
|
+
2: update
|
|
867
|
+
3: remove
|
|
865
868
|
effect_id: zigzag32
|
|
866
869
|
amplifier: zigzag32
|
|
867
870
|
particles: bool
|
|
@@ -911,6 +914,7 @@ packet_interact:
|
|
|
911
914
|
action_id: u8 =>
|
|
912
915
|
3: leave_vehicle
|
|
913
916
|
4: mouse_over_entity
|
|
917
|
+
5: npc_open
|
|
914
918
|
6: open_inventory
|
|
915
919
|
# TargetEntityRuntimeID is the runtime ID of the entity that the player interacted with. This is empty
|
|
916
920
|
# for the InteractActionOpenInventory action type.
|
|
@@ -1327,7 +1331,11 @@ packet_player_list:
|
|
|
1327
1331
|
packet_simple_event:
|
|
1328
1332
|
!id: 0x40
|
|
1329
1333
|
!bound: client
|
|
1330
|
-
event_type: lu16
|
|
1334
|
+
event_type: lu16 =>
|
|
1335
|
+
0: uninitialized_subtype
|
|
1336
|
+
1: enable_commands
|
|
1337
|
+
2: disable_commands
|
|
1338
|
+
3: unlock_world_template_settings
|
|
1331
1339
|
|
|
1332
1340
|
# Event is sent by the server to send an event with additional data. It is typically sent to the client for
|
|
1333
1341
|
# telemetry reasons, much like the SimpleEvent packet.
|
|
@@ -2012,7 +2020,7 @@ packet_player_skin:
|
|
|
2012
2020
|
# connects sends a SubClientLogin to request their own login.
|
|
2013
2021
|
packet_sub_client_login:
|
|
2014
2022
|
!id: 0x5e
|
|
2015
|
-
!bound:
|
|
2023
|
+
!bound: server
|
|
2016
2024
|
# ConnectionRequest is a string containing information about the player and JWTs that may be used to
|
|
2017
2025
|
# verify if the player is connected to XBOX Live. The connection request also contains the necessary
|
|
2018
2026
|
# client public key to initiate encryption.
|
|
@@ -2042,7 +2050,7 @@ packet_set_last_hurt_by:
|
|
|
2042
2050
|
# player stops its typing 'session', rather than simply after closing the book.
|
|
2043
2051
|
packet_book_edit:
|
|
2044
2052
|
!id: 0x61
|
|
2045
|
-
!bound:
|
|
2053
|
+
!bound: server
|
|
2046
2054
|
type: u8 =>
|
|
2047
2055
|
0: replace_page
|
|
2048
2056
|
1: add_page
|
|
@@ -2085,6 +2093,7 @@ packet_npc_request:
|
|
|
2085
2093
|
3: set_name
|
|
2086
2094
|
4: set_skin
|
|
2087
2095
|
5: set_interaction_text
|
|
2096
|
+
6: execute_opening_commands
|
|
2088
2097
|
# CommandString is the command string set in the NPC. It may consist of multiple commands, depending on
|
|
2089
2098
|
# what the player set in it.
|
|
2090
2099
|
command: string
|
|
@@ -2096,7 +2105,7 @@ packet_npc_request:
|
|
|
2096
2105
|
3: set_name
|
|
2097
2106
|
4: set_skin
|
|
2098
2107
|
5: set_interact_text
|
|
2099
|
-
6:
|
|
2108
|
+
6: execute_opening_commands
|
|
2100
2109
|
# SceneName is the name of the scene.
|
|
2101
2110
|
scene_name: string
|
|
2102
2111
|
|
|
@@ -2188,7 +2197,7 @@ packet_show_profile:
|
|
|
2188
2197
|
# in the settings UI.
|
|
2189
2198
|
packet_set_default_game_type:
|
|
2190
2199
|
!id: 0x69
|
|
2191
|
-
!bound:
|
|
2200
|
+
!bound: server
|
|
2192
2201
|
# GameType is the new game type that is set. When sent by the client, this is the requested new default
|
|
2193
2202
|
# game type.
|
|
2194
2203
|
gamemode: GameMode
|
|
@@ -2260,6 +2269,7 @@ packet_lab_table:
|
|
|
2260
2269
|
action_type: u8 =>
|
|
2261
2270
|
0: combine
|
|
2262
2271
|
1: react
|
|
2272
|
+
2: reset
|
|
2263
2273
|
# Position is the position at which the lab table used was located.
|
|
2264
2274
|
position: vec3i
|
|
2265
2275
|
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
@@ -2515,7 +2525,7 @@ packet_level_event_generic:
|
|
|
2515
2525
|
# or if the book should be removed from it.
|
|
2516
2526
|
packet_lectern_update:
|
|
2517
2527
|
!id: 0x7d
|
|
2518
|
-
!bound:
|
|
2528
|
+
!bound: server
|
|
2519
2529
|
# Page is the page number in the book that was opened by the player on the lectern.
|
|
2520
2530
|
page: u8
|
|
2521
2531
|
# PageCount is the number of pages that the book opened in the lectern has.
|
|
@@ -2532,7 +2542,9 @@ packet_video_stream_connect:
|
|
|
2532
2542
|
!bound: client
|
|
2533
2543
|
server_uri: string
|
|
2534
2544
|
frame_send_frequency: lf32
|
|
2535
|
-
action: u8
|
|
2545
|
+
action: u8 =>
|
|
2546
|
+
1: none
|
|
2547
|
+
2: close
|
|
2536
2548
|
resolution_x: li32
|
|
2537
2549
|
resolution_y: li32
|
|
2538
2550
|
|
|
@@ -2593,7 +2605,7 @@ packet_map_create_locked_copy:
|
|
|
2593
2605
|
# StructureTemplateDataRequest is sent by the client to request data of a structure.
|
|
2594
2606
|
packet_structure_template_data_export_request:
|
|
2595
2607
|
!id: 0x84
|
|
2596
|
-
!bound:
|
|
2608
|
+
!bound: server
|
|
2597
2609
|
# StructureName is the name of the structure that was set in the structure block's UI. This is the name
|
|
2598
2610
|
# used to export the structure to a file.
|
|
2599
2611
|
name: string
|
|
@@ -2633,7 +2645,7 @@ packet_update_block_properties:
|
|
|
2633
2645
|
# what blobs it needs and which blobs it already has, in an ACK type system.
|
|
2634
2646
|
packet_client_cache_blob_status:
|
|
2635
2647
|
!id: 0x87
|
|
2636
|
-
!bound:
|
|
2648
|
+
!bound: server
|
|
2637
2649
|
# The number of MISSes in this packet
|
|
2638
2650
|
misses: varint
|
|
2639
2651
|
# The number of HITs in this packet
|
|
@@ -2969,7 +2981,7 @@ ArmorDamageType: [ "bitflags",
|
|
|
2969
2981
|
# identical to the SetPlayerGameType packet.
|
|
2970
2982
|
packet_update_player_game_type:
|
|
2971
2983
|
!id: 0x97
|
|
2972
|
-
!bound:
|
|
2984
|
+
!bound: client
|
|
2973
2985
|
# GameType is the new game type of the player. It is one of the constants that can be found in
|
|
2974
2986
|
# set_player_game_type.go. Some of these game types require additional flags to be set in an
|
|
2975
2987
|
# AdventureSettings packet for the game mode to obtain its full functionality.
|
|
@@ -3151,7 +3163,7 @@ packet_item_component:
|
|
|
3151
3163
|
# safer version of the text.
|
|
3152
3164
|
packet_filter_text_packet:
|
|
3153
3165
|
!id: 0xa3
|
|
3154
|
-
!bound:
|
|
3166
|
+
!bound: both
|
|
3155
3167
|
# Text is either the text from the client or the safer version of the text sent by the server.
|
|
3156
3168
|
text: string
|
|
3157
3169
|
# FromServer indicates if the packet was sent by the server or not.
|
|
@@ -3218,6 +3230,7 @@ packet_simulation_type:
|
|
|
3218
3230
|
# NPCDialogue is a packet that allows the client to display dialog boxes for interacting with NPCs.
|
|
3219
3231
|
packet_npc_dialogue:
|
|
3220
3232
|
!id: 0xa9
|
|
3233
|
+
!bound: client
|
|
3221
3234
|
# ActorUniqueID is the ID of the NPC being requested.
|
|
3222
3235
|
entity_id: lu64
|
|
3223
3236
|
# ActionType is the type of action for the packet.
|
|
@@ -3241,6 +3254,7 @@ packet_edu_uri_resource_packet:
|
|
|
3241
3254
|
# This packet only works on the Education Edition version of Minecraft.
|
|
3242
3255
|
packet_create_photo:
|
|
3243
3256
|
!id: 0xab
|
|
3257
|
+
!bound: client
|
|
3244
3258
|
# EntityUniqueID is the unique ID of the entity.
|
|
3245
3259
|
entity_unique_id: li64
|
|
3246
3260
|
# PhotoName is the name of the photo.
|
|
@@ -3251,6 +3265,7 @@ packet_create_photo:
|
|
|
3251
3265
|
# UpdateSubChunkBlocks is essentially just UpdateBlock packet, however for a set of blocks in a sub chunk.
|
|
3252
3266
|
packet_update_subchunk_blocks:
|
|
3253
3267
|
!id: 0xac
|
|
3268
|
+
!bound: client
|
|
3254
3269
|
# SubChunkX, SubChunkY, and SubChunkZ help identify the sub chunk.
|
|
3255
3270
|
x: zigzag32
|
|
3256
3271
|
y: zigzag32
|
|
@@ -3262,4 +3277,5 @@ packet_update_subchunk_blocks:
|
|
|
3262
3277
|
|
|
3263
3278
|
packet_photo_info_request:
|
|
3264
3279
|
!id: 0xad
|
|
3280
|
+
!bound: server
|
|
3265
3281
|
photo_id: zigzag64
|