minecraft-data 2.96.0 → 2.97.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 (40) hide show
  1. package/data.js +19 -0
  2. package/doc/history.md +3 -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 +9 -9
  6. package/minecraft-data/data/bedrock/1.16.201/protocol.json +5 -5
  7. package/minecraft-data/data/bedrock/1.16.210/proto.yml +9 -9
  8. package/minecraft-data/data/bedrock/1.16.210/protocol.json +5 -5
  9. package/minecraft-data/data/bedrock/1.16.220/proto.yml +9 -9
  10. package/minecraft-data/data/bedrock/1.16.220/protocol.json +5 -5
  11. package/minecraft-data/data/bedrock/1.17.0/proto.yml +9 -9
  12. package/minecraft-data/data/bedrock/1.17.0/protocol.json +5 -5
  13. package/minecraft-data/data/bedrock/1.17.10/proto.yml +9 -9
  14. package/minecraft-data/data/bedrock/1.17.10/protocol.json +5 -5
  15. package/minecraft-data/data/bedrock/1.17.30/proto.yml +9 -9
  16. package/minecraft-data/data/bedrock/1.17.30/protocol.json +5 -5
  17. package/minecraft-data/data/bedrock/1.17.40/proto.yml +3267 -0
  18. package/minecraft-data/data/bedrock/1.17.40/protocol.json +5 -5
  19. package/minecraft-data/data/bedrock/1.17.40/types.yml +1764 -0
  20. package/minecraft-data/data/bedrock/1.18.0/biomes.json +968 -0
  21. package/minecraft-data/data/bedrock/1.18.0/blockCollisionShapes.json +862 -0
  22. package/minecraft-data/data/bedrock/1.18.0/blockStates.json +157214 -0
  23. package/minecraft-data/data/bedrock/1.18.0/blocks.json +12506 -0
  24. package/minecraft-data/data/bedrock/1.18.0/blocksB2J.json +6845 -0
  25. package/minecraft-data/data/bedrock/1.18.0/blocksJ2B.json +20344 -0
  26. package/minecraft-data/data/bedrock/1.18.0/items.json +9565 -0
  27. package/minecraft-data/data/bedrock/1.18.0/protocol.json +9515 -0
  28. package/minecraft-data/data/bedrock/1.18.0/recipes.json +16648 -0
  29. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  30. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  31. package/minecraft-data/data/bedrock/latest/proto.yml +16 -10
  32. package/minecraft-data/data/dataPaths.json +19 -0
  33. package/minecraft-data/data/pc/1.16.2/protocol.json +2 -2
  34. package/minecraft-data/data/pc/1.17/protocol.json +2 -2
  35. package/minecraft-data/data/pc/1.17.1/protocol.json +2 -2
  36. package/minecraft-data/data/pc/common/protocolVersions.json +98 -0
  37. package/minecraft-data/doc/add-data-new-version.md +2 -0
  38. package/minecraft-data/doc/history.md +3 -0
  39. package/package.json +1 -1
  40. package/typings/index-template.d.ts +1 -1
@@ -55,5 +55,11 @@
55
55
  "minecraftVersion": "1.17.40",
56
56
  "majorVersion": "1.17",
57
57
  "releaseType": "release"
58
+ },
59
+ {
60
+ "version": 475,
61
+ "minecraftVersion": "1.18.0",
62
+ "majorVersion": "1.18",
63
+ "releaseType": "release"
58
64
  }
59
65
  ]
@@ -8,5 +8,6 @@
8
8
  "1.17.0",
9
9
  "1.17.10",
10
10
  "1.17.30",
11
- "1.17.40"
11
+ "1.17.40",
12
+ "1.18.0"
12
13
  ]
@@ -1,7 +1,7 @@
1
1
  # Created from MiNET and gophertunnel docs
2
2
  # The version below is the latest version this protocol schema was updated for.
3
3
  # The output protocol.json will be in the folder for the version
4
- !version: 1.17.40
4
+ !version: 1.18.0
5
5
 
6
6
  # Some ProtoDef aliases
