minecraft-data 2.99.2 → 2.101.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 (53) hide show
  1. package/data.js +54 -8
  2. package/doc/api.md +14 -0
  3. package/doc/history.md +12 -0
  4. package/example.js +5 -0
  5. package/index.d.ts +18 -0
  6. package/lib/indexes.js +5 -1
  7. package/lib/loader.js +4 -0
  8. package/minecraft-data/.github/FUNDING.yml +0 -1
  9. package/minecraft-data/data/bedrock/1.16.201/proto.yml +27 -0
  10. package/minecraft-data/data/bedrock/1.16.201/protocol.json +40 -0
  11. package/minecraft-data/data/bedrock/1.16.210/proto.yml +27 -0
  12. package/minecraft-data/data/bedrock/1.16.210/protocol.json +40 -0
  13. package/minecraft-data/data/bedrock/1.16.220/proto.yml +27 -0
  14. package/minecraft-data/data/bedrock/1.16.220/protocol.json +40 -0
  15. package/minecraft-data/data/bedrock/1.17.0/proto.yml +27 -0
  16. package/minecraft-data/data/bedrock/1.17.0/protocol.json +40 -0
  17. package/minecraft-data/data/bedrock/1.17.10/blockCollisionShapes.json +303 -2572
  18. package/minecraft-data/data/bedrock/1.17.10/proto.yml +107 -80
  19. package/minecraft-data/data/bedrock/1.17.10/protocol.json +120 -80
  20. package/minecraft-data/data/bedrock/1.17.30/proto.yml +110 -83
  21. package/minecraft-data/data/bedrock/1.17.30/protocol.json +123 -83
  22. package/minecraft-data/data/bedrock/1.17.40/proto.yml +120 -93
  23. package/minecraft-data/data/bedrock/1.17.40/protocol.json +133 -93
  24. package/minecraft-data/data/bedrock/1.18.0/blockCollisionShapes.json +302 -302
  25. package/minecraft-data/data/bedrock/1.18.0/protocol.json +138 -93
  26. package/minecraft-data/data/bedrock/latest/proto.yml +123 -94
  27. package/minecraft-data/data/dataPaths.json +54 -8
  28. package/minecraft-data/data/pc/1.10/attributes.json +54 -0
  29. package/minecraft-data/data/pc/1.11/attributes.json +54 -0
  30. package/minecraft-data/data/pc/1.12/attributes.json +54 -0
  31. package/minecraft-data/data/pc/1.13/attributes.json +54 -0
  32. package/minecraft-data/data/pc/1.14/attributes.json +54 -0
  33. package/minecraft-data/data/pc/1.15/attributes.json +54 -0
  34. package/minecraft-data/data/pc/1.16/attributes.json +54 -0
  35. package/minecraft-data/data/pc/1.17/attributes.json +54 -0
  36. package/minecraft-data/data/pc/1.18/blockLoot.json +10058 -0
  37. package/minecraft-data/data/pc/1.18/blocks.json +30124 -0
  38. package/minecraft-data/data/pc/1.18/entities.json +1132 -0
  39. package/minecraft-data/data/pc/1.18/entityLoot.json +1148 -0
  40. package/minecraft-data/data/pc/1.18/items.json +7269 -0
  41. package/minecraft-data/data/pc/1.18/language.json +4814 -0
  42. package/minecraft-data/data/pc/1.18/particles.json +354 -0
  43. package/minecraft-data/data/pc/1.18/protocol.json +2 -2
  44. package/minecraft-data/data/pc/1.18/recipes.json +25127 -0
  45. package/minecraft-data/data/pc/1.7/attributes.json +30 -0
  46. package/minecraft-data/data/pc/1.8/attributes.json +50 -0
  47. package/minecraft-data/data/pc/1.9/attributes.json +54 -0
  48. package/minecraft-data/doc/bedrock.md +13 -0
  49. package/minecraft-data/doc/history.md +11 -0
  50. package/minecraft-data/schemas/attributes_schema.json +22 -0
  51. package/minecraft-data/tools/js/test/test.js +1 -1
  52. package/package.json +2 -2
  53. package/typings/index-template.d.ts +4 -0
