minecraft-data 3.30.0 → 3.32.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 (83) hide show
  1. package/.github/workflows/npm-publish.yml +1 -0
  2. package/data.js +51 -9
  3. package/doc/api.md +4 -0
  4. package/doc/history.md +8 -0
  5. package/index.d.ts +5 -1
  6. package/lib/loader.js +1 -1
  7. package/minecraft-data/README.md +1 -1
  8. package/minecraft-data/data/bedrock/1.16.201/proto.yml +13 -4
  9. package/minecraft-data/data/bedrock/1.16.201/protocol.json +13 -12
  10. package/minecraft-data/data/bedrock/1.16.210/proto.yml +13 -4
  11. package/minecraft-data/data/bedrock/1.16.210/protocol.json +13 -12
  12. package/minecraft-data/data/bedrock/1.16.220/proto.yml +2 -1
  13. package/minecraft-data/data/bedrock/1.16.220/protocol.json +11 -5
  14. package/minecraft-data/data/bedrock/1.16.220/types.yml +4 -4
  15. package/minecraft-data/data/bedrock/1.17.0/proto.yml +2 -1
  16. package/minecraft-data/data/bedrock/1.17.0/protocol.json +11 -5
  17. package/minecraft-data/data/bedrock/1.17.0/types.yml +4 -4
  18. package/minecraft-data/data/bedrock/1.17.10/proto.yml +2 -1
  19. package/minecraft-data/data/bedrock/1.17.10/protocol.json +11 -5
  20. package/minecraft-data/data/bedrock/1.17.10/types.yml +4 -4
  21. package/minecraft-data/data/bedrock/1.17.30/proto.yml +2 -1
  22. package/minecraft-data/data/bedrock/1.17.30/protocol.json +11 -5
  23. package/minecraft-data/data/bedrock/1.17.30/types.yml +4 -4
  24. package/minecraft-data/data/bedrock/1.17.40/proto.yml +2 -1
  25. package/minecraft-data/data/bedrock/1.17.40/protocol.json +11 -5
  26. package/minecraft-data/data/bedrock/1.17.40/types.yml +4 -4
  27. package/minecraft-data/data/bedrock/1.18.0/proto.yml +2 -1
  28. package/minecraft-data/data/bedrock/1.18.0/protocol.json +11 -5
  29. package/minecraft-data/data/bedrock/1.18.0/types.yml +4 -4
  30. package/minecraft-data/data/bedrock/1.18.11/proto.yml +2 -1
  31. package/minecraft-data/data/bedrock/1.18.11/protocol.json +11 -5
  32. package/minecraft-data/data/bedrock/1.18.11/types.yml +4 -4
  33. package/minecraft-data/data/bedrock/1.18.30/proto.yml +2 -1
  34. package/minecraft-data/data/bedrock/1.18.30/protocol.json +11 -5
  35. package/minecraft-data/data/bedrock/1.18.30/types.yml +4 -4
  36. package/minecraft-data/data/bedrock/1.19.1/proto.yml +2 -1
  37. package/minecraft-data/data/bedrock/1.19.1/protocol.json +11 -5
  38. package/minecraft-data/data/bedrock/1.19.1/types.yml +4 -4
  39. package/minecraft-data/data/bedrock/1.19.10/proto.yml +2 -1
  40. package/minecraft-data/data/bedrock/1.19.10/protocol.json +32 -25
  41. package/minecraft-data/data/bedrock/1.19.10/types.yml +25 -24
  42. package/minecraft-data/data/bedrock/1.19.20/proto.yml +3 -2
  43. package/minecraft-data/data/bedrock/1.19.20/protocol.json +33 -26
  44. package/minecraft-data/data/bedrock/1.19.20/types.yml +25 -24
  45. package/minecraft-data/data/bedrock/1.19.21/proto.yml +3 -2
  46. package/minecraft-data/data/bedrock/1.19.21/protocol.json +33 -26
  47. package/minecraft-data/data/bedrock/1.19.21/types.yml +25 -24
  48. package/minecraft-data/data/bedrock/1.19.30/proto.yml +3 -2
  49. package/minecraft-data/data/bedrock/1.19.30/protocol.json +33 -26
  50. package/minecraft-data/data/bedrock/1.19.30/types.yml +25 -24
  51. package/minecraft-data/data/bedrock/1.19.40/proto.yml +5 -3
  52. package/minecraft-data/data/bedrock/1.19.40/protocol.json +34 -26
  53. package/minecraft-data/data/bedrock/1.19.40/types.yml +25 -24
  54. package/minecraft-data/data/bedrock/1.19.50/proto.yml +5 -3
  55. package/minecraft-data/data/bedrock/1.19.50/protocol.json +34 -26
  56. package/minecraft-data/data/bedrock/1.19.50/types.yml +25 -24
  57. package/minecraft-data/data/bedrock/1.19.60/proto.yml +5 -3
  58. package/minecraft-data/data/bedrock/1.19.60/protocol.json +34 -26
  59. package/minecraft-data/data/bedrock/1.19.60/types.yml +25 -24
  60. package/minecraft-data/data/bedrock/1.19.62/proto.yml +3853 -0
  61. package/minecraft-data/data/bedrock/1.19.62/protocol.json +34 -26
  62. package/minecraft-data/data/bedrock/1.19.62/types.yml +2064 -0
  63. package/minecraft-data/data/bedrock/1.19.70/proto.yml +3881 -0
  64. package/minecraft-data/data/bedrock/1.19.70/protocol.json +11138 -0
  65. package/minecraft-data/data/bedrock/1.19.70/types.yml +2077 -0
  66. package/minecraft-data/data/bedrock/1.19.70/version.json +6 -0
  67. package/minecraft-data/data/bedrock/1.19.80/protocol.json +11276 -0
  68. package/minecraft-data/data/bedrock/1.19.80/version.json +6 -0
  69. package/minecraft-data/data/bedrock/common/features.json +54 -1
  70. package/minecraft-data/data/bedrock/common/protocolVersions.json +12 -0
  71. package/minecraft-data/data/bedrock/common/versions.json +3 -1
  72. package/minecraft-data/data/bedrock/latest/proto.yml +85 -14
  73. package/minecraft-data/data/bedrock/latest/types.yml +51 -27
  74. package/minecraft-data/data/dataPaths.json +51 -9
  75. package/minecraft-data/data/pc/1.19/protocol.json +40 -5
  76. package/minecraft-data/data/pc/1.19.2/protocol.json +40 -5
  77. package/minecraft-data/data/pc/1.19.3/protocol.json +40 -5
  78. package/minecraft-data/data/pc/common/features.json +10 -0
  79. package/minecraft-data/doc/history.md +7 -0
  80. package/minecraft-data/tools/js/compileProtocol.js +1 -1
  81. package/package.json +2 -2
  82. package/test/load.js +8 -1
  83. package/typings/index-template.d.ts +5 -1
