minecraft-data 3.36.0 → 3.37.0

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.
Files changed (73) hide show
  1. package/data.js +48 -0
  2. package/doc/history.md +8 -0
  3. package/index.d.ts +1 -1
  4. package/minecraft-data/README.md +1 -1
  5. package/minecraft-data/data/bedrock/1.16.201/proto.yml +38 -11
  6. package/minecraft-data/data/bedrock/1.16.201/protocol.json +60 -6
  7. package/minecraft-data/data/bedrock/1.16.210/proto.yml +38 -11
  8. package/minecraft-data/data/bedrock/1.16.210/protocol.json +60 -6
  9. package/minecraft-data/data/bedrock/1.16.220/proto.yml +23 -11
  10. package/minecraft-data/data/bedrock/1.16.220/protocol.json +38 -5
  11. package/minecraft-data/data/bedrock/1.17.0/proto.yml +23 -11
  12. package/minecraft-data/data/bedrock/1.17.0/protocol.json +38 -5
  13. package/minecraft-data/data/bedrock/1.17.10/proto.yml +25 -12
  14. package/minecraft-data/data/bedrock/1.17.10/protocol.json +39 -6
  15. package/minecraft-data/data/bedrock/1.17.30/proto.yml +28 -12
  16. package/minecraft-data/data/bedrock/1.17.30/protocol.json +39 -6
  17. package/minecraft-data/data/bedrock/1.17.40/proto.yml +28 -12
  18. package/minecraft-data/data/bedrock/1.17.40/protocol.json +39 -6
  19. package/minecraft-data/data/bedrock/1.18.0/proto.yml +28 -12
  20. package/minecraft-data/data/bedrock/1.18.0/protocol.json +39 -6
  21. package/minecraft-data/data/bedrock/1.18.11/proto.yml +29 -12
  22. package/minecraft-data/data/bedrock/1.18.11/protocol.json +39 -6
  23. package/minecraft-data/data/bedrock/1.18.30/proto.yml +29 -13
  24. package/minecraft-data/data/bedrock/1.18.30/protocol.json +39 -6
  25. package/minecraft-data/data/bedrock/1.19.1/proto.yml +30 -13
  26. package/minecraft-data/data/bedrock/1.19.1/protocol.json +39 -6
  27. package/minecraft-data/data/bedrock/1.19.10/proto.yml +30 -13
  28. package/minecraft-data/data/bedrock/1.19.10/protocol.json +39 -6
  29. package/minecraft-data/data/bedrock/1.19.20/proto.yml +30 -13
  30. package/minecraft-data/data/bedrock/1.19.20/protocol.json +39 -6
  31. package/minecraft-data/data/bedrock/1.19.21/proto.yml +30 -13
  32. package/minecraft-data/data/bedrock/1.19.21/protocol.json +39 -6
  33. package/minecraft-data/data/bedrock/1.19.30/proto.yml +32 -13
  34. package/minecraft-data/data/bedrock/1.19.30/protocol.json +39 -6
  35. package/minecraft-data/data/bedrock/1.19.40/proto.yml +32 -13
  36. package/minecraft-data/data/bedrock/1.19.40/protocol.json +39 -6
  37. package/minecraft-data/data/bedrock/1.19.50/proto.yml +32 -13
  38. package/minecraft-data/data/bedrock/1.19.50/protocol.json +39 -6
  39. package/minecraft-data/data/bedrock/1.19.60/proto.yml +32 -13
  40. package/minecraft-data/data/bedrock/1.19.60/protocol.json +39 -6
  41. package/minecraft-data/data/bedrock/1.19.62/proto.yml +32 -13
  42. package/minecraft-data/data/bedrock/1.19.62/protocol.json +39 -6
  43. package/minecraft-data/data/bedrock/1.19.70/proto.yml +32 -13
  44. package/minecraft-data/data/bedrock/1.19.70/protocol.json +39 -6
  45. package/minecraft-data/data/bedrock/1.19.80/proto.yml +32 -13
  46. package/minecraft-data/data/bedrock/1.19.80/protocol.json +39 -6
  47. package/minecraft-data/data/bedrock/1.20.0/protocol.json +40 -7
  48. package/minecraft-data/data/bedrock/latest/proto.yml +33 -14
  49. package/minecraft-data/data/dataPaths.json +49 -0
  50. package/minecraft-data/data/pc/1.20/biomes.json +642 -0
  51. package/minecraft-data/data/pc/1.20/blockCollisionShapes.json +122031 -0
  52. package/minecraft-data/data/pc/1.20/blockLoot.json +13199 -0
  53. package/minecraft-data/data/pc/1.20/blocks.json +34625 -0
  54. package/minecraft-data/data/pc/1.20/effects.json +200 -0
  55. package/minecraft-data/data/pc/1.20/enchantments.json +875 -0
  56. package/minecraft-data/data/pc/1.20/entities.json +1242 -0
  57. package/minecraft-data/data/pc/1.20/entityLoot.json +1234 -0
  58. package/minecraft-data/data/pc/1.20/foods.json +402 -0
  59. package/minecraft-data/data/pc/1.20/instruments.json +94 -0
  60. package/minecraft-data/data/pc/1.20/items.json +8249 -0
  61. package/minecraft-data/data/pc/1.20/language.json +6219 -0
  62. package/minecraft-data/data/pc/1.20/materials.json +154 -0
  63. package/minecraft-data/data/pc/1.20/particles.json +382 -0
  64. package/minecraft-data/data/pc/1.20/protocol.json +6744 -0
  65. package/minecraft-data/data/pc/1.20/recipes.json +40838 -0
  66. package/minecraft-data/data/pc/1.20/tints.json +447 -0
  67. package/minecraft-data/data/pc/1.20/version.json +5 -0
  68. package/minecraft-data/data/pc/1.20.1/version.json +5 -0
  69. package/minecraft-data/data/pc/common/protocolVersions.json +8 -0
  70. package/minecraft-data/data/pc/common/versions.json +3 -1
  71. package/minecraft-data/doc/history.md +7 -1
  72. package/minecraft-data/schemas/blocks_schema.json +1 -1
  73. package/package.json +1 -1
