minecraft-data 3.20.0 → 3.22.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 (31) hide show
  1. package/data.js +26 -1
  2. package/doc/history.md +8 -0
  3. package/index.d.ts +23 -0
  4. package/minecraft-data/README.md +5 -1
  5. package/minecraft-data/data/bedrock/1.19.1/blockMappings.json +433805 -0
  6. package/minecraft-data/data/dataPaths.json +26 -1
  7. package/minecraft-data/data/pc/1.19.2/loginPacket.json +5982 -0
  8. package/minecraft-data/data/pc/1.19.2/protocol.json +34 -40
  9. package/minecraft-data/data/pc/1.19.3/biomes.json +695 -0
  10. package/minecraft-data/data/pc/1.19.3/blockCollisionShapes.json +121408 -0
  11. package/minecraft-data/data/pc/1.19.3/blocks.json +35777 -0
  12. package/minecraft-data/data/pc/1.19.3/effects.json +200 -0
  13. package/minecraft-data/data/pc/1.19.3/enchantments.json +875 -0
  14. package/minecraft-data/data/pc/1.19.3/entities.json +1192 -0
  15. package/minecraft-data/data/pc/1.19.3/foods.json +402 -0
  16. package/minecraft-data/data/pc/1.19.3/instruments.json +94 -0
  17. package/minecraft-data/data/pc/1.19.3/items.json +7821 -0
  18. package/minecraft-data/data/pc/1.19.3/language.json +5822 -0
  19. package/minecraft-data/data/pc/1.19.3/materials.json +154 -0
  20. package/minecraft-data/data/pc/1.19.3/particles.json +374 -0
  21. package/minecraft-data/data/pc/1.19.3/recipes.json +27202 -0
  22. package/minecraft-data/data/pc/1.19.3/tints.json +429 -0
  23. package/minecraft-data/data/pc/1.19.3/version.json +5 -0
  24. package/minecraft-data/data/pc/common/features.json +5 -0
  25. package/minecraft-data/data/pc/common/versions.json +2 -1
  26. package/minecraft-data/doc/add-data-new-version.md +2 -1
  27. package/minecraft-data/doc/bedrock.md +1 -0
  28. package/minecraft-data/doc/history.md +10 -0
  29. package/minecraft-data/schemas/blockMappings_schema.json +44 -0
  30. package/minecraft-data/tools/js/test/test.js +1 -1
  31. package/package.json +1 -1