@@ -3597,6 +3597,7 @@
3597
3597
  "135": "client_cache_blob_status",
3598
3598
  "136": "client_cache_miss_response",
3599
3599
  "137": "education_settings",
3600
+ "138": "emote",
3600
3601
  "139": "multiplayer_settings",
3601
3602
  "140": "settings_command",
3602
3603
  "141": "anvil_damage",
@@ -3609,6 +3610,7 @@
3609
3610
  "148": "item_stack_response",
3610
3611
  "149": "player_armor_damage",
3611
3612
  "151": "update_player_game_type",
3613
+ "152": "emote_list",
3612
3614
  "153": "position_tracking_db_broadcast",
3613
3615
  "154": "position_tracking_db_request",
3614
3616
  "156": "packet_violation_warning",
@@ -3776,6 +3778,7 @@
3776
3778
  "client_cache_blob_status": "packet_client_cache_blob_status",
3777
3779
  "client_cache_miss_response": "packet_client_cache_miss_response",
3778
3780
  "education_settings": "packet_education_settings",
3781
+ "emote": "packet_emote",
3779
3782
  "multiplayer_settings": "packet_multiplayer_settings",
3780
3783
  "settings_command": "packet_settings_command",
3781
3784
  "anvil_damage": "packet_anvil_damage",
@@ -3788,6 +3791,7 @@
3788
3791
  "item_stack_response": "packet_item_stack_response",
3789
3792
  "player_armor_damage": "packet_player_armor_damage",
3790
3793
  "update_player_game_type": "packet_update_player_game_type",
3794
+ "emote_list": "packet_emote_list",
3791
3795
  "position_tracking_db_request": "packet_position_tracking_db_request",
3792
3796
  "position_tracking_db_broadcast": "packet_position_tracking_db_broadcast",
3793
3797
  "packet_violation_warning": "packet_packet_violation_warning",
@@ -4944,86 +4948,86 @@
4944
4948
  "9800": "players_sleeping",
4945
4949
  "9801": "sleeping_players",
4946
4950
  "16384": "add_particle_mask",
