minecraft-data 3.51.0 → 3.52.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.
@@ -26,20 +26,8 @@
26
26
  "void": "native",
27
27
  "array": "native",
28
28
  "restBuffer": "native",
29
- "nbt": "native",
30
- "optionalNbt": "native",
31
- "nbtRoot": [
32
- "nbt",
33
- {
34
- "tagType": "anonymousNbt"
35
- }
36
- ],
37
- "optionalNbtRoot": [
38
- "optionalNbt",
39
- {
40
- "tagType": "anonymousNbt"
41
- }
42
- ],
29
+ "anonymousNbt": "native",
30
+ "anonOptionalNbt": "native",
43
31
  "string": [
44
32
  "pstring",
45
33
  {
@@ -129,7 +117,7 @@
129
117
  },
130
118
  {
131
119
  "name": "nbtData",
132
- "type": "optionalNbtRoot"
120
+ "type": "anonOptionalNbt"
133
121
  }
134
122
  ]
135
123
  ]
@@ -432,7 +420,7 @@
432
420
  ],
433
421
  "block_state": "varint",
434
422
  "optional_block_state": "optvarint",
435
- "compound_tag": "nbtRoot",
423
+ "compound_tag": "anonymousNbt",
436
424
  "particle": "particle",
437
425
  "villager_data": [
438
426
  "container",
@@ -623,7 +611,7 @@
623
611
  },
624
612
  {
625
613
  "name": "nbtData",
626
- "type": "optionalNbtRoot"
614
+ "type": "anonOptionalNbt"
627
615
  }
628
616
  ]
629
617
  ],
@@ -1719,7 +1707,7 @@
1719
1707
  [
1720
1708
  {
1721
1709
  "name": "codec",
1722
- "type": "nbtRoot"
1710
+ "type": "anonymousNbt"
1723
1711
  }
1724
1712
  ]
1725
1713
  ],
@@ -2311,7 +2299,7 @@
2311
2299
  },
2312
2300
  {
2313
2301
  "name": "nbtData",
2314
- "type": "optionalNbtRoot"
2302
+ "type": "anonOptionalNbt"
2315
2303
  }
2316
2304
  ]
2317
2305
  ],
@@ -2584,7 +2572,7 @@
2584
2572
  },
2585
2573
  {
2586
2574
  "name": "nbt",
2587
- "type": "optionalNbtRoot"
2575
+ "type": "anonOptionalNbt"
2588
2576
  }
2589
2577
  ]
2590
2578
  ],
@@ -2959,7 +2947,7 @@
2959
2947
  },
2960
2948
  {
2961
2949
  "name": "heightmaps",
2962
- "type": "nbtRoot"
2950
+ "type": "anonymousNbt"
2963
2951
  },
2964
2952
  {
2965
2953
  "name": "chunkData",
@@ -5150,7 +5138,7 @@
5150
5138
  "name": "factorCodec",
5151
5139
  "type": [
5152
5140
  "option",
5153
- "nbtRoot"
5141
+ "anonymousNbt"
5154
5142
  ]
5155
5143
  }
5156
5144
  ]
@@ -7101,4 +7089,4 @@
7101
7089
  }
7102
7090
  }
7103
7091
  }
7104
- }
7092
+ }
@@ -1,3 +1,6 @@
1
+ ## 3.52.0
2
+ * [1.20.2: use new anonOptionalNbt and anonymousNbt types from prismarine-nbt, add loginPacket (#810)](https://github.com/PrismarineJS/minecraft-data/commit/15f860a55e2ea4c8a62c0eeeaaf05e30f9efb1ac) (thanks @extremeheat)
3
+
1
4
  ## 3.51.0
2
5
  * [Fix bedrock recipe text encoding issue (#808)](https://github.com/PrismarineJS/minecraft-data/commit/900ebf212eb2b97fdbca3aa8527d2ec530a90f2b) (thanks @extremeheat)
3
6
  * [1.20.2 protocol: nbt data can have different root data types (#807)](https://github.com/PrismarineJS/minecraft-data/commit/37e288067964e403c29d1d2f72a4acc9a5b7ba52) (thanks @extremeheat)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "3.51.0",
3
+ "version": "3.52.0",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",