minecraft-data 3.40.0 → 3.42.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.
Files changed (127) hide show
  1. package/data.js +82 -38
  2. package/doc/history.md +8 -0
  3. package/index.d.ts +24 -15
  4. package/minecraft-data/data/bedrock/1.16.201/attributes.json +107 -0
  5. package/minecraft-data/data/bedrock/1.16.201/language.json +8519 -0
  6. package/minecraft-data/data/bedrock/1.16.201/proto.yml +3 -3
  7. package/minecraft-data/data/bedrock/1.16.201/protocol.json +62 -54
  8. package/minecraft-data/data/bedrock/1.16.210/language.json +8529 -0
  9. package/minecraft-data/data/bedrock/1.16.210/proto.yml +4 -4
  10. package/minecraft-data/data/bedrock/1.16.210/protocol.json +62 -54
  11. package/minecraft-data/data/bedrock/1.16.220/language.json +8555 -0
  12. package/minecraft-data/data/bedrock/1.16.220/proto.yml +4 -4
  13. package/minecraft-data/data/bedrock/1.16.220/protocol.json +63 -55
  14. package/minecraft-data/data/bedrock/1.16.220/types.yml +1 -1
  15. package/minecraft-data/data/bedrock/1.17.0/language.json +8804 -0
  16. package/minecraft-data/data/bedrock/1.17.0/proto.yml +3 -3
  17. package/minecraft-data/data/bedrock/1.17.0/protocol.json +63 -55
  18. package/minecraft-data/data/bedrock/1.17.0/types.yml +1 -1
  19. package/minecraft-data/data/bedrock/1.17.10/language.json +8924 -0
  20. package/minecraft-data/data/bedrock/1.17.10/proto.yml +4 -4
  21. package/minecraft-data/data/bedrock/1.17.10/protocol.json +63 -55
  22. package/minecraft-data/data/bedrock/1.17.10/types.yml +1 -1
  23. package/minecraft-data/data/bedrock/1.17.30/language.json +9110 -0
  24. package/minecraft-data/data/bedrock/1.17.30/proto.yml +8 -7
  25. package/minecraft-data/data/bedrock/1.17.30/protocol.json +82 -56
  26. package/minecraft-data/data/bedrock/1.17.30/types.yml +1 -1
  27. package/minecraft-data/data/bedrock/1.17.40/language.json +9122 -0
  28. package/minecraft-data/data/bedrock/1.17.40/proto.yml +7 -6
  29. package/minecraft-data/data/bedrock/1.17.40/protocol.json +82 -56
  30. package/minecraft-data/data/bedrock/1.17.40/types.yml +1 -1
  31. package/minecraft-data/data/bedrock/1.18.0/language.json +9208 -0
  32. package/minecraft-data/data/bedrock/1.18.0/proto.yml +8 -7
  33. package/minecraft-data/data/bedrock/1.18.0/protocol.json +82 -56
  34. package/minecraft-data/data/bedrock/1.18.0/types.yml +1 -1
  35. package/minecraft-data/data/bedrock/1.18.11/language.json +9408 -0
  36. package/minecraft-data/data/bedrock/1.18.11/proto.yml +8 -7
  37. package/minecraft-data/data/bedrock/1.18.11/protocol.json +82 -56
  38. package/minecraft-data/data/bedrock/1.18.11/types.yml +1 -1
  39. package/minecraft-data/data/bedrock/1.18.30/language.json +9539 -0
  40. package/minecraft-data/data/bedrock/1.18.30/proto.yml +8 -7
  41. package/minecraft-data/data/bedrock/1.18.30/protocol.json +84 -58
  42. package/minecraft-data/data/bedrock/1.18.30/types.yml +1 -1
  43. package/minecraft-data/data/bedrock/1.19.1/language.json +9739 -0
  44. package/minecraft-data/data/bedrock/1.19.1/proto.yml +7 -6
  45. package/minecraft-data/data/bedrock/1.19.1/protocol.json +88 -62
  46. package/minecraft-data/data/bedrock/1.19.1/types.yml +1 -1
  47. package/minecraft-data/data/bedrock/1.19.10/language.json +9360 -0
  48. package/minecraft-data/data/bedrock/1.19.10/proto.yml +7 -6
  49. package/minecraft-data/data/bedrock/1.19.10/protocol.json +88 -62
  50. package/minecraft-data/data/bedrock/1.19.10/types.yml +1 -1
  51. package/minecraft-data/data/bedrock/1.19.20/language.json +9404 -0
  52. package/minecraft-data/data/bedrock/1.19.20/proto.yml +7 -6
  53. package/minecraft-data/data/bedrock/1.19.20/protocol.json +88 -62
  54. package/minecraft-data/data/bedrock/1.19.20/types.yml +1 -1
  55. package/minecraft-data/data/bedrock/1.19.21/proto.yml +7 -6
  56. package/minecraft-data/data/bedrock/1.19.21/protocol.json +88 -62
  57. package/minecraft-data/data/bedrock/1.19.21/types.yml +1 -1
  58. package/minecraft-data/data/bedrock/1.19.30/language.json +9462 -0
  59. package/minecraft-data/data/bedrock/1.19.30/proto.yml +7 -6
  60. package/minecraft-data/data/bedrock/1.19.30/protocol.json +88 -62
  61. package/minecraft-data/data/bedrock/1.19.30/types.yml +1 -1
  62. package/minecraft-data/data/bedrock/1.19.40/language.json +9471 -0
  63. package/minecraft-data/data/bedrock/1.19.40/proto.yml +7 -6
  64. package/minecraft-data/data/bedrock/1.19.40/protocol.json +88 -62
  65. package/minecraft-data/data/bedrock/1.19.40/types.yml +1 -1
  66. package/minecraft-data/data/bedrock/1.19.50/language.json +9489 -0
  67. package/minecraft-data/data/bedrock/1.19.50/proto.yml +8 -7
  68. package/minecraft-data/data/bedrock/1.19.50/protocol.json +88 -62
  69. package/minecraft-data/data/bedrock/1.19.50/types.yml +1 -1
  70. package/minecraft-data/data/bedrock/1.19.60/language.json +9544 -0
  71. package/minecraft-data/data/bedrock/1.19.60/proto.yml +8 -7
  72. package/minecraft-data/data/bedrock/1.19.60/protocol.json +88 -62
  73. package/minecraft-data/data/bedrock/1.19.60/types.yml +1 -1
  74. package/minecraft-data/data/bedrock/1.19.62/proto.yml +8 -7
  75. package/minecraft-data/data/bedrock/1.19.62/protocol.json +88 -62
  76. package/minecraft-data/data/bedrock/1.19.62/types.yml +1 -1
  77. package/minecraft-data/data/bedrock/1.19.70/language.json +9597 -0
  78. package/minecraft-data/data/bedrock/1.19.70/proto.yml +7 -6
  79. package/minecraft-data/data/bedrock/1.19.70/protocol.json +88 -62
  80. package/minecraft-data/data/bedrock/1.19.70/types.yml +1 -1
  81. package/minecraft-data/data/bedrock/1.19.80/language.json +9649 -0
  82. package/minecraft-data/data/bedrock/1.19.80/proto.yml +8 -7
  83. package/minecraft-data/data/bedrock/1.19.80/protocol.json +88 -62
  84. package/minecraft-data/data/bedrock/1.19.80/types.yml +1 -1
  85. package/minecraft-data/data/bedrock/1.20.0/biomes.json +1073 -0
  86. package/minecraft-data/data/bedrock/1.20.0/blockCollisionShapes.json +1015 -0
  87. package/minecraft-data/data/bedrock/1.20.0/blockStates.json +266796 -0
  88. package/minecraft-data/data/bedrock/1.20.0/blocks.json +15070 -0
  89. package/minecraft-data/data/bedrock/1.20.0/blocksB2J.json +8203 -0
  90. package/minecraft-data/data/bedrock/1.20.0/blocksJ2B.json +24137 -0
  91. package/minecraft-data/data/bedrock/1.20.0/items.json +10482 -0
  92. package/minecraft-data/data/bedrock/1.20.0/language.json +9858 -0
  93. package/minecraft-data/data/bedrock/1.20.0/proto.yml +8 -7
  94. package/minecraft-data/data/bedrock/1.20.0/protocol.json +88 -62
  95. package/minecraft-data/data/bedrock/1.20.0/types.yml +1 -1
  96. package/minecraft-data/data/bedrock/1.20.10/language.json +9904 -0
  97. package/minecraft-data/data/bedrock/1.20.10/protocol.json +23 -5
  98. package/minecraft-data/data/bedrock/common/features.json +5 -0
  99. package/minecraft-data/data/bedrock/latest/proto.yml +7 -6
  100. package/minecraft-data/data/bedrock/latest/types.yml +1 -1
  101. package/minecraft-data/data/dataPaths.json +83 -39
  102. package/minecraft-data/data/pc/1.10/attributes.json +53 -14
  103. package/minecraft-data/data/pc/1.11/attributes.json +53 -14
  104. package/minecraft-data/data/pc/1.12/attributes.json +53 -14
  105. package/minecraft-data/data/pc/1.13/attributes.json +53 -14
  106. package/minecraft-data/data/pc/1.14/attributes.json +53 -14
  107. package/minecraft-data/data/pc/1.15/attributes.json +53 -14
  108. package/minecraft-data/data/pc/1.16/attributes.json +53 -14
  109. package/minecraft-data/data/pc/1.17/attributes.json +53 -14
  110. package/minecraft-data/data/pc/1.19/protocol.json +13 -8
  111. package/minecraft-data/data/pc/1.19.2/protocol.json +13 -8
  112. package/minecraft-data/data/pc/1.19.3/protocol.json +14 -8
  113. package/minecraft-data/data/pc/1.19.4/protocol.json +19 -17
  114. package/minecraft-data/data/pc/1.20/protocol.json +22 -20
  115. package/minecraft-data/data/pc/1.7/attributes.json +28 -7
  116. package/minecraft-data/data/pc/1.8/attributes.json +49 -13
  117. package/minecraft-data/data/pc/1.9/attributes.json +53 -14
  118. package/minecraft-data/data/pc/common/features.json +5 -0
  119. package/minecraft-data/doc/bedrock.md +3 -1
  120. package/minecraft-data/doc/history.md +18 -0
  121. package/minecraft-data/schemas/attributes_schema.json +13 -1
  122. package/minecraft-data/schemas/blockLoot_schema.json +5 -2
  123. package/minecraft-data/schemas/entityLoot_schema.json +5 -2
  124. package/minecraft-data/schemas/language_schema.json +2 -2
  125. package/minecraft-data/schemas/particles_schema.json +3 -1
  126. package/package.json +2 -2
  127. package/typings/index-template.d.ts +3 -5