@@ -310,7 +310,7 @@
310
310
  "array",
311
311
  {
312
312
  "countType": "li32",
313
- "type": "ShortArray"
313
+ "type": "ShortString"
314
314
  }
315
315
  ]
316
316
  },
@@ -320,7 +320,7 @@
320
320
  "array",
321
321
  {
322
322
  "countType": "li32",
323
- "type": "ShortArray"
323
+ "type": "ShortString"
324
324
  }
325
325
  ]
326
326
  },
@@ -377,7 +377,7 @@
377
377
  "array",
378
378
  {
379
379
  "countType": "li32",
380
- "type": "ShortArray"
380
+ "type": "ShortString"
381
381
  }
382
382
  ]
383
383
  },
@@ -387,7 +387,7 @@
387
387
  "array",
388
388
  {
389
389
  "countType": "li32",
390
- "type": "ShortArray"
390
+ "type": "ShortString"
391
391
  }
392
392
  ]
393
393
  }
@@ -7506,7 +7506,7 @@
7506
7506
  },
7507
7507
  {
7508
7508
  "name": "position",
7509
- "type": "vec3u"
7509
+ "type": "vec3i"
7510
7510
  },
7511
7511
  {
7512
7512
  "name": "reaction_type",
@@ -9159,6 +9159,12 @@
9159
9159
  "countType": "li16"
9160
9160
  }
9161
9161
  ],