@@ -973,7 +973,10 @@ packet_mob_effect:
973
973
  !id: 0x1c
974
974
  !bound: client
975
975
  runtime_entity_id: varint64
976
- event_id: u8
976
+ event_id: u8 =>
977
+ 1: add
978
+ 2: update
979
+ 3: remove
977
980
  effect_id: zigzag32
978
981
  amplifier: zigzag32
979
982
  particles: bool
@@ -1023,6 +1026,7 @@ packet_interact:
1023
1026
  action_id: u8 =>
1024
1027
  3: leave_vehicle
1025
1028
  4: mouse_over_entity
1029
+ 5: npc_open
1026
1030
  6: open_inventory
1027
1031
  # TargetEntityRuntimeID is the runtime ID of the entity that the player interacted with. This is empty
1028
1032
  # for the InteractActionOpenInventory action type.
@@ -1441,7 +1445,11 @@ packet_player_list:
1441
1445
  packet_simple_event:
1442
1446
  !id: 0x40
1443
1447
  !bound: client
1444
- event_type: lu16
1448
+ event_type: lu16 =>
1449
+ 0: uninitialized_subtype
1450
+ 1: enable_commands
1451
+ 2: disable_commands
1452
+ 3: unlock_world_template_settings
1445
1453
 
1446
1454
  # Event is sent by the server to send an event with additional data. It is typically sent to the client for
1447
1455
  # telemetry reasons, much like the SimpleEvent packet.
@@ -2152,7 +2160,7 @@ packet_player_skin:
2152
2160
  # connects sends a SubClientLogin to request their own login.
2153
2161
  packet_sub_client_login:
2154
2162
  !id: 0x5e
2155
- !bound: client
2163
+ !bound: server
2156
2164
  # ConnectionRequest is a string containing information about the player and JWTs that may be used to
2157
2165
  # verify if the player is connected to XBOX Live. The connection request also contains the necessary
2158
2166
  # client public key to initiate encryption.
@@ -2182,7 +2190,7 @@ packet_set_last_hurt_by:
2182
2190
  # player stops its typing 'session', rather than simply after closing the book.
2183
2191
  packet_book_edit:
2184
2192
  !id: 0x61
2185
- !bound: client
2193
+ !bound: server
2186
2194
  type: u8 =>
2187
2195
  0: replace_page
2188
2196
  1: add_page
@@ -2225,6 +2233,7 @@ packet_npc_request:
2225
2233
  3: set_name
2226
2234
  4: set_skin
2227
2235
  5: set_interaction_text
2236
+ 6: execute_opening_commands
2228
2237
  # CommandString is the command string set in the NPC. It may consist of multiple commands, depending on
2229
2238
  # what the player set in it.
2230
2239
  command: string