@@ -1632,7 +1632,7 @@ packet_available_commands:
1632
1632
  # The list of overload parameters for this command
1633
1633
  overloads: []varint
1634
1634
  # Each of the parameters gets an array of posible overloads
1635
- _: []varint
1635
+ parameters: []varint
1636
1636
  # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1637
1637
  parameter_name: string
1638
1638
  value_type: lu16 =>
@@ -1658,9 +1658,9 @@ packet_available_commands:
1658
1658
  # In MC, this + prior field are combined to one 32bit bitfield
1659
1659
  enum_type: lu16 =>
1660
1660
  0x10: valid
1661
- 0x20: enum
1661
+ 0x30: enum
1662
1662
  0x100: suffixed
1663
- 0x400: soft_enum
1663
+ 0x410: soft_enum
1664
1664
  # Is this parameter required?
1665
1665
  optional: bool
1666
1666
  # Additinal options for this command (thanks macroshaft...)
@@ -2734,9 +2734,10 @@ packet_education_settings:
2734
2734
  HasQuiz: bool
2735
2735
  has_external_link_settings: bool
2736
2736
  external_link_settings: has_external_link_settings ?
2737
- has: bool
2738
- url: string
2739
- display_name: string
2737
+ if true:
2738
+ has: bool
2739
+ url: string
2740
+ display_name: string
2740
2741
 