4947
- "16385": "particle_bubble",
4948
- "16386": "particle_bubble_manual",
4949
- "16387": "particle_critical",
4950
- "16388": "particle_block_force_field",
4951
- "16389": "particle_smoke",
4952
- "16390": "particle_explode",
4953
- "16391": "particle_evaporation",
4954
- "16392": "particle_flame",
4955
- "16393": "particle_candle_flame",
4956
- "16394": "particle_lava",
4957
- "16395": "particle_large_smoke",
4958
- "16396": "particle_redstone",
4959
- "16397": "particle_rising_red_dust",
4960
- "16398": "particle_item_break",
4961
- "16399": "particle_snowball_poof",
4962
- "16400": "particle_huge_explode",
4963
- "16401": "particle_huge_explode_seed",
4964
- "16402": "particle_mob_flame",
4965
- "16403": "particle_heart",
4966
- "16404": "particle_terrain",
4967
- "16405": "particle_town_aura",
4968
- "16406": "particle_portal",
4969
- "16408": "particle_water_splash",
4970
- "16409": "particle_water_splash_manual",
4971
- "16410": "particle_water_wake",
4972
- "16411": "particle_drip_water",
4973
- "16412": "particle_drip_lava",
4974
- "16413": "particle_drip_honey",
4975
- "16414": "particle_stalactite_drip_water",
4976
- "16415": "particle_stalactite_drip_lava",
4977
- "16416": "particle_falling_dust",
4978
- "16417": "particle_mob_spell",
4979
- "16418": "particle_mob_spell_ambient",
4980
- "16419": "particle_mob_spell_instantaneous",
4981
- "16420": "particle_ink",
4982
- "16421": "particle_slime",
4983
- "16422": "particle_rain_splash",
4984
- "16423": "particle_villager_angry",
4985
- "16424": "particle_villager_happy",
4986
- "16425": "particle_enchantment_table",
4987
- "16426": "particle_tracking_emitter",
4988
- "16427": "particle_note",
4989
- "16428": "particle_witch_spell",
4990
- "16429": "particle_carrot",
4991
- "16430": "particle_mob_appearance",
4992
- "16431": "particle_end_rod",
4993
- "16432": "particle_dragons_breath",
4994
- "16433": "particle_spit",
4995
- "16434": "particle_totem",
4996
- "16435": "particle_food",
4997
- "16436": "particle_fireworks_starter",
4998
- "16437": "particle_fireworks_spark",
4999
- "16438": "particle_fireworks_overlay",
5000
- "16439": "particle_balloon_gas",
5001
- "16440": "particle_colored_flame",
5002
- "16441": "particle_sparkler",
5003
- "16442": "particle_conduit",
5004
- "16443": "particle_bubble_column_up",
5005
- "16444": "particle_bubble_column_down",
5006
- "16445": "particle_sneeze",
5007
- "16446": "particle_shulker_bullet",
5008
- "16447": "particle_bleach",
5009
- "16448": "particle_dragon_destroy_block",
5010
- "16449": "particle_mycelium_dust",
5011
- "16450": "particle_falling_red_dust",
5012
- "16451": "particle_campfire_smoke",
5013
- "16452": "particle_tall_campfire_smoke",
5014
- "16453": "particle_dragon_breath_fire",
5015
- "16454": "particle_dragon_breath_trail",
5016
- "16455": "particle_blue_flame",
5017
- "16456": "particle_soul",
5018
- "16457": "particle_obsidian_tear",
5019
- "16458": "particle_portal_reverse",
5020
- "16459": "particle_snowflake",
5021
- "16460": "particle_vibration_signal",
5022
- "16461": "particle_sculk_sensor_redstone",
5023
- "16462": "particle_spore_blossom_shower",
5024
- "16463": "particle_spore_blossom_ambient",
5025
- "16464": "particle_wax",
5026
- "16465": "particle_electric_spark"
4951
+ "16385": "add_particle_bubble",
4952
+ "16386": "add_particle_bubble_manual",
4953
+ "16387": "add_particle_critical",
4954
+ "16388": "add_particle_block_force_field",
4955
+ "16389": "add_particle_smoke",
4956
+ "16390": "add_particle_explode",
4957
+ "16391": "add_particle_evaporation",
4958
+ "16392": "add_particle_flame",
4959
+ "16393": "add_particle_candle_flame",
4960
+ "16394": "add_particle_lava",
4961
+ "16395": "add_particle_large_smoke",
4962
+ "16396": "add_particle_redstone",
4963
+ "16397": "add_particle_rising_red_dust",
4964
+ "16398": "add_particle_item_break",
4965
+ "16399": "add_particle_snowball_poof",
4966
+ "16400": "add_particle_huge_explode",
4967
+ "16401": "add_particle_huge_explode_seed",
4968
+ "16402": "add_particle_mob_flame",
4969
+ "16403": "add_particle_heart",
4970
+ "16404": "add_particle_terrain",
4971
+ "16405": "add_particle_town_aura",
4972
+ "16406": "add_particle_portal",
4973
+ "16408": "add_particle_water_splash",
4974
+ "16409": "add_particle_water_splash_manual",
4975
+ "16410": "add_particle_water_wake",
4976
+ "16411": "add_particle_drip_water",
4977
+ "16412": "add_particle_drip_lava",
4978
+ "16413": "add_particle_drip_honey",
4979
+ "16414": "add_particle_stalactite_drip_water",
4980
+ "16415": "add_particle_stalactite_drip_lava",
4981
+ "16416": "add_particle_falling_dust",
4982
+ "16417": "add_particle_mob_spell",
4983
+ "16418": "add_particle_mob_spell_ambient",
4984
+ "16419": "add_particle_mob_spell_instantaneous",
4985
+ "16420": "add_particle_ink",
4986
+ "16421": "add_particle_slime",
4987
+ "16422": "add_particle_rain_splash",
4988
+ "16423": "add_particle_villager_angry",
4989
+ "16424": "add_particle_villager_happy",
4990
+ "16425": "add_particle_enchantment_table",
4991
+ "16426": "add_particle_tracking_emitter",
4992
+ "16427": "add_particle_note",
4993
+ "16428": "add_particle_witch_spell",
4994
+ "16429": "add_particle_carrot",
4995
+ "16430": "add_particle_mob_appearance",
4996
+ "16431": "add_particle_end_rod",
4997
+ "16432": "add_particle_dragons_breath",
4998
+ "16433": "add_particle_spit",
4999
+ "16434": "add_particle_totem",
5000
+ "16435": "add_particle_food",
5001
+ "16436": "add_particle_fireworks_starter",
5002
+ "16437": "add_particle_fireworks_spark",
5003
+ "16438": "add_particle_fireworks_overlay",
5004
+ "16439": "add_particle_balloon_gas",
5005
+ "16440": "add_particle_colored_flame",
5006
+ "16441": "add_particle_sparkler",
5007
+ "16442": "add_particle_conduit",
5008
+ "16443": "add_particle_bubble_column_up",
5009
+ "16444": "add_particle_bubble_column_down",
5010
+ "16445": "add_particle_sneeze",
5011
+ "16446": "add_particle_shulker_bullet",
5012
+ "16447": "add_particle_bleach",
5013
+ "16448": "add_particle_dragon_destroy_block",
5014
+ "16449": "add_particle_mycelium_dust",
5015
+ "16450": "add_particle_falling_red_dust",
5016
+ "16451": "add_particle_campfire_smoke",
5017
+ "16452": "add_particle_tall_campfire_smoke",
5018
+ "16453": "add_particle_dragon_breath_fire",
5019
+ "16454": "add_particle_dragon_breath_trail",
5020
+ "16455": "add_particle_blue_flame",
5021
+ "16456": "add_particle_soul",
5022
+ "16457": "add_particle_obsidian_tear",
5023
+ "16458": "add_particle_portal_reverse",
5024
+ "16459": "add_particle_snowflake",
5025
+ "16460": "add_particle_vibration_signal",
5026
+ "16461": "add_particle_sculk_sensor_redstone",
5027
+ "16462": "add_particle_spore_blossom_shower",
5028
+ "16463": "add_particle_spore_blossom_ambient",
5029
+ "16464": "add_particle_wax",
5030
+ "16465": "add_particle_electric_spark"
5027
5031
  }