@@ -0,0 +1,429 @@
1
+ {
2
+ "grass": {
3
+ "data": [
4
+ {
5
+ "keys": [
6
+ "bamboo_jungle",
7
+ "basalt_deltas",
8
+ "beach",
9
+ "birch_forest",
10
+ "cold_ocean",
11
+ "crimson_forest",
12
+ "deep_cold_ocean",
13
+ "deep_dark",
14
+ "deep_frozen_ocean",
15
+ "deep_lukewarm_ocean",
16
+ "deep_ocean",
17
+ "desert",
18
+ "dripstone_caves",
19
+ "end_barrens",
20
+ "end_highlands",
21
+ "end_midlands",
22
+ "flower_forest",
23
+ "forest",
24
+ "frozen_ocean",
25
+ "frozen_peaks",
26
+ "frozen_river",
27
+ "grove",
28
+ "ice_spikes",
29
+ "jagged_peaks",
30
+ "jungle",
31
+ "lukewarm_ocean",
32
+ "lush_caves",
33
+ "meadow",
34
+ "mushroom_fields",
35
+ "nether_wastes",
36
+ "ocean",
37
+ "old_growth_birch_forest",
38
+ "old_growth_pine_taiga",
39
+ "old_growth_spruce_taiga",
40
+ "plains",
41
+ "river",
42
+ "savanna",
43
+ "savanna_plateau",
44
+ "small_end_islands",
45
+ "snowy_beach",
46
+ "snowy_plains",
47
+ "snowy_slopes",
48
+ "snowy_taiga",
49
+ "soul_sand_valley",
50
+ "sparse_jungle",
51
+ "stony_peaks",
52
+ "stony_shore",
53
+ "sunflower_plains",
54
+ "taiga",
55
+ "the_end",
56
+ "the_void",
57
+ "warm_ocean",
58
+ "warped_forest",
59
+ "windswept_forest",
60
+ "windswept_gravelly_hills",
61
+ "windswept_hills",
62
+ "windswept_savanna"
63
+ ],
64
+ "color": 0
65
+ },
66
+ {
67
+ "keys": [
68
+ "dark_forest"
69
+ ],
70
+ "color": 1317381
71
+ },
72
+ {
73
+ "keys": [
74
+ "mangrove_swamp",
75
+ "swamp"
76
+ ],
77
+ "color": 6975545
78
+ },
79
+ {
80
+ "keys": [
81
+ "badlands",
82
+ "eroded_badlands",
83
+ "wooded_badlands"
84
+ ],
85
+ "color": 9470285
86
+ }
87
+ ]
88
+ },
89
+ "foliage": {
90
+ "data": [
91
+ {
92
+ "keys": [
93
+ "bamboo_jungle",
94
+ "basalt_deltas",
95
+ "beach",
96
+ "birch_forest",
97
+ "cold_ocean",
98
+ "crimson_forest",
99
+ "dark_forest",
100
+ "deep_cold_ocean",
101
+ "deep_dark",
102
+ "deep_frozen_ocean",
103
+ "deep_lukewarm_ocean",
104
+ "deep_ocean",
105
+ "desert",
106
+ "dripstone_caves",
107
+ "end_barrens",
108
+ "end_highlands",
109
+ "end_midlands",
110
+ "flower_forest",
111
+ "forest",
112
+ "frozen_ocean",
113
+ "frozen_peaks",
114
+ "frozen_river",
115
+ "grove",
116
+ "ice_spikes",
117
+ "jagged_peaks",
118
+ "jungle",
119
+ "lukewarm_ocean",
120
+ "lush_caves",
121
+ "meadow",
122
+ "mushroom_fields",
123
+ "nether_wastes",
124
+ "ocean",
125
+ "old_growth_birch_forest",
126
+ "old_growth_pine_taiga",
127
+ "old_growth_spruce_taiga",
128
+ "plains",
129
+ "river",
130
+ "savanna",
131
+ "savanna_plateau",
132
+ "small_end_islands",
133
+ "snowy_beach",
134
+ "snowy_plains",
135
+ "snowy_slopes",
136
+ "snowy_taiga",
137
+ "soul_sand_valley",
138
+ "sparse_jungle",
139
+ "stony_peaks",
140
+ "stony_shore",
141
+ "sunflower_plains",
142
+ "taiga",
143
+ "the_end",
144
+ "the_void",
145
+ "warm_ocean",
146
+ "warped_forest",
147
+ "windswept_forest",
148
+ "windswept_gravelly_hills",
149
+ "windswept_hills",
150
+ "windswept_savanna"
151
+ ],
152
+ "color": 0
153
+ },
154
+ {
155
+ "keys": [
156
+ "swamp"
157
+ ],
158
+ "color": 6975545
159
+ },
160
+ {
161
+ "keys": [
162
+ "badlands",
163
+ "eroded_badlands",
164
+ "wooded_badlands"
165
+ ],
166
+ "color": 10387789
167
+ },
168
+ {
169
+ "keys": [
170
+ "mangrove_swamp"
171
+ ],
172
+ "color": 9285927
173
+ }
174
+ ]
175
+ },
176
+ "water": {
177
+ "data": [
178
+ {
179
+ "keys": [
180
+ "mangrove_swamp"
181
+ ],
182
+ "color": 3832426
183
+ },
184
+ {
185
+ "keys": [
186
+ "deep_frozen_ocean",
187
+ "frozen_ocean",
188
+ "frozen_river"
189
+ ],
190
+ "color": 3750089
191
+ },
192
+ {
193
+ "keys": [
194
+ "meadow"
195
+ ],
196
+ "color": 937679
197
+ },
198
+ {
199
+ "keys": [
200
+ "swamp"
201
+ ],
202
+ "color": 6388580
203
+ },
204
+ {
205
+ "keys": [
206
+ "deep_lukewarm_ocean",
207
+ "lukewarm_ocean"
208
+ ],
209
+ "color": 4566514
210
+ },
211
+ {
212
+ "keys": [
213
+ "cold_ocean",
214
+ "deep_cold_ocean",
215
+ "snowy_beach",
216
+ "snowy_taiga"
217
+ ],
218
+ "color": 4020182
219
+ },
220
+ {
221
+ "keys": [
222
+ "badlands",
223
+ "bamboo_jungle",
224
+ "basalt_deltas",
225
+ "beach",
226
+ "birch_forest",
227
+ "crimson_forest",
228
+ "dark_forest",
229
+ "deep_dark",
230
+ "deep_ocean",
231
+ "desert",
232
+ "dripstone_caves",
233
+ "end_barrens",
234
+ "end_highlands",
235
+ "end_midlands",
236
+ "eroded_badlands",
237
+ "flower_forest",
238
+ "forest",
239
+ "frozen_peaks",
240
+ "grove",
241
+ "ice_spikes",
242
+ "jagged_peaks",
243
+ "jungle",
244
+ "lush_caves",
245
+ "mushroom_fields",
246
+ "nether_wastes",
247
+ "ocean",
248
+ "old_growth_birch_forest",
249
+ "old_growth_pine_taiga",
250
+ "old_growth_spruce_taiga",
251
+ "plains",
252
+ "river",
253
+ "savanna",
254
+ "savanna_plateau",
255
+ "small_end_islands",
256
+ "snowy_plains",
257
+ "snowy_slopes",
258
+ "soul_sand_valley",
259
+ "sparse_jungle",
260
+ "stony_peaks",
261
+ "stony_shore",
262
+ "sunflower_plains",
263
+ "taiga",
264
+ "the_end",
265
+ "the_void",
266
+ "warped_forest",
267
+ "windswept_forest",
268
+ "windswept_gravelly_hills",
269
+ "windswept_hills",
270
+ "windswept_savanna",
271
+ "wooded_badlands"
272
+ ],
273
+ "color": 4159204
274
+ },
275
+ {
276
+ "keys": [
277
+ "warm_ocean"
278
+ ],
279
+ "color": 4445678
280
+ }
281
+ ]
282
+ },
283
+ "redstone": {
284
+ "data": [
285
+ {
286
+ "keys": [
287
+ 0
288
+ ],
289
+ "color": 4980736
290
+ },
291
+ {
292
+ "keys": [
293
+ 1
294
+ ],
295
+ "color": 7340032
296
+ },
297
+ {
298
+ "keys": [
299
+ 2
300
+ ],
301
+ "color": 7995392
302
+ },
303
+ {
304
+ "keys": [
305
+ 3
306
+ ],
307
+ "color": 8650752
308
+ },
309
+ {
310
+ "keys": [
311
+ 4
312
+ ],
313
+ "color": 9306112
314
+ },
315
+ {
316
+ "keys": [
317
+ 5
318
+ ],
319
+ "color": 10027008
320
+ },
321
+ {
322
+ "keys": [
323
+ 6
324
+ ],
325
+ "color": 10682368
326
+ },
327
+ {
328
+ "keys": [
329
+ 7
330
+ ],
331
+ "color": 11337728
332
+ },
333
+ {
334
+ "keys": [
335
+ 8
336
+ ],
337
+ "color": 11993088
338
+ },
339
+ {
340
+ "keys": [
341
+ 9
342
+ ],
343
+ "color": 12648448
344
+ },
345
+ {
346
+ "keys": [
347
+ 10
348
+ ],
349
+ "color": 13369344
350
+ },
351
+ {
352
+ "keys": [
353
+ 11
354
+ ],
355
+ "color": 14024704
356
+ },
357
+ {
358
+ "keys": [
359
+ 12
360
+ ],
361
+ "color": 14680064
362
+ },
363
+ {
364
+ "keys": [
365
+ 13
366
+ ],
367
+ "color": 15336960
368
+ },
369
+ {
370
+ "keys": [
371
+ 14
372
+ ],
373
+ "color": 15997696
374
+ },
375
+ {
376
+ "keys": [
377
+ 15
378
+ ],
379
+ "color": 16724480
380
+ }
381
+ ]
382
+ },
383
+ "constant": {
384
+ "data": [
385
+ {
386
+ "keys": [
387
+ "birch_leaves"
388
+ ],
389
+ "color": 8431445
390
+ },
391
+ {
392
+ "keys": [
393
+ "attached_pumpkin_stem"
394
+ ],
395
+ "color": 14731036
396
+ },
397
+ {
398
+ "keys": [
399
+ "melon_stem"
400
+ ],
401
+ "color": 65280
402
+ },
403
+ {
404
+ "keys": [
405
+ "pumpkin_stem"
406
+ ],
407
+ "color": 65280
408
+ },
409
+ {
410
+ "keys": [
411
+ "spruce_leaves"
412
+ ],
413
+ "color": 6396257
414
+ },
415
+ {
416
+ "keys": [
417
+ "lily_pad"
418
+ ],
419
+ "color": 2129968
420
+ },
421
+ {
422
+ "keys": [
423
+ "attached_melon_stem"
424
+ ],
425
+ "color": 14731036
426
+ }
427
+ ]
428
+ }
429
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "minecraftVersion": "1.19.3",
3
+ "version": 761,
4
+ "majorVersion": "1.19"
5
+ }
@@ -681,5 +681,10 @@
681
681
  "name": "consolidatedEntitySpawnPacket",