7
7
  string: ["pstring",{"countType":"varint"}] # String / array types
@@ -187,7 +187,7 @@ packet_text:
187
187
  message: string
188
188
  if translation or popup or jukebox_popup:
189
189
  message: string
190
- paramaters: string[]varint
190
+ parameters: string[]varint
191
191
  # The XUID of the player who sent this message.
192
192
  xuid: string
193
193
  # PlatformChatID is an identifier only set for particular platforms when chatting (presumably only for
@@ -389,6 +389,8 @@ packet_start_game:
389
389
  server_authoritative_inventory: bool
390
390
  # The server's engine version, used for telemetry
391
391
  engine: string
392
+ # A checksum to ensure block types between the server and client match
393
+ block_pallete_checksum: lu64
392
394
 
393
395
  packet_add_player:
394
396
  !id: 0x0c
@@ -696,6 +698,7 @@ packet_level_event:
696
698
  3601: block_stop_break
697
699
  4000: set_data
698
700
  9800: players_sleeping
701
+ 9801: sleeping_players
699
702
  0x4000: add_particle_mask
700
703
  # 0x4000 | + particle ID
701
704
  16385: particle_bubble # 1
@@ -1557,7 +1560,7 @@ packet_show_credits:
1557
1560
  packet_available_commands:
1558
1561
  !id: 0x4c
1559
1562
  !bound: client
1560
- # The length of the enums for all the command paramaters in this packet
1563
+ # The length of the enums for all the command parameters in this packet
1561
1564
  values_len: varint
1562
1565
  # Not read from stream: instead calculated from the `values_len` field
1563
1566
  #
@@ -1567,7 +1570,7 @@ packet_available_commands:
1567
1570
  _enum_type: '["enum_size_based_on_values_len"]'
1568
1571
  # Here all the enum values for all of the possible commands are stored to one array palette
1569
1572
  enum_values: string[]$values_len
1570
- # Integer paramaters may sometimes have a prefix, such as the XP command:
1573
+ # Integer parameters may sometimes have a prefix, such as the XP command:
1571
1574
  # /xp <amount: int> [player: target] <- here, the xp command gives experience points
1572
1575
  # /xp <amount: int>L [player: target] <- here, the xp command gives experience levels
1573
1576
  # This is the palette of suffixes
@@ -1589,12 +1592,12 @@ packet_available_commands:
1589
1592
  flags: lu16
1590
1593
  permission_level: u8
1591
1594
  alias: li32
1592
- # The list of overload paramaters for this command
1595
+ # The list of overload parameters for this command
1593
1596
  overloads: []varint
1594
- # Each of the paramaters gets an array of posible overloads
1597
+ # Each of the parameters gets an array of posible overloads
1595
1598
  _: []varint
1596
- # The name of the paramater shown to the user (the `amount` in `/xp <amount: int>`)
1597
- paramater_name: string
1599
+ # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1600
+ parameter_name: string
1598
1601
  value_type: lu16 =>
1599
1602
  1: int
1600
1603
  2: float
@@ -1615,7 +1618,7 @@ packet_available_commands:
1615
1618
  0x20: enum
1616
1619
  0x100: suffixed
1617
1620
  0x400: soft_enum
1618
- # Is this paramater required?
1621
+ # Is this parameter required?
1619
1622
  optional: bool
1620
1623
  # Additinal options for this command (thanks macroshaft...)
1621
1624
  options: CommandFlags
@@ -1745,7 +1748,7 @@ packet_command_output:
1745
1748
  # Parameters is a list of parameters that serve to supply the message sent with additional information,
1746
1749
  # such as the position that a player was teleported to or the effect that was applied to an entity.
1747
1750
  # These parameters only apply for the Minecraft built-in command output.
1748
- paramaters: string[]varint
1751
+ parameters: string[]varint
1749
1752
  data_set: output_type ?
1750
1753
  if data_set: string
1751
1754
  default: void
@@ -3258,6 +3261,9 @@ packet_subchunk:
3258
3261
  3: too_low