2741
2742
  # Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
2742
2743
  # the server, after which the server will broadcast the packet to other players online.
@@ -951,7 +951,7 @@
951
951
  },
952
952
  {
953
953
  "name": "hotbar_slot",
954
- "type": "varint"
954
+ "type": "zigzag32"
955
955
  },
956
956
  {
957
957
  "name": "held_item",
@@ -6644,72 +6644,80 @@
6644
6644
  {
6645
6645
  "countType": "varint",
6646
6646
  "type": [
6647
- "array",
6648
- {
6649
- "countType": "varint",
6650
- "type": [
6651
- "container",
6652
- [
6653
- {
6654
- "name": "parameter_name",
6655
- "type": "string"
6656
- },
6657
- {
6658
- "name": "value_type",
6659
- "type": [
6660
- "mapper",
6661
- {
6662
- "type": "lu16",
6663
- "mappings": {
6664
- "1": "int",
6665
- "3": "float",
6666
- "4": "value",
6667
- "5": "wildcard_int",
6668
- "6": "operator",
6669
- "7": "command_operator",
6670
- "8": "target",
6671
- "10": "wildcard_target",
6672
- "17": "file_path",
6673
- "23": "integer_range",
6674
- "38": "equipment_slots",
6675
- "39": "string",
6676
- "47": "block_position",
6677
- "48": "position",
6678
- "51": "message",
6679
- "53": "raw_text",
6680
- "57": "json",
6681
- "67": "block_states",
6682
- "70": "command"
6683
- }
6684
- }
6685
- ]
6686
- },
6647
+ "container",
6648
+ [
6649
+ {
6650
+ "name": "parameters",
6651
+ "type": [
6652
+ "array",
6687
6653
  {
6688
- "name": "enum_type",
6654
+ "countType": "varint",
6689
6655
  "type": [
6690
- "mapper",
6691
- {
6692
- "type": "lu16",
6693
- "mappings": {
6694
- "16": "valid",
6695
- "32": "enum",
6696
- "256": "suffixed",
6697
- "1024": "soft_enum"
6656
+ "container",
6657
+ [
6658
+ {
6659
+ "name": "parameter_name",
6660
+ "type": "string"
6661
+ },
6662
+ {
6663
+ "name": "value_type",
6664
+ "type": [
6665
+ "mapper",
6666
+ {
6667
+ "type": "lu16",
6668
+ "mappings": {
6669
+ "1": "int",
6670
+ "3": "float",
6671
+ "4": "value",
6672
+ "5": "wildcard_int",
6673
+ "6": "operator",
6674
+ "7": "command_operator",
6675
+ "8": "target",
6676
+ "10": "wildcard_target",
6677
+ "17": "file_path",
6678
+ "23": "integer_range",
6679
+ "38": "equipment_slots",
6680
+ "39": "string",
6681
+ "47": "block_position",
6682
+ "48": "position",
6683
+ "51": "message",
6684
+ "53": "raw_text",
6685
+ "57": "json",
6686
+ "67": "block_states",
6687
+ "70": "command"
6688
+ }
6689
+ }
6690
+ ]
6691
+ },
6692
+ {
6693
+ "name": "enum_type",
6694
+ "type": [
6695
+ "mapper",
6696
+ {
6697
+ "type": "lu16",
6698
+ "mappings": {
6699
+ "16": "valid",
6700
+ "48": "enum",
6701
+ "256": "suffixed",
6702
+ "1040": "soft_enum"
6703
+ }
6704
+ }
6705
+ ]
6706
+ },
6707
+ {
6708
+ "name": "optional",
6709
+ "type": "bool"
6710
+ },
6711
+ {
6712
+ "name": "options",
6713
+ "type": "CommandFlags"
6698
6714
  }
6699
- }
6715
+ ]
6700
6716
  ]
6701
- },
6702
- {
6703
- "name": "optional",
6704
- "type": "bool"
6705
- },
6706
- {
6707
- "name": "options",
6708
- "type": "CommandFlags"
6709
6717
  }
6710
6718
  ]
6711
- ]
6712
- }
6719
+ }
6720
+ ]
6713
6721
  ]
6714
6722
  }
6715
6723
  ]
@@ -8441,7 +8449,25 @@
8441
8449
  "switch",
8442
8450
  {
8443
8451
  "compareTo": "has_external_link_settings",
8444
- "fields": {},
8452
+ "fields": {
8453
+ "true": [
8454
+ "container",
8455
+ [
8456
+ {
8457
+ "name": "has",
8458
+ "type": "bool"
8459
+ },
8460
+ {
8461
+ "name": "url",
8462
+ "type": "string"
8463
+ },
8464
+ {
8465
+ "name": "display_name",
8466
+ "type": "string"
8467
+ }
8468
+ ]
8469
+ ]
8470
+ },
8445
8471
  "default": "void"
8446
8472
  }
8447
8473
  ]
@@ -486,7 +486,7 @@ TransactionUseItem:
486
486
  face: zigzag32
487
487
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
488
488
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
489
- hotbar_slot: varint
489
+ hotbar_slot: zigzag32
490
490
  # HeldItem is the item that was held to interact with the block. The server should check if this item
491
491
  # is actually present in the HotBarSlot.
492
492
  held_item: Item