682
682
  "description": "One packet to add living and non-living entities",
683
683
  "versions": ["1.19", "latest"]
684
+ },
685
+ {
686
+ "name": "chainedChatWithHashing",
687
+ "description": "Signed messages are ordered and depend on previous messages, and message payloads are hashed before generating a signature",
688
+ "versions": ["1.19.2", "latest"]
684
689
  }
685
690
  ]
@@ -49,5 +49,6 @@
49
49
  "1.18.1",
50
50
  "1.18.2",
51
51
  "1.19",
52
- "1.19.2"
52
+ "1.19.2",
53
+ "1.19.3"
53
54
  ]
@@ -24,7 +24,7 @@ For bedrock edition see [bedrock.md](bedrock.md)
24
24
  | entityLoot.json | Yes | Use [minecraft-jar-extractor][10] |
25
25
  | mapIcons.json | No | Icons can be found in the Minecraft jar file where they are added as a single sprite. The file location is `/assets/minecraft/textures/map/map_icons.png`. Alternatively you might be able to look up the icons from the following page on the [Minecraft wiki][15] or from [wiki.vg][16]. | [minecraft-data pr mapIcons][14] |
26
26
 
27
- * All files that say Yes for auto can be gotten from [minecraft-data-auto-updater][17]
27
+ * All files that say Yes for auto can be gotten from [minecraft-data-auto-updater][17] (that uses [minecraft-data-generator-server][20]). This is the preferred way to extract the data.
28
28
 