3259
3262
  _: heightmap_type ?
3260
3263
  if has_data: '["buffer", { "count": 256 }]'
3264
+ cache_enabled: bool
3265
+ blob_id: cache_enabled ?
3266
+ if true: u64
3261
3267
 
3262
3268
  packet_subchunk_request:
3263
3269
  !id: 0xaf
@@ -1098,6 +1098,25 @@
1098
1098
  "steve": "bedrock/1.16.201",
1099
1099
  "blocksB2J": "bedrock/1.17.10",
1100
1100
  "blocksJ2B": "bedrock/1.17.10",
1101
+ "proto": "bedrock/1.17.40",
1102
+ "types": "bedrock/1.17.40"
1103
+ },
1104
+ "1.18.0": {
1105
+ "blocks": "bedrock/1.18.0",
1106
+ "blockStates": "bedrock/1.18.0",
1107
+ "blockCollisionShapes": "bedrock/1.18.0",
1108
+ "biomes": "bedrock/1.18.0",
1109
+ "items": "bedrock/1.18.0",
1110
+ "recipes": "bedrock/1.18.0",
1111
+ "instruments": "bedrock/1.17.0",
1112
+ "materials": "pc/1.17",
1113
+ "enchantments": "pc/1.17",
1114
+ "effects": "pc/1.17",
1115
+ "protocol": "bedrock/1.18.0",
1116
+ "windows": "bedrock/1.16.201",
1117
+ "steve": "bedrock/1.16.201",
1118
+ "blocksB2J": "bedrock/1.18.0",
1119
+ "blocksJ2B": "bedrock/1.18.0",
1101
1120
  "proto": "bedrock/latest",
1102
1121
  "types": "bedrock/latest"
1103
1122
  }
@@ -5065,8 +5065,8 @@
5065
5065
  "0x1b": "block_dig",
5066
5066
  "0x1c": "entity_action",
5067
5067
  "0x1d": "steer_vehicle",
5068
- "0x1e": "displayed_recipe",
5069
- "0x1f": "recipe_book",
5068
+ "0x1e": "recipe_book",
5069
+ "0x1f": "displayed_recipe",
5070
5070
  "0x20": "name_item",
5071
5071
  "0x21": "resource_pack_receive",
5072
5072
  "0x22": "advancement_tab",
@@ -5385,8 +5385,8 @@
5385
5385
  "0x1b": "entity_action",
5386
5386
  "0x1c": "steer_vehicle",
5387
5387
  "0x1d": "pong",
5388
- "0x1e": "displayed_recipe",
5389
- "0x1f": "recipe_book",
5388
+ "0x1e": "recipe_book",
5389
+ "0x1f": "displayed_recipe",
5390
5390
  "0x20": "name_item",
5391
5391
  "0x21": "resource_pack_receive",
5392
5392
  "0x22": "advancement_tab",
@@ -5416,8 +5416,8 @@
5416
5416
  "0x1b": "entity_action",
5417
5417
  "0x1c": "steer_vehicle",
5418
5418
  "0x1d": "pong",
5419
- "0x1e": "displayed_recipe",
5420
- "0x1f": "recipe_book",
5419
+ "0x1e": "recipe_book",
5420
+ "0x1f": "displayed_recipe",
5421
5421
  "0x20": "name_item",
5422
5422
  "0x21": "resource_pack_receive",
5423
5423
  "0x22": "advancement_tab",