@@ -2236,7 +2245,7 @@ packet_npc_request:
2236
2245
  3: set_name
2237
2246
  4: set_skin
2238
2247
  5: set_interact_text
2239
- 6: execute_openining_commands
2248
+ 6: execute_opening_commands
2240
2249
  # SceneName is the name of the scene.
2241
2250
  scene_name: string
2242
2251
 
@@ -2338,7 +2347,7 @@ packet_show_profile:
2338
2347
  # in the settings UI.
2339
2348
  packet_set_default_game_type:
2340
2349
  !id: 0x69
2341
- !bound: client
2350
+ !bound: server
2342
2351
  # GameType is the new game type that is set. When sent by the client, this is the requested new default
2343
2352
  # game type.
2344
2353
  gamemode: GameMode
@@ -2410,6 +2419,7 @@ packet_lab_table:
2410
2419
  action_type: u8 =>
2411
2420
  0: combine
2412
2421
  1: react
2422
+ 2: reset
2413
2423
  # Position is the position at which the lab table used was located.
2414
2424
  position: vec3i
2415
2425
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
@@ -2676,7 +2686,7 @@ packet_level_event_generic:
2676
2686
  # or if the book should be removed from it.
2677
2687
  packet_lectern_update:
2678
2688
  !id: 0x7d
2679
- !bound: client
2689
+ !bound: server
2680
2690
  # Page is the page number in the book that was opened by the player on the lectern.
2681
2691
  page: u8
2682
2692
  # PageCount is the number of pages that the book opened in the lectern has.
@@ -2693,7 +2703,9 @@ packet_video_stream_connect:
2693
2703
  !bound: client
2694
2704
  server_uri: string
2695
2705
  frame_send_frequency: lf32
2696
- action: u8
2706
+ action: u8 =>
2707
+ 1: none
2708
+ 2: close
2697
2709
  resolution_x: li32
2698
2710
  resolution_y: li32
2699
2711
 
@@ -2754,7 +2766,7 @@ packet_map_create_locked_copy:
2754
2766
  # StructureTemplateDataRequest is sent by the client to request data of a structure.
2755
2767
  packet_structure_template_data_export_request:
2756
2768
  !id: 0x84
2757
- !bound: client
2769
+ !bound: server
2758
2770
  # StructureName is the name of the structure that was set in the structure block's UI. This is the name
2759
2771
  # used to export the structure to a file.
2760
2772
  name: string
@@ -2796,7 +2808,7 @@ packet_update_block_properties:
2796
2808
  # what blobs it needs and which blobs it already has, in an ACK type system.
2797
2809
  packet_client_cache_blob_status:
2798
2810
  !id: 0x87
2799
- !bound: client
2811
+ !bound: server
2800
2812
  # The number of MISSes in this packet
2801
2813
  misses: varint
2802
2814
  # The number of HITs in this packet