29
29
  [1]: https://github.com/Pokechu22/Burger
30
30
  [2]: https://github.com/PrismarineJS/burger-extractor
@@ -45,4 +45,5 @@ For bedrock edition see [bedrock.md](bedrock.md)
45
45
  [17]: https://github.com/PrismarineJS/minecraft-data-auto-updater
46
46
  [18]: https://github.com/PrismarineJS/minecraft-data/pull/282#issue-612896577
47
47
  [19]: https://github.com/PrismarineJS/minecraft-data/issues/412#issuecomment-1008202471
48
+ [20]: https://github.com/PrismarineJS/minecraft-data-generator-server
48
49
 
@@ -6,6 +6,7 @@
6
6
  |-|-|-|-|
7
7
  | blockStates.json | Contains the global block palette for a Minecraft version. <br>Contains all of the possible block states. <br><br><br>The index of a Block State instance here is the paletted ID, <br>which can be used to idenfify this block state<br>instead of a string. | [bedrock-extractor][1] ("BlockStates.json" file) | |
8
8
  | steve.json | Skin data for clients connecting to BE servers, for default Steve character | [bedrock-protocol][2] (capture from proxy) | |
9
+ | blockMappings.json | Output of bedrock-extractor |
9
10
 
10
11
  ### Updating protocol data
11
12
 
@@ -1,3 +1,13 @@
1
+ ## 3.22.0
2
+
3
+ * 1.19.3 support (@frej4189)
4
+ * Add seed to entity-sound-effect (@u9g)
5
+ * Add 1.19 block mappings with new schema (@extremeheat)
6
+
7
+ ## 3.21.0
8
+
9
+ * 1.19.1 fixes (@extremeheat)
10
+
1
11
  ## 3.20.0
2
12
  * bedrock : add 1.19.50 protocol data (@WillQizza)
3
13
 
@@ -0,0 +1,44 @@
1
+ {
2
+ "type": "array",
3
+ "items": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "pc": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string"
12
+ },
13
+ "states": {
14
+ "type": "object"
15
+ }
16
+ },
17
+ "required": [
18
+ "name",
19
+ "states"
20
+ ]
21
+ },
22
+ "pe": {
23
+ "type": "object",
24
+ "properties": {
25
+ "name": {
26
+ "type": "string"
27
+ },
28
+ "states": {
29
+ "type": "object"
30
+ }
31
+ },
32
+ "required": [
33
+ "name",
34
+ "states"
35
+ ]
36
+ }
37
+ },
38
+ "required": [
39
+ "pc",
40
+ "pe"
41
+ ]
42
+ }
43
+ ]
44
+ }
@@ -11,7 +11,7 @@ const Validator = require('protodef-validator')
11
11
 
12
12
  Error.stackTraceLimit = 0
13
13
 
14
- const data = ['attributes', 'biomes', 'commands', 'instruments', 'items', 'materials', 'blocks', 'blockCollisionShapes', 'recipes', 'windows', 'entities', 'protocol', 'version', 'effects', 'enchantments', 'language', 'foods', 'particles', 'blockLoot', 'entityLoot', 'mapIcons', 'tints']
14
+ const data = ['attributes', 'biomes', 'commands', 'instruments', 'items', 'materials', 'blocks', 'blockCollisionShapes', 'recipes', 'windows', 'entities', 'protocol', 'version', 'effects', 'enchantments', 'language', 'foods', 'particles', 'blockLoot', 'entityLoot', 'mapIcons', 'tints', 'blockMappings']
15
15
 
16
16
  require('./version_iterator')(function (p, versionString) {
17
17
  describe('minecraft-data schemas ' + versionString, function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "3.20.0",
3
+ "version": "3.22.0",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",