@@ -1,4 +1,102 @@
1
1
  [
2
+ {
3
+ "minecraftVersion": "1.18.1-pre1",
4
+ "version": 1073741885,
5
+ "dataVersion": 2861,
6
+ "usesNetty": true,
7
+ "majorVersion": "1.18"
8
+ },
9
+ {
10
+ "minecraftVersion": "1.18",
11
+ "version": 757,
12
+ "dataVersion": 2860,
13
+ "usesNetty": true,
14
+ "majorVersion": "1.18"
15
+ },
16
+ {
17
+ "minecraftVersion": "1.18-rc4",
18
+ "version": 1073741884,
19
+ "dataVersion": 2859,
20
+ "usesNetty": true,
21
+ "majorVersion": "1.18"
22
+ },
23
+ {
24
+ "minecraftVersion": "1.18-rc3",
25
+ "version": 1073741883,
26
+ "dataVersion": 2858,
27
+ "usesNetty": true,
28
+ "majorVersion": "1.18"
29
+ },
30
+ {
31
+ "minecraftVersion": "1.18-rc2",
32
+ "version": 1073741882,
33
+ "dataVersion": 2857,
34
+ "usesNetty": true,
35
+ "majorVersion": "1.18"
36
+ },
37
+ {
38
+ "minecraftVersion": "1.18-rc1",
39
+ "version": 1073741881,
40
+ "dataVersion": 2856,
41
+ "usesNetty": true,
42
+ "majorVersion": "1.18"
43
+ },
44
+ {
45
+ "minecraftVersion": "1.18-pre8",
46
+ "version": 1073741880,
47
+ "dataVersion": 2855,
48
+ "usesNetty": true,
49
+ "majorVersion": "1.18"
50
+ },
51
+ {
52
+ "minecraftVersion": "1.18-pre7",
53
+ "version": 1073741879,
54
+ "dataVersion": 2854,
55
+ "usesNetty": true,
56
+ "majorVersion": "1.18"
57
+ },
58
+ {
59
+ "minecraftVersion": "1.18-pre6",
60
+ "version": 1073741878,
61
+ "dataVersion": 2853,
62
+ "usesNetty": true,
63
+ "majorVersion": "1.18"
64
+ },
65
+ {
66
+ "minecraftVersion": "1.18-pre5",
67
+ "version": 1073741877,
68
+ "dataVersion": 2851,
69
+ "usesNetty": true,
70
+ "majorVersion": "1.18"
71
+ },
72
+ {
73
+ "minecraftVersion": "1.18-pre4",
74
+ "version": 1073741876,
75
+ "dataVersion": 2850,
76
+ "usesNetty": true,
77
+ "majorVersion": "1.18"
78
+ },
79
+ {
80
+ "minecraftVersion": "1.18-pre3",
81
+ "version": 1073741875,
82
+ "dataVersion": 2849,
83
+ "usesNetty": true,
84
+ "majorVersion": "1.18"
85
+ },
86
+ {
87
+ "minecraftVersion": "1.18-pre2",
88
+ "version": 1073741874,
89
+ "dataVersion": 2848,
90
+ "usesNetty": true,
91
+ "majorVersion": "1.18"
92
+ },
93
+ {
94
+ "minecraftVersion": "1.18-pre1",
95
+ "version": 1073741873,
96
+ "dataVersion": 2847,
97
+ "usesNetty": true,
98
+ "majorVersion": "1.18"
99
+ },
2
100
  {
3
101
  "minecraftVersion": "21w44a",
4
102
  "version": 1073741872,
@@ -1,5 +1,7 @@
1
1
  # How to add data for a new version ?
2
2
 
3
+ For bedrock edition see [bedrock.md](bedrock.md)
4
+
3
5
  | file name | auto? | how to get it | notes |
4
6
  | -- | -- | -- | -- |
5
7
  | protocol.json | No | Follow [Pre-release Protocol][3] |
@@ -1,3 +1,6 @@
1
+ ## 2.97.0
2
+ * bedrock: Add 1.18.0 data (@extremeheat)
3
+
1
4
  ## 2.96.0
2
5
  * Add bedrock 1.17.40 protocol data (@extremeheat)
3
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "2.96.0",
3
+ "version": "2.97.0",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",
@@ -61,7 +61,7 @@ export interface IndexedData {
61
61
  biomes: { [id: number]: Biome; };
62
62
  biomesArray: Biome[];
63
63
 
64
- recipes: { [id: number]: Recipe; };
64
+ recipes: { [id: number]: Recipe[]; };
65
65
 
66
66
  instruments: { [id: number]: Instrument; };
67
67
  instrumentsArray: Instrument[];