@@ -3156,7 +3168,7 @@ ArmorDamageType: [ "bitflags",
3156
3168
  # identical to the SetPlayerGameType packet.
3157
3169
  packet_update_player_game_type:
3158
3170
  !id: 0x97
3159
- !bound: server
3171
+ !bound: client
3160
3172
  # GameType is the new game type of the player. It is one of the constants that can be found in
3161
3173
  # set_player_game_type.go. Some of these game types require additional flags to be set in an
3162
3174
  # AdventureSettings packet for the game mode to obtain its full functionality.
@@ -3339,7 +3351,7 @@ packet_item_component:
3339
3351
  # safer version of the text.
3340
3352
  packet_filter_text_packet:
3341
3353
  !id: 0xa3
3342
- !bound: client
3354
+ !bound: both
3343
3355
  # Text is either the text from the client or the safer version of the text sent by the server.
3344
3356
  text: string
3345
3357
  # FromServer indicates if the packet was sent by the server or not.
@@ -3415,6 +3427,7 @@ packet_simulation_type:
3415
3427
  # NPCDialogue is a packet that allows the client to display dialog boxes for interacting with NPCs.
3416
3428
  packet_npc_dialogue:
3417
3429
  !id: 0xa9
3430
+ !bound: client
3418
3431
  # ActorUniqueID is the ID of the NPC being requested.
3419
3432
  entity_id: lu64
3420
3433
  # ActionType is the type of action for the packet.
@@ -3438,6 +3451,7 @@ packet_edu_uri_resource_packet:
3438
3451
  # This packet only works on the Education Edition version of Minecraft.
3439
3452
  packet_create_photo:
3440
3453
  !id: 0xab
3454
+ !bound: client
3441
3455
  # EntityUniqueID is the unique ID of the entity.
3442
3456
  entity_unique_id: li64
3443
3457
  # PhotoName is the name of the photo.
@@ -3448,6 +3462,7 @@ packet_create_photo:
3448
3462
  # UpdateSubChunkBlocks is essentially just UpdateBlock packet, however for a set of blocks in a sub chunk.
3449
3463
  packet_update_subchunk_blocks:
3450
3464
  !id: 0xac
3465
+ !bound: client
3451
3466
  # SubChunkX, SubChunkY, and SubChunkZ help identify the sub chunk.
3452
3467
  x: zigzag32
3453
3468
  y: zigzag32
@@ -3459,6 +3474,7 @@ packet_update_subchunk_blocks:
3459
3474
 
3460
3475
  packet_photo_info_request:
3461
3476
  !id: 0xad
3477
+ !bound: server
3462
3478
  photo_id: zigzag64
3463
3479
 
3464
3480
  SubChunkEntryWithoutCaching: []lu32
@@ -3554,7 +3570,7 @@ packet_script_message:
3554
3570
  # CodeBuilderSource is an Education Edition packet sent by the client to the server to run an operation with a
3555
3571
  packet_code_builder_source:
3556
3572
  !id: 0xb2
3557
- !bound: client
3573
+ !bound: server
3558
3574
  # Operation is used to distinguish the operation performed. It is always one of the constants listed above.
3559
3575
  operation: u8 =>
3560
3576
  - none
@@ -3643,6 +3659,7 @@ packet_change_mob_property:
3643
3659
  # This packet only functions on the Minecraft: Education Edition version of the game.
3644
3660
  packet_lesson_progress:
3645
3661
  !id: 0xb7
3662
+ !bound: client
3646
3663
  # Action is the action the client should perform to show progress. This is one of the constants defined above.
3647
3664
  action: u8
3648
3665
  # Score is the score the client should use when displaying the progress.
@@ -3804,6 +3821,7 @@ packet_request_network_settings:
3804
3821
 
3805
3822
  packet_game_test_request:
3806
3823
  !id: 0xc2
3824
+ !bound: server
3807
3825
  # MaxTestsPerBatch ...
3808
3826
  max_tests_per_batch: varint
3809
3827
  # Repetitions represents the amount of times the test will be run.
@@ -3828,6 +3846,7 @@ packet_game_test_request:
3828
3846
  # test was successful or not, and an error string if the test failed.
3829
3847
  packet_game_test_results:
3830
3848
  !id: 0xc3
3849
+ !bound: client
3831
3850
  # Succeeded indicates whether the test succeeded or not.
3832
3851
  succeeded: bool
3833
3852
  # Error is the error that occurred. If Succeeded is true, this field is empty.
@@ -5786,7 +5786,17 @@
5786
5786
  },
5787
5787
  {
5788
5788
  "name": "event_id",
5789
- "type": "u8"
5789
+ "type": [
5790
+ "mapper",
5791
+ {
5792
+ "type": "u8",
5793
+ "mappings": {
5794
+ "1": "add",
5795
+ "2": "update",
5796
+ "3": "remove"
5797
+ }
5798
+ }
5799
+ ]
5790
5800
  },
5791
5801
  {
5792
5802
  "name": "effect_id",
@@ -5894,6 +5904,7 @@
5894
5904
  "mappings": {
5895
5905
  "3": "leave_vehicle",
5896
5906
  "4": "mouse_over_entity",
5907
+ "5": "npc_open",
5897
5908
  "6": "open_inventory"
5898
5909
  }
5899
5910
  }
@@ -6539,7 +6550,18 @@
6539
6550
  [
6540
6551
  {
6541
6552
  "name": "event_type",
6542
- "type": "lu16"
6553
+ "type": [
6554
+ "mapper",
6555
+ {
6556
+ "type": "lu16",
6557
+ "mappings": {
6558
+ "0": "uninitialized_subtype",
6559
+ "1": "enable_commands",
6560
+ "2": "disable_commands",
6561
+ "3": "unlock_world_template_settings"
6562
+ }
6563
+ }
6564
+ ]
6543
6565
  }
6544
6566
  ]
6545
6567
  ],
@@ -7948,7 +7970,8 @@
7948
7970
  "2": "execute_closing_commands",
7949
7971
  "3": "set_name",
7950
7972
  "4": "set_skin",
7951
- "5": "set_interaction_text"
7973
+ "5": "set_interaction_text",
7974
+ "6": "execute_opening_commands"
7952
7975
  }
7953
7976
  }
7954
7977
  ]
@@ -7970,7 +7993,7 @@
7970
7993
  "3": "set_name",
7971
7994
  "4": "set_skin",
7972
7995
  "5": "set_interact_text",
7973
- "6": "execute_openining_commands"
7996
+ "6": "execute_opening_commands"
7974
7997
  }
7975
7998
  }
7976
7999
  ]
@@ -8269,7 +8292,8 @@
8269
8292
  "type": "u8",
8270
8293
  "mappings": {
8271
8294
  "0": "combine",
8272
- "1": "react"
8295
+ "1": "react",
8296
+ "2": "reset"
8273
8297
  }
8274
8298
  }
8275
8299
  ]
@@ -8685,7 +8709,16 @@
8685
8709
  },
8686
8710
  {
8687
8711
  "name": "action",
8688
- "type": "u8"
8712
+ "type": [
8713
+ "mapper",
8714
+ {
8715
+ "type": "u8",
8716
+ "mappings": {
8717
+ "1": "none",
8718
+ "2": "close"
8719
+ }
8720
+ }
8721
+ ]
8689
8722
  },
8690
8723
  {
8691
8724
  "name": "resolution_x",
@@ -5796,7 +5796,17 @@
5796
5796
  },
5797
5797
  {
5798
5798
  "name": "event_id",
5799
- "type": "u8"
5799
+ "type": [
5800
+ "mapper",
5801
+ {
5802
+ "type": "u8",
5803
+ "mappings": {
5804
+ "1": "add",
5805
+ "2": "update",
5806
+ "3": "remove"
5807
+ }
5808
+ }
5809
+ ]
5800
5810
  },
5801
5811
  {
5802
5812
  "name": "effect_id",
@@ -5904,6 +5914,7 @@
5904
5914
  "mappings": {
5905
5915
  "3": "leave_vehicle",
5906
5916
  "4": "mouse_over_entity",
5917
+ "5": "npc_open",
5907
5918
  "6": "open_inventory"
5908
5919
  }
5909
5920
  }
@@ -6549,7 +6560,18 @@
6549
6560
  [
6550
6561
  {
6551
6562
  "name": "event_type",
6552
- "type": "lu16"
6563
+ "type": [
6564
+ "mapper",
6565
+ {
6566
+ "type": "lu16",
6567
+ "mappings": {
6568
+ "0": "uninitialized_subtype",
6569
+ "1": "enable_commands",
6570
+ "2": "disable_commands",
6571
+ "3": "unlock_world_template_settings"
6572
+ }
6573
+ }
6574
+ ]
6553
6575
  }
6554
6576
  ]
6555
6577
  ],
@@ -7959,7 +7981,8 @@
7959
7981
  "2": "execute_closing_commands",
7960
7982
  "3": "set_name",
7961
7983
  "4": "set_skin",
7962
- "5": "set_interaction_text"
7984
+ "5": "set_interaction_text",
7985
+ "6": "execute_opening_commands"
7963
7986
  }
7964
7987
  }
7965
7988
  ]
@@ -7981,7 +8004,7 @@
7981
8004
  "3": "set_name",
7982
8005
  "4": "set_skin",
7983
8006
  "5": "set_interact_text",
7984
- "6": "execute_openining_commands"
8007
+ "6": "execute_opening_commands"
7985
8008
  }
7986
8009
  }
7987
8010
  ]
@@ -8280,7 +8303,8 @@
8280
8303
  "type": "u8",
8281
8304
  "mappings": {
8282
8305
  "0": "combine",
8283
- "1": "react"
8306
+ "1": "react",
8307
+ "2": "reset"
8284
8308
  }
8285
8309
  }
8286
8310
  ]
@@ -8696,7 +8720,16 @@
8696
8720
  },
8697
8721
  {
8698
8722
  "name": "action",
8699
- "type": "u8"
8723
+ "type": [
8724
+ "mapper",
8725
+ {
8726
+ "type": "u8",
8727
+ "mappings": {
8728
+ "1": "none",
8729
+ "2": "close"
8730
+ }
8731
+ }
8732
+ ]
8700
8733
  },
8701
8734
  {
8702
8735
  "name": "resolution_x",
@@ -8997,7 +9030,7 @@
8997
9030
  },
8998
9031
  {
8999
9032
  "name": "platform_id",
9000
- "type": "DeviceOS"
9033
+ "type": "string"
9001
9034
  },
9002
9035
  {
9003
9036
  "name": "flags",
@@ -977,7 +977,10 @@ packet_mob_effect:
977
977
  !id: 0x1c
978
978
  !bound: client
979
979
  runtime_entity_id: varint64
980
- event_id: u8
980
+ event_id: u8 =>
981
+ 1: add
982
+ 2: update
983
+ 3: remove
981
984
  effect_id: zigzag32
982
985
  amplifier: zigzag32
983
986
  particles: bool
@@ -1027,6 +1030,7 @@ packet_interact:
1027
1030
  action_id: u8 =>
1028
1031
  3: leave_vehicle
1029
1032
  4: mouse_over_entity
1033
+ 5: npc_open
1030
1034
  6: open_inventory
1031
1035
  # TargetEntityRuntimeID is the runtime ID of the entity that the player interacted with. This is empty
1032
1036
  # for the InteractActionOpenInventory action type.
@@ -1445,7 +1449,11 @@ packet_player_list:
1445
1449
  packet_simple_event:
1446
1450
  !id: 0x40
1447
1451
  !bound: client
1448
- event_type: lu16
1452
+ event_type: lu16 =>
1453
+ 0: uninitialized_subtype
1454
+ 1: enable_commands
1455
+ 2: disable_commands
1456
+ 3: unlock_world_template_settings
1449
1457
 
1450
1458
  # Event is sent by the server to send an event with additional data. It is typically sent to the client for
1451
1459
  # telemetry reasons, much like the SimpleEvent packet.
@@ -2157,7 +2165,7 @@ packet_player_skin:
2157
2165
  # connects sends a SubClientLogin to request their own login.
2158
2166
  packet_sub_client_login:
2159
2167
  !id: 0x5e
2160
- !bound: client
2168
+ !bound: server
2161
2169
  # ConnectionRequest is a string containing information about the player and JWTs that may be used to
2162
2170
  # verify if the player is connected to XBOX Live. The connection request also contains the necessary
2163
2171
  # client public key to initiate encryption.
@@ -2187,7 +2195,7 @@ packet_set_last_hurt_by:
2187
2195
  # player stops its typing 'session', rather than simply after closing the book.
2188
2196
  packet_book_edit:
2189
2197
  !id: 0x61
2190
- !bound: client
2198
+ !bound: server
2191
2199
  type: u8 =>
2192
2200
  0: replace_page
2193
2201
  1: add_page
@@ -2230,6 +2238,7 @@ packet_npc_request:
2230
2238
  3: set_name
2231
2239
  4: set_skin
2232
2240
  5: set_interaction_text
2241
+ 6: execute_opening_commands
2233
2242
  # CommandString is the command string set in the NPC. It may consist of multiple commands, depending on
2234
2243
  # what the player set in it.
2235
2244
  command: string
@@ -2241,7 +2250,7 @@ packet_npc_request:
2241
2250
  3: set_name
2242
2251
  4: set_skin
2243
2252
  5: set_interact_text
2244
- 6: execute_openining_commands
2253
+ 6: execute_opening_commands
2245
2254
  # SceneName is the name of the scene.
2246
2255
  scene_name: string
2247
2256
 
@@ -2343,7 +2352,7 @@ packet_show_profile:
2343
2352
  # in the settings UI.
2344
2353
  packet_set_default_game_type:
2345
2354
  !id: 0x69
2346
- !bound: client
2355
+ !bound: server
2347
2356
  # GameType is the new game type that is set. When sent by the client, this is the requested new default
2348
2357
  # game type.
2349
2358
  gamemode: GameMode
@@ -2415,6 +2424,7 @@ packet_lab_table:
2415
2424
  action_type: u8 =>
2416
2425
  0: combine
2417
2426
  1: react
2427
+ 2: reset
2418
2428
  # Position is the position at which the lab table used was located.
2419
2429
  position: vec3i
2420
2430
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
@@ -2681,7 +2691,7 @@ packet_level_event_generic:
2681
2691
  # or if the book should be removed from it.
2682
2692
  packet_lectern_update:
2683
2693
  !id: 0x7d
2684
- !bound: client
2694
+ !bound: server
2685
2695
  # Page is the page number in the book that was opened by the player on the lectern.
2686
2696
  page: u8
2687
2697
  # PageCount is the number of pages that the book opened in the lectern has.
@@ -2698,7 +2708,9 @@ packet_video_stream_connect:
2698
2708
  !bound: client
2699
2709
  server_uri: string
2700
2710
  frame_send_frequency: lf32
2701
- action: u8
2711
+ action: u8 =>
2712
+ 1: none
2713
+ 2: close
2702
2714
  resolution_x: li32
2703
2715
  resolution_y: li32
2704
2716
 
@@ -2759,7 +2771,7 @@ packet_map_create_locked_copy:
2759
2771
  # StructureTemplateDataRequest is sent by the client to request data of a structure.
2760
2772
  packet_structure_template_data_export_request:
2761
2773
  !id: 0x84
2762
- !bound: client
2774
+ !bound: server
2763
2775
  # StructureName is the name of the structure that was set in the structure block's UI. This is the name
2764
2776
  # used to export the structure to a file.
2765
2777
  name: string
@@ -2801,7 +2813,7 @@ packet_update_block_properties:
2801
2813
  # what blobs it needs and which blobs it already has, in an ACK type system.
2802
2814
  packet_client_cache_blob_status:
2803
2815
  !id: 0x87
2804
- !bound: client
2816
+ !bound: server
2805
2817
  # The number of MISSes in this packet
2806
2818
  misses: varint
2807
2819
  # The number of HITs in this packet
@@ -2867,7 +2879,7 @@ packet_emote:
2867
2879
  xuid: string
2868
2880
  # PlatformID is an identifier only set for particular platforms when using an emote (presumably only for Nintendo
2869
2881
  # Switch). It is otherwise an empty string, and is used to decide which players are able to emote with each other.
2870
- platform_id: DeviceOS
2882
+ platform_id: string
2871
2883
  # Flags is a combination of flags that change the way the Emote packet operates. When the server sends
2872
2884
  # this packet to other players, EmoteFlagServerSide must be present.
2873
2885
  flags: u8 =>
@@ -3167,7 +3179,7 @@ ArmorDamageType: [ "bitflags",
3167
3179
  # identical to the SetPlayerGameType packet.
3168
3180
  packet_update_player_game_type:
3169
3181
  !id: 0x97
3170
- !bound: server
3182
+ !bound: client
3171
3183
  # GameType is the new game type of the player. It is one of the constants that can be found in
3172
3184
  # set_player_game_type.go. Some of these game types require additional flags to be set in an
3173
3185
  # AdventureSettings packet for the game mode to obtain its full functionality.
@@ -3350,7 +3362,7 @@ packet_item_component:
3350
3362
  # safer version of the text.
3351
3363
  packet_filter_text_packet:
3352
3364
  !id: 0xa3
3353
- !bound: client
3365
+ !bound: both
3354
3366
  # Text is either the text from the client or the safer version of the text sent by the server.
3355
3367
  text: string
3356
3368
  # FromServer indicates if the packet was sent by the server or not.
@@ -3426,6 +3438,7 @@ packet_simulation_type:
3426
3438
  # NPCDialogue is a packet that allows the client to display dialog boxes for interacting with NPCs.
3427
3439
  packet_npc_dialogue:
3428
3440
  !id: 0xa9
3441
+ !bound: client
3429
3442
  # ActorUniqueID is the ID of the NPC being requested.
3430
3443
  entity_id: lu64
3431
3444
  # ActionType is the type of action for the packet.
@@ -3449,6 +3462,7 @@ packet_edu_uri_resource_packet:
3449
3462
  # This packet only works on the Education Edition version of Minecraft.
3450
3463
  packet_create_photo:
3451
3464
  !id: 0xab
3465
+ !bound: client
3452
3466
  # EntityUniqueID is the unique ID of the entity.
3453
3467
  entity_unique_id: li64
3454
3468
  # PhotoName is the name of the photo.
@@ -3459,6 +3473,7 @@ packet_create_photo:
3459
3473
  # UpdateSubChunkBlocks is essentially just UpdateBlock packet, however for a set of blocks in a sub chunk.
3460
3474
  packet_update_subchunk_blocks:
3461
3475
  !id: 0xac
3476
+ !bound: client
3462
3477
  # SubChunkX, SubChunkY, and SubChunkZ help identify the sub chunk.
3463
3478
  x: zigzag32
3464
3479
  y: zigzag32
@@ -3470,6 +3485,7 @@ packet_update_subchunk_blocks:
3470
3485
 
3471
3486
  packet_photo_info_request:
3472
3487
  !id: 0xad
3488
+ !bound: server
3473
3489
  photo_id: zigzag64
3474
3490
 
3475
3491
  SubChunkEntryWithoutCaching: []lu32
@@ -3565,7 +3581,7 @@ packet_script_message:
3565
3581
  # CodeBuilderSource is an Education Edition packet sent by the client to the server to run an operation with a
3566
3582
  packet_code_builder_source:
3567
3583
  !id: 0xb2
3568
- !bound: client
3584
+ !bound: server
3569
3585
  # Operation is used to distinguish the operation performed. It is always one of the constants listed above.
3570
3586
  operation: u8 =>
3571
3587
  - none
@@ -3654,6 +3670,7 @@ packet_change_mob_property:
3654
3670
  # This packet only functions on the Minecraft: Education Edition version of the game.
3655
3671
  packet_lesson_progress:
3656
3672
  !id: 0xb7
3673
+ !bound: client
3657
3674
  # Action is the action the client should perform to show progress. This is one of the constants defined above.
3658
3675
  action: u8
3659
3676
  # Score is the score the client should use when displaying the progress.
@@ -3815,6 +3832,7 @@ packet_request_network_settings:
3815
3832
 
3816
3833
  packet_game_test_request:
3817
3834
  !id: 0xc2
3835
+ !bound: server
3818
3836
  # MaxTestsPerBatch ...
3819
3837
  max_tests_per_batch: varint
3820
3838
  # Repetitions represents the amount of times the test will be run.
@@ -3839,6 +3857,7 @@ packet_game_test_request:
3839
3857
  # test was successful or not, and an error string if the test failed.
3840
3858
  packet_game_test_results:
3841
3859
  !id: 0xc3
3860
+ !bound: client
3842
3861
  # Succeeded indicates whether the test succeeded or not.
3843
3862
  succeeded: bool
3844
3863
  # Error is the error that occurred. If Succeeded is true, this field is empty.
@@ -1200,6 +1200,55 @@
1200
1200
  "loginPacket": "pc/1.19.2",
1201
1201
  "tints": "pc/1.19.4",
1202
1202
  "mapIcons": "pc/1.16"
1203
+ },
1204
+ "1.20": {
1205
+ "attributes": "pc/1.17",
1206
+ "blocks": "pc/1.20",
1207
+ "blockCollisionShapes": "pc/1.20",
1208
+ "biomes": "pc/1.20",
1209
+ "effects": "pc/1.20",
1210
+ "items": "pc/1.20",
1211
+ "enchantments": "pc/1.20",
1212
+ "recipes": "pc/1.20",
1213
+ "instruments": "pc/1.20",
1214
+ "materials": "pc/1.20",
1215
+ "language": "pc/1.20",
1216
+ "entities": "pc/1.20",
1217
+ "protocol": "pc/1.20",
1218
+ "windows": "pc/1.16.1",
1219
+ "version": "pc/1.20",
1220
+ "foods": "pc/1.20",
1221
+ "particles": "pc/1.20",
1222
+ "blockLoot": "pc/1.20",
1223
+ "entityLoot": "pc/1.20",
1224
+ "loginPacket": "pc/1.19.2",
1225
+ "tints": "pc/1.20",
1226
+ "mapIcons": "pc/1.16"
1227
+ }
1228
+ ,
1229
+ "1.20.1": {
1230
+ "attributes": "pc/1.17",
1231
+ "blocks": "pc/1.20",
1232
+ "blockCollisionShapes": "pc/1.20",
1233
+ "biomes": "pc/1.20",
1234
+ "effects": "pc/1.20",
1235
+ "items": "pc/1.20",
1236
+ "enchantments": "pc/1.20",
1237
+ "recipes": "pc/1.20",
1238
+ "instruments": "pc/1.20",
1239
+ "materials": "pc/1.20",
1240
+ "language": "pc/1.20",
1241
+ "entities": "pc/1.20",
1242
+ "protocol": "pc/1.20",
1243
+ "windows": "pc/1.16.1",
1244
+ "version": "pc/1.20.1",
1245
+ "foods": "pc/1.20",
1246
+ "particles": "pc/1.20",
1247
+ "blockLoot": "pc/1.20",
1248
+ "entityLoot": "pc/1.20",
1249
+ "loginPacket": "pc/1.19.2",
1250
+ "tints": "pc/1.20",
1251
+ "mapIcons": "pc/1.16"
1203
1252
  }
1204
1253
  },
1205
1254
  "bedrock": {