5028
5032
  }
5029
5033
  ]
@@ -8172,6 +8176,23 @@
8172
8176
  }
8173
8177
  ]
8174
8178
  ],
8179
+ "packet_emote": [
8180
+ "container",
8181
+ [
8182
+ {
8183
+ "name": "entity_id",
8184
+ "type": "varint64"
8185
+ },
8186
+ {
8187
+ "name": "emote_id",
8188
+ "type": "string"
8189
+ },
8190
+ {
8191
+ "name": "flags",
8192
+ "type": "u8"
8193
+ }
8194
+ ]
8195
+ ],
8175
8196
  "packet_multiplayer_settings": [
8176
8197
  "container",
8177
8198
  [
@@ -8634,6 +8655,25 @@
8634
8655
  }
8635
8656
  ]
8636
8657
  ],
8658
+ "packet_emote_list": [
8659
+ "container",
8660
+ [
8661
+ {
8662
+ "name": "player_id",
8663
+ "type": "varint64"
8664
+ },
8665
+ {
8666
+ "name": "emote_pieces",
8667
+ "type": [
8668
+ "array",
8669
+ {
8670
+ "countType": "varint",
8671
+ "type": "uuid"
8672
+ }
8673
+ ]
8674
+ }
8675
+ ]
8676
+ ],
8637
8677
  "packet_position_tracking_db_request": [
8638
8678
  "container",
8639
8679
  [
@@ -9053,15 +9093,15 @@
9053
9093
  [
9054
9094
  {
9055
9095
  "name": "x",
9056
- "type": "varint"
9096
+ "type": "zigzag32"
9057
9097
  },
9058
9098
  {
9059
9099
  "name": "y",
9060
- "type": "varint"
9100
+ "type": "zigzag32"
9061
9101
  },
9062
9102
  {
9063
9103
  "name": "z",
9064
- "type": "varint"
9104
+ "type": "zigzag32"
9065
9105
  },
9066
9106
  {
9067
9107
  "name": "blocks",
@@ -9099,19 +9139,19 @@
9099
9139
  [
9100
9140
  {
9101
9141
  "name": "dimension",
9102
- "type": "varint"
9142
+ "type": "zigzag32"
9103
9143
  },
9104
9144
  {
9105
9145
  "name": "x",
9106
- "type": "varint"
9146
+ "type": "zigzag32"
9107
9147
  },
9108
9148
  {
9109
9149
  "name": "y",
9110
- "type": "varint"
9150
+ "type": "zigzag32"
9111
9151
  },
9112
9152
  {
9113
9153
  "name": "z",
9114
- "type": "varint"
9154
+ "type": "zigzag32"
9115
9155
  },
9116
9156
  {
9117
9157
  "name": "data",
@@ -9122,7 +9162,7 @@
9122
9162
  "type": [
9123
9163
  "mapper",
9124
9164
  {
9125
- "type": "varint",
9165
+ "type": "zigzag32",
9126
9166
  "mappings": {
9127
9167
  "0": "undefined",
9128
9168
  "1": "success",
@@ -9150,7 +9190,7 @@
9150
9190
  ]
9151
9191
  },
9152
9192
  {
9153
- "anon": true,
9193
+ "name": "heightmap",
9154
9194
  "type": [
9155
9195
  "switch",
9156
9196
  {
@@ -9191,19 +9231,19 @@
9191
9231
  [
9192
9232
  {
9193
9233
  "name": "dimension",
9194
- "type": "varint"
9234
+ "type": "zigzag32"
9195
9235
  },
9196
9236
  {
9197
9237
  "name": "x",
9198
- "type": "varint"
9238
+ "type": "zigzag32"
9199
9239
  },
9200
9240
  {
9201
9241
  "name": "y",
9202
- "type": "varint"
9242
+ "type": "zigzag32"
9203
9243
  },
9204
9244
  {
9205
9245
  "name": "z",
9206
- "type": "varint"
9246
+ "type": "zigzag32"
9207
9247
  }
9208
9248
  ]
9209
9249
  ],
@@ -9433,6 +9473,11 @@
9433
9473
  "name": "as_chained_command",
9434
9474
  "size": 1,
9435
9475
  "signed": false
9476
+ },
9477
+ {
9478
+ "name": "unknown2",
9479
+ "size": 4,
9480
+ "signed": false
9436
9481
  }
9437
9482
  ]
9438
9483
  ],
@@ -701,86 +701,86 @@ packet_level_event:
701
701
  9801: sleeping_players
702
702
  0x4000: add_particle_mask
703
703
  # 0x4000 | + particle ID
704
- 16385: particle_bubble # 1
705
- 16386: particle_bubble_manual # 2
706
- 16387: particle_critical # 3
707
- 16388: particle_block_force_field # 4
708
- 16389: particle_smoke # 5
709
- 16390: particle_explode # 6
710
- 16391: particle_evaporation # 7
711
- 16392: particle_flame # 8
712
- 16393: particle_candle_flame # 9
713
- 16394: particle_lava # 10
714
- 16395: particle_large_smoke # 11
715
- 16396: particle_redstone # 12
716
- 16397: particle_rising_red_dust # 13
717
- 16398: particle_item_break # 14
718
- 16399: particle_snowball_poof # 15
719
- 16400: particle_huge_explode # 16
720
- 16401: particle_huge_explode_seed # 17
721
- 16402: particle_mob_flame # 18
722
- 16403: particle_heart # 19
723
- 16404: particle_terrain # 20
724
- 16405: particle_town_aura # 21
725
- 16406: particle_portal # 22
726
- 16408: particle_water_splash # 24
727
- 16409: particle_water_splash_manual # 25
728
- 16410: particle_water_wake # 26
729
- 16411: particle_drip_water # 27
730
- 16412: particle_drip_lava # 28
731
- 16413: particle_drip_honey # 29
732
- 16414: particle_stalactite_drip_water # 30
733
- 16415: particle_stalactite_drip_lava # 31
734
- 16416: particle_falling_dust # 32
735
- 16417: particle_mob_spell # 33
736
- 16418: particle_mob_spell_ambient # 34
737
- 16419: particle_mob_spell_instantaneous # 35
738
- 16420: particle_ink # 36
739
- 16421: particle_slime # 37
740
- 16422: particle_rain_splash # 38
741
- 16423: particle_villager_angry # 39
742
- 16424: particle_villager_happy # 40
743
- 16425: particle_enchantment_table # 41
744
- 16426: particle_tracking_emitter # 42
745
- 16427: particle_note # 43
746
- 16428: particle_witch_spell # 44
747
- 16429: particle_carrot # 45
748
- 16430: particle_mob_appearance # 46
749
- 16431: particle_end_rod # 47
750
- 16432: particle_dragons_breath # 48
751
- 16433: particle_spit # 49
752
- 16434: particle_totem # 50
753
- 16435: particle_food # 51
754
- 16436: particle_fireworks_starter # 52
755
- 16437: particle_fireworks_spark # 53
756
- 16438: particle_fireworks_overlay # 54
757
- 16439: particle_balloon_gas # 55
758
- 16440: particle_colored_flame # 56
759
- 16441: particle_sparkler # 57
760
- 16442: particle_conduit # 58
761
- 16443: particle_bubble_column_up # 59
762
- 16444: particle_bubble_column_down # 60
763
- 16445: particle_sneeze # 61
764
- 16446: particle_shulker_bullet # 62
765
- 16447: particle_bleach # 63
766
- 16448: particle_dragon_destroy_block # 64
767
- 16449: particle_mycelium_dust # 65
768
- 16450: particle_falling_red_dust # 66
769
- 16451: particle_campfire_smoke # 67
770
- 16452: particle_tall_campfire_smoke # 68
771
- 16453: particle_dragon_breath_fire # 69
772
- 16454: particle_dragon_breath_trail # 70
773
- 16455: particle_blue_flame # 71
774
- 16456: particle_soul # 72
775
- 16457: particle_obsidian_tear # 73
776
- 16458: particle_portal_reverse # 74
777
- 16459: particle_snowflake # 75
778
- 16460: particle_vibration_signal # 76
779
- 16461: particle_sculk_sensor_redstone # 77
780
- 16462: particle_spore_blossom_shower # 78
781
- 16463: particle_spore_blossom_ambient # 79
782
- 16464: particle_wax # 80
783
- 16465: particle_electric_spark # 81
704
+ 16385: add_particle_bubble # 1
705
+ 16386: add_particle_bubble_manual # 2
706
+ 16387: add_particle_critical # 3
707
+ 16388: add_particle_block_force_field # 4
708
+ 16389: add_particle_smoke # 5
709
+ 16390: add_particle_explode # 6
710
+ 16391: add_particle_evaporation # 7
711
+ 16392: add_particle_flame # 8
712
+ 16393: add_particle_candle_flame # 9
713
+ 16394: add_particle_lava # 10
714
+ 16395: add_particle_large_smoke # 11
715
+ 16396: add_particle_redstone # 12
716
+ 16397: add_particle_rising_red_dust # 13
717
+ 16398: add_particle_item_break # 14
718
+ 16399: add_particle_snowball_poof # 15
719
+ 16400: add_particle_huge_explode # 16
720
+ 16401: add_particle_huge_explode_seed # 17
721
+ 16402: add_particle_mob_flame # 18
722
+ 16403: add_particle_heart # 19
723
+ 16404: add_particle_terrain # 20
724
+ 16405: add_particle_town_aura # 21
725
+ 16406: add_particle_portal # 22
726
+ 16408: add_particle_water_splash # 24
727
+ 16409: add_particle_water_splash_manual # 25
728
+ 16410: add_particle_water_wake # 26
729
+ 16411: add_particle_drip_water # 27
730
+ 16412: add_particle_drip_lava # 28
731
+ 16413: add_particle_drip_honey # 29
732
+ 16414: add_particle_stalactite_drip_water # 30
733
+ 16415: add_particle_stalactite_drip_lava # 31
734
+ 16416: add_particle_falling_dust # 32
735
+ 16417: add_particle_mob_spell # 33
736
+ 16418: add_particle_mob_spell_ambient # 34
737
+ 16419: add_particle_mob_spell_instantaneous # 35
738
+ 16420: add_particle_ink # 36
739
+ 16421: add_particle_slime # 37
740
+ 16422: add_particle_rain_splash # 38
741
+ 16423: add_particle_villager_angry # 39
742
+ 16424: add_particle_villager_happy # 40
743
+ 16425: add_particle_enchantment_table # 41
744
+ 16426: add_particle_tracking_emitter # 42
745
+ 16427: add_particle_note # 43
746
+ 16428: add_particle_witch_spell # 44
747
+ 16429: add_particle_carrot # 45
748
+ 16430: add_particle_mob_appearance # 46
749
+ 16431: add_particle_end_rod # 47
750
+ 16432: add_particle_dragons_breath # 48
751
+ 16433: add_particle_spit # 49
752
+ 16434: add_particle_totem # 50
753
+ 16435: add_particle_food # 51
754
+ 16436: add_particle_fireworks_starter # 52
755
+ 16437: add_particle_fireworks_spark # 53
756
+ 16438: add_particle_fireworks_overlay # 54
757
+ 16439: add_particle_balloon_gas # 55
758
+ 16440: add_particle_colored_flame # 56
759
+ 16441: add_particle_sparkler # 57
760
+ 16442: add_particle_conduit # 58
761
+ 16443: add_particle_bubble_column_up # 59
762
+ 16444: add_particle_bubble_column_down # 60
763
+ 16445: add_particle_sneeze # 61
764
+ 16446: add_particle_shulker_bullet # 62
765
+ 16447: add_particle_bleach # 63
766
+ 16448: add_particle_dragon_destroy_block # 64
767
+ 16449: add_particle_mycelium_dust # 65
768
+ 16450: add_particle_falling_red_dust # 66
769
+ 16451: add_particle_campfire_smoke # 67
770
+ 16452: add_particle_tall_campfire_smoke # 68
771
+ 16453: add_particle_dragon_breath_fire # 69
772
+ 16454: add_particle_dragon_breath_trail # 70
773
+ 16455: add_particle_blue_flame # 71
774
+ 16456: add_particle_soul # 72
775
+ 16457: add_particle_obsidian_tear # 73
776
+ 16458: add_particle_portal_reverse # 74
777
+ 16459: add_particle_snowflake # 75
778
+ 16460: add_particle_vibration_signal # 76
779
+ 16461: add_particle_sculk_sensor_redstone # 77
780
+ 16462: add_particle_spore_blossom_shower # 78
781
+ 16463: add_particle_spore_blossom_ambient # 79
782
+ 16464: add_particle_wax # 80
783
+ 16465: add_particle_electric_spark # 81
784
784
  position: vec3f
785
785
  data: zigzag32
786
786
 
@@ -1643,10 +1643,11 @@ packet_available_commands:
1643
1643
  # with enums that have a big amount of options. To illustrate, it can make
1644
1644
  # <false|true|yes|no> <$Name: bool>.
1645
1645
  CommandFlags: [ "bitfield", [
1646
- { "name": "unused", "size": 1, "signed": false }, # 6 unused upper bits
1646
+ { "name": "unused", "size": 1, "signed": false },
1647
1647
  { "name": "collapse_enum", "size": 1, "signed": false },
1648
1648
  { "name": "has_semantic_constraint", "size": 1, "signed": false },
1649
1649
  { "name": "as_chained_command", "size": 1, "signed": false },
1650
+ { "name": "unknown2", "size": 4, "signed": false }, # 4 unused upper bits
1650
1651
  ]]
1651
1652
 
1652
1653
  # enum_size_based_on_values_len: native
@@ -2686,6 +2687,20 @@ packet_education_settings:
2686
2687
  url: string
2687
2688
  display_name: string
2688
2689
 
2690
+ # Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
2691
+ # the server, after which the server will broadcast the packet to other players online.
2692
+ packet_emote:
2693
+ !id: 0x8a
2694
+ !bound: both
2695
+ # EntityRuntimeID is the entity that sent the emote. When a player sends this packet, it has this field
2696
+ # set as its own entity runtime ID.
2697
+ entity_id: varint64
2698
+ # EmoteID is the ID of the emote to send.
2699
+ emote_id: string
2700
+ # Flags is a combination of flags that change the way the Emote packet operates. When the server sends
2701
+ # this packet to other players, EmoteFlagServerSide must be present.
2702
+ flags: u8
2703
+
2689
2704
  # MultiPlayerSettings is sent by the client to update multi-player related settings server-side and sent back
2690
2705
  # to online players by the server.
2691
2706
  # The MultiPlayerSettings packet is a Minecraft: Education Edition packet. It has no functionality for the
@@ -2967,6 +2982,20 @@ packet_update_player_game_type:
2967
2982
  player_unique_id: zigzag64
2968
2983
 
2969
2984
 
2985
+ # EmoteList is sent by the client every time it joins the server and when it equips new emotes. It may be
2986
+ # used by the server to find out which emotes the client has available. If the player has no emotes equipped,
2987
+ # this packet is not sent.
2988
+ # Under certain circumstances, this packet is also sent from the server to the client, but I was unable to
2989
+ # find when this is done.
2990
+ packet_emote_list:
2991
+ !id: 0x98
2992
+ !bound: server
2993
+ # PlayerRuntimeID is the runtime ID of the player that owns the emote pieces below. If sent by the
2994
+ # client, this player runtime ID is always that of the player itself.
2995
+ player_id: varint64
2996
+ # EmotePieces is a list of emote pieces that the player with the runtime ID above has.
2997
+ emote_pieces: uuid[]varint
2998
+
2970
2999
  # PositionTrackingDBClientRequest is a packet sent by the client to request the position and dimension of a
2971
3000
  # 'tracking ID'. These IDs are tracked in a database by the server. In 1.16, this is used for lodestones.
2972
3001
  # The client will send this request to find the position a lodestone compass needs to point to. If found, it
@@ -3227,9 +3256,9 @@ packet_create_photo:
3227
3256
  packet_update_subchunk_blocks:
3228
3257
  !id: 0xac
3229
3258
  # SubChunkX, SubChunkY, and SubChunkZ help identify the sub chunk.
3230
- x: varint
3231
- y: varint
3232
- z: varint
3259
+ x: zigzag32
3260
+ y: zigzag32
3261
+ z: zigzag32
3233
3262
  # Blocks contains each updated block change entry.
3234
3263
  blocks: BlockUpdate[]varint
3235
3264
  # Extra contains each updated block change entry for the second layer, usually for waterlogged blocks.
@@ -3241,13 +3270,13 @@ packet_photo_info_request:
3241
3270
 
3242
3271
  packet_subchunk:
3243
3272
  !id: 0xae
3244
- dimension: varint
3245
- x: varint
3246
- y: varint
3247
- z: varint
3273
+ dimension: zigzag32
3274
+ x: zigzag32
3275
+ y: zigzag32
3276
+ z: zigzag32
3248
3277
  # Data is the actual sub chunk data, such as the blocks.
3249
3278
  data: ByteArray
3250
- request_result: varint =>
3279
+ request_result: zigzag32 =>
3251
3280
  0: undefined
3252
3281
  1: success
3253
3282
  2: chunk_not_found
@@ -3259,7 +3288,7 @@ packet_subchunk:
3259
3288
  1: has_data
3260
3289
  2: too_high
3261
3290
  3: too_low
3262
- _: heightmap_type ?
3291
+ heightmap: heightmap_type ?
3263
3292
  if has_data: '["buffer", { "count": 256 }]'
3264
3293
  cache_enabled: bool
3265
3294
  blob_id: cache_enabled ?
@@ -3267,7 +3296,7 @@ packet_subchunk:
3267
3296
 
3268
3297
  packet_subchunk_request:
3269
3298
  !id: 0xaf
3270
- dimension: varint
3271
- x: varint
3272
- y: varint
3273
- z: varint
3299
+ dimension: zigzag32
3300
+ x: zigzag32
3301
+ y: zigzag32
3302
+ z: zigzag32