9162
+ "ShortString": [
9163
+ "pstring",
9164
+ {
9165
+ "countType": "li16"
9166
+ }
9167
+ ],
9162
9168
  "MetadataFlags1": [
9163
9169
  "bitflags",
9164
9170
  {
@@ -87,8 +87,8 @@ ItemExtraDataWithBlockingTick:
87
87
  version: u8
88
88
  nbt: lnbt
89
89
  default: void
90
- can_place_on: ShortArray[]li32
91
- can_destroy: ShortArray[]li32
90
+ can_place_on: ShortString[]li32
91
+ can_destroy: ShortString[]li32
92
92
  blocking_tick: li64
93
93
 
94
94
  ItemExtraDataWithoutBlockingTick:
@@ -100,8 +100,8 @@ ItemExtraDataWithoutBlockingTick:
100
100
  version: u8
101
101
  nbt: lnbt
102
102
  default: void
103
- can_place_on: ShortArray[]li32
104
- can_destroy: ShortArray[]li32
103
+ can_place_on: ShortString[]li32
104
+ can_destroy: ShortString[]li32
105
105
 
106
106
  # Same as below but without a "networkStackID" boolean
107
107
  ItemLegacy:
@@ -9,6 +9,7 @@ ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
11
  ShortArray: ["buffer",{"countType":"li16"}]
12
+ ShortString: ["pstring",{"countType":"li16"}]
12
13
  varint64: native # Some primitives
13
14
  zigzag32: native
14
15
  zigzag64: native
@@ -2260,7 +2261,7 @@ packet_lab_table:
2260
2261
  0: combine
2261
2262
  1: react
2262
2263
  # Position is the position at which the lab table used was located.
2263
- position: vec3u
2264
+ position: vec3i
2264
2265
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
2265
2266
  # table. The reaction type can be either that of an item or a particle, depending on whatever the result
2266
2267
  # was of the reaction.
@@ -310,7 +310,7 @@
310
310
  "array",
311
311
  {
312
312
  "countType": "li32",
313
- "type": "ShortArray"
313
+ "type": "ShortString"
314
314
  }
315
315
  ]
316
316
  },
@@ -320,7 +320,7 @@
320
320
  "array",
321
321
  {
322
322
  "countType": "li32",
323
- "type": "ShortArray"
323
+ "type": "ShortString"
324
324
  }
325
325
  ]
326
326
  },
@@ -377,7 +377,7 @@
377
377
  "array",
378
378
  {
379
379
  "countType": "li32",
380
- "type": "ShortArray"
380
+ "type": "ShortString"
381
381
  }
382
382
  ]
383
383
  },
@@ -387,7 +387,7 @@
387
387
  "array",
388
388
  {
389
389
  "countType": "li32",
390
- "type": "ShortArray"
390
+ "type": "ShortString"
391
391
  }
392
392
  ]
393
393
  }
@@ -7507,7 +7507,7 @@
7507
7507
  },
7508
7508
  {
7509
7509
  "name": "position",
7510
- "type": "vec3u"
7510
+ "type": "vec3i"
7511
7511
  },
7512
7512
  {
7513
7513
  "name": "reaction_type",
@@ -9256,6 +9256,12 @@
9256
9256
  "countType": "li16"
9257
9257
  }
9258
9258
  ],
9259
+ "ShortString": [
9260
+ "pstring",
9261
+ {
9262
+ "countType": "li16"
9263
+ }
9264
+ ],
9259
9265
  "MetadataFlags1": [
9260
9266
  "bitflags",
9261
9267
  {
@@ -87,8 +87,8 @@ ItemExtraDataWithBlockingTick:
87
87
  version: u8
88
88
  nbt: lnbt
89
89
  default: void
90
- can_place_on: ShortArray[]li32
91
- can_destroy: ShortArray[]li32
90
+ can_place_on: ShortString[]li32
91
+ can_destroy: ShortString[]li32
92
92
  blocking_tick: li64
93
93
 
94
94
  ItemExtraDataWithoutBlockingTick:
@@ -100,8 +100,8 @@ ItemExtraDataWithoutBlockingTick:
100
100
  version: u8
101
101
  nbt: lnbt
102
102
  default: void
103
- can_place_on: ShortArray[]li32
104
- can_destroy: ShortArray[]li32
103
+ can_place_on: ShortString[]li32
104
+ can_destroy: ShortString[]li32
105
105
 
106
106
  # Same as below but without a "networkStackID" boolean
107
107
  ItemLegacy:
@@ -9,6 +9,7 @@ ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
11
  ShortArray: ["buffer",{"countType":"li16"}]
12
+ ShortString: ["pstring",{"countType":"li16"}]
12
13
  varint64: native # Some primitives
13
14
  zigzag32: native
14
15
  zigzag64: native
@@ -2267,7 +2268,7 @@ packet_lab_table:
2267
2268
  0: combine
2268
2269
  1: react
2269
2270
  # Position is the position at which the lab table used was located.
2270
- position: vec3u
2271
+ position: vec3i
2271
2272
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
2272
2273
  # table. The reaction type can be either that of an item or a particle, depending on whatever the result
2273
2274
  # was of the reaction.
@@ -310,7 +310,7 @@
310
310
  "array",
311
311
  {
312
312
  "countType": "li32",
313
- "type": "ShortArray"
313
+ "type": "ShortString"
314
314
  }
315
315
  ]
316
316
  },
@@ -320,7 +320,7 @@
320
320
  "array",
321
321
  {
322
322
  "countType": "li32",
323
- "type": "ShortArray"
323
+ "type": "ShortString"
324
324
  }
325
325
  ]
326
326
  },
@@ -377,7 +377,7 @@
377
377
  "array",
378
378
  {
379
379
  "countType": "li32",
380
- "type": "ShortArray"
380
+ "type": "ShortString"
381
381
  }
382
382
  ]
383
383
  },
@@ -387,7 +387,7 @@
387
387
  "array",
388
388
  {
389
389
  "countType": "li32",
390
- "type": "ShortArray"
390
+ "type": "ShortString"
391
391
  }
392
392
  ]
393
393
  }
@@ -7552,7 +7552,7 @@
7552
7552
  },
7553
7553
  {
7554
7554
  "name": "position",
7555
- "type": "vec3u"
7555
+ "type": "vec3i"
7556
7556
  },
7557
7557
  {
7558
7558
  "name": "reaction_type",
@@ -9318,6 +9318,12 @@
9318
9318
  "countType": "li16"
9319
9319
  }
9320
9320
  ],
9321
+ "ShortString": [
9322
+ "pstring",
9323
+ {
9324
+ "countType": "li16"
9325
+ }
9326
+ ],
9321
9327
  "MetadataFlags1": [
9322
9328
  "bitflags",
9323
9329
  {
@@ -87,8 +87,8 @@ ItemExtraDataWithBlockingTick:
87
87
  version: u8
88
88
  nbt: lnbt
89
89
  default: void
90
- can_place_on: ShortArray[]li32
91
- can_destroy: ShortArray[]li32
90
+ can_place_on: ShortString[]li32
91
+ can_destroy: ShortString[]li32
92
92
  blocking_tick: li64
93
93
 
94
94
  ItemExtraDataWithoutBlockingTick:
@@ -100,8 +100,8 @@ ItemExtraDataWithoutBlockingTick:
100
100
  version: u8
101
101
  nbt: lnbt
102
102
  default: void
103
- can_place_on: ShortArray[]li32
104
- can_destroy: ShortArray[]li32
103
+ can_place_on: ShortString[]li32
104
+ can_destroy: ShortString[]li32
105
105
 
106
106
  # Same as below but without a "networkStackID" boolean
107
107
  ItemLegacy:
@@ -9,6 +9,7 @@ ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
11
  ShortArray: ["buffer",{"countType":"li16"}]
12
+ ShortString: ["pstring",{"countType":"li16"}]
12
13
  varint64: native # Some primitives
13
14
  zigzag32: native
14
15
  zigzag64: native
@@ -2274,7 +2275,7 @@ packet_lab_table:
2274
2275
  0: combine
2275
2276
  1: react
2276
2277
  # Position is the position at which the lab table used was located.
2277
- position: vec3u
2278
+ position: vec3i
2278
2279
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
2279
2280
  # table. The reaction type can be either that of an item or a particle, depending on whatever the result
2280
2281
  # was of the reaction.
@@ -310,7 +310,7 @@
310
310
  "array",
311
311
  {
312
312
  "countType": "li32",
313
- "type": "ShortArray"
313
+ "type": "ShortString"
314
314
  }
315
315
  ]
316
316
  },
@@ -320,7 +320,7 @@
320
320
  "array",
321
321
  {
322
322
  "countType": "li32",
323
- "type": "ShortArray"
323
+ "type": "ShortString"
324
324
  }
325
325
  ]
326
326
  },
@@ -377,7 +377,7 @@
377
377
  "array",
378
378
  {
379
379
  "countType": "li32",
380
- "type": "ShortArray"
380
+ "type": "ShortString"
381
381
  }
382
382
  ]
383
383
  },
@@ -387,7 +387,7 @@
387
387
  "array",
388
388
  {
389
389
  "countType": "li32",
390
- "type": "ShortArray"
390
+ "type": "ShortString"
391
391
  }
392
392
  ]
393
393
  }
@@ -7610,7 +7610,7 @@
7610
7610
  },
7611
7611
  {
7612
7612
  "name": "position",
7613
- "type": "vec3u"
7613
+ "type": "vec3i"
7614
7614
  },
7615
7615
  {
7616
7616
  "name": "reaction_type",
@@ -9574,6 +9574,12 @@
9574
9574
  "countType": "li16"
9575
9575
  }
9576
9576
  ],
9577
+ "ShortString": [
9578
+ "pstring",
9579
+ {
9580
+ "countType": "li16"
9581
+ }
9582
+ ],
9577
9583
  "MetadataFlags1": [
9578
9584
  "bitflags",
9579
9585
  {
@@ -87,8 +87,8 @@ ItemExtraDataWithBlockingTick:
87
87
  version: u8
88
88
  nbt: lnbt
89
89
  default: void
90
- can_place_on: ShortArray[]li32
91
- can_destroy: ShortArray[]li32
90
+ can_place_on: ShortString[]li32
91
+ can_destroy: ShortString[]li32
92
92
  blocking_tick: li64
93
93
 
94
94
  ItemExtraDataWithoutBlockingTick:
@@ -100,8 +100,8 @@ ItemExtraDataWithoutBlockingTick:
100
100
  version: u8
101
101
  nbt: lnbt
102
102
  default: void
103
- can_place_on: ShortArray[]li32
104
- can_destroy: ShortArray[]li32
103
+ can_place_on: ShortString[]li32
104
+ can_destroy: ShortString[]li32
105
105
 
106
106
  # Same as below but without a "networkStackID" boolean
107
107
  ItemLegacy:
@@ -9,6 +9,7 @@ ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
11
  ShortArray: ["buffer",{"countType":"li16"}]
12
+ ShortString: ["pstring",{"countType":"li16"}]
12
13
  varint64: native # Some primitives
13
14
  zigzag32: native
14
15
  zigzag64: native
@@ -2284,7 +2285,7 @@ packet_lab_table:
2284
2285
  0: combine
2285
2286
  1: react
2286
2287
  # Position is the position at which the lab table used was located.
2287
- position: vec3u
2288
+ position: vec3i
2288
2289
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
2289
2290
  # table. The reaction type can be either that of an item or a particle, depending on whatever the result
2290
2291
  # was of the reaction.
@@ -311,7 +311,7 @@
311
311
  "array",
312
312
  {
313
313
  "countType": "li32",
314
- "type": "ShortArray"
314
+ "type": "ShortString"
315
315
  }
316
316
  ]
317
317
  },
@@ -321,7 +321,7 @@
321
321
  "array",
322
322
  {
323
323
  "countType": "li32",
324
- "type": "ShortArray"
324
+ "type": "ShortString"
325
325
  }
326
326
  ]
327
327
  },
@@ -378,7 +378,7 @@
378
378
  "array",
379
379
  {
380
380
  "countType": "li32",
381
- "type": "ShortArray"
381
+ "type": "ShortString"
382
382
  }
383
383
  ]
384
384
  },
@@ -388,7 +388,7 @@
388
388
  "array",
389
389
  {
390
390
  "countType": "li32",
391
- "type": "ShortArray"
391
+ "type": "ShortString"
392
392
  }
393
393
  ]
394
394
  }
@@ -7695,7 +7695,7 @@
7695
7695
  },
7696
7696
  {
7697
7697
  "name": "position",
7698
- "type": "vec3u"
7698
+ "type": "vec3i"
7699
7699
  },
7700
7700
  {
7701
7701
  "name": "reaction_type",
@@ -9812,6 +9812,12 @@
9812
9812
  "countType": "li16"
9813
9813
  }
9814
9814
  ],
9815
+ "ShortString": [
9816
+ "pstring",
9817
+ {
9818
+ "countType": "li16"
9819
+ }
9820
+ ],
9815
9821
  "MetadataFlags1": [
9816
9822
  "bitflags",
9817
9823
  {
@@ -88,8 +88,8 @@ ItemExtraDataWithBlockingTick:
88
88
  version: u8
89
89
  nbt: lnbt
90
90
  default: void
91
- can_place_on: ShortArray[]li32
92
- can_destroy: ShortArray[]li32
91
+ can_place_on: ShortString[]li32
92
+ can_destroy: ShortString[]li32
93
93
  blocking_tick: li64
94
94
 
95
95
  ItemExtraDataWithoutBlockingTick:
@@ -101,8 +101,8 @@ ItemExtraDataWithoutBlockingTick:
101
101
  version: u8
102
102
  nbt: lnbt
103
103
  default: void
104
- can_place_on: ShortArray[]li32
105
- can_destroy: ShortArray[]li32
104
+ can_place_on: ShortString[]li32
105
+ can_destroy: ShortString[]li32
106
106
 
107
107
  # Same as below but without a "networkStackID" boolean
108
108
  ItemLegacy:
@@ -9,6 +9,7 @@ ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
11
  ShortArray: ["buffer",{"countType":"li16"}]
12
+ ShortString: ["pstring",{"countType":"li16"}]
12
13
  varint64: native # Some primitives
13
14
  zigzag32: native
14
15
  zigzag64: native
@@ -2294,7 +2295,7 @@ packet_lab_table:
2294
2295
  0: combine
2295
2296
  1: react
2296
2297
  # Position is the position at which the lab table used was located.
2297
- position: vec3u
2298
+ position: vec3i
2298
2299
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
2299
2300
  # table. The reaction type can be either that of an item or a particle, depending on whatever the result
2300
2301
  # was of the reaction.
@@ -311,7 +311,7 @@
311
311
  "array",
312
312
  {
313
313
  "countType": "li32",
314
- "type": "ShortArray"
314
+ "type": "ShortString"
315
315
  }
316
316
  ]
317
317
  },
@@ -321,7 +321,7 @@
321
321
  "array",
322
322
  {
323
323
  "countType": "li32",
324
- "type": "ShortArray"
324
+ "type": "ShortString"
325
325
  }
326
326
  ]
327
327
  },
@@ -378,7 +378,7 @@
378
378
  "array",
379
379
  {
380
380
  "countType": "li32",
381
- "type": "ShortArray"
381
+ "type": "ShortString"
382
382
  }
383
383
  ]
384
384
  },
@@ -388,7 +388,7 @@
388
388
  "array",
389
389
  {
390
390
  "countType": "li32",
391
- "type": "ShortArray"
391
+ "type": "ShortString"
392
392
  }
393
393
  ]
394
394
  }
@@ -7742,7 +7742,7 @@
7742
7742
  },
7743
7743
  {
7744
7744
  "name": "position",
7745
- "type": "vec3u"
7745
+ "type": "vec3i"
7746
7746
  },
7747
7747
  {
7748
7748
  "name": "reaction_type",
@@ -9976,6 +9976,12 @@
9976
9976
  "countType": "li16"
9977
9977
  }
9978
9978
  ],
9979
+ "ShortString": [
9980
+ "pstring",
9981
+ {
9982
+ "countType": "li16"
9983
+ }
9984
+ ],
9979
9985
  "MetadataFlags1": [
9980
9986
  "bitflags",
9981
9987
  {
@@ -88,8 +88,8 @@ ItemExtraDataWithBlockingTick:
88
88
  version: u8
89
89
  nbt: lnbt
90
90
  default: void
91
- can_place_on: ShortArray[]li32
92
- can_destroy: ShortArray[]li32
91
+ can_place_on: ShortString[]li32
92
+ can_destroy: ShortString[]li32
93
93
  blocking_tick: li64
94
94
 
95
95
  ItemExtraDataWithoutBlockingTick:
@@ -101,8 +101,8 @@ ItemExtraDataWithoutBlockingTick:
101
101
  version: u8
102
102
  nbt: lnbt
103
103
  default: void
104
- can_place_on: ShortArray[]li32
105
- can_destroy: ShortArray[]li32
104
+ can_place_on: ShortString[]li32
105
+ can_destroy: ShortString[]li32
106
106
 
107
107
  # Same as below but without a "networkStackID" boolean
108
108
  ItemLegacy:
@@ -9,6 +9,7 @@ ByteArray: ["buffer",{"countType":"varint"}]
9
9
  SignedByteArray: ["buffer",{"countType":"zigzag32"}]
10
10
  LittleString: ["pstring",{"countType":"li32"}]
11
11
  ShortArray: ["buffer",{"countType":"li16"}]
12
+ ShortString: ["pstring",{"countType":"li16"}]
12
13
  varint64: native # Some primitives
13
14
  zigzag32: native
14
15
  zigzag64: native
@@ -2345,7 +2346,7 @@ packet_lab_table:
2345
2346
  0: combine
2346
2347
  1: react
2347
2348
  # Position is the position at which the lab table used was located.
2348
- position: vec3u
2349
+ position: vec3i
2349
2350
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
2350
2351
  # table. The reaction type can be either that of an item or a particle, depending on whatever the result
2351
2352
  # was of the reaction.