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
@@ -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
  }
@@ -7810,7 +7810,7 @@
7810
7810
  },
7811
7811
  {
7812
7812
  "name": "position",
7813
- "type": "vec3u"
7813
+ "type": "vec3i"
7814
7814
  },
7815
7815
  {
7816
7816
  "name": "reaction_type",
@@ -10124,6 +10124,12 @@
10124
10124
  "countType": "li16"
10125
10125
  }
10126
10126
  ],
10127
+ "ShortString": [
10128
+ "pstring",
10129
+ {
10130
+ "countType": "li16"
10131
+ }
10132
+ ],
10127
10133
  "MetadataFlags1": [
10128
10134
  "bitflags",
10129
10135
  {
@@ -10252,26 +10258,27 @@
10252
10258
  "bitflags",
10253
10259
  {
10254
10260
  "type": "lu32",
10255
- "flags": {
10256
- "build": 1,
10257
- "mine": 2,
10258
- "doors_and_switches": 4,
10259
- "open_containers": 8,
10260
- "attack_players": 16,
10261
- "attack_mobs": 32,
10262
- "operator_commands": 64,
10263
- "teleport": 128,
10264
- "invulnerable": 256,
10265
- "flying": 512,
10266
- "may_fly": 1024,
10267
- "instant_build": 2048,
10268
- "lightning": 4096,
10269
- "fly_speed": 8192,
10270
- "walk_speed": 16384,
10271
- "muted": 32768,
10272
- "world_builder": 65536,
10273
- "no_clip": 131072
10274
- }
10261
+ "flags": [
10262
+ "build",
10263
+ "mine",
10264
+ "doors_and_switches",
10265
+ "open_containers",
10266
+ "attack_players",
10267
+ "attack_mobs",
10268
+ "operator_commands",
10269
+ "teleport",
10270
+ "invulnerable",
10271
+ "flying",
10272
+ "may_fly",
10273
+ "instant_build",
10274
+ "lightning",
10275
+ "fly_speed",
10276
+ "walk_speed",
10277
+ "muted",
10278
+ "world_builder",
10279
+ "no_clip",
10280
+ "count"
10281
+ ]
10275
10282
  }
10276
10283
  ],
10277
10284
  "UpdateBlockFlags": [
@@ -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:
@@ -1914,26 +1914,27 @@ DeviceOS: li32 =>
1914
1914
  AbilitySet: ["bitflags",
1915
1915
  {
1916
1916
  "type": "lu32",
1917
- "flags": {
1918
- "build": 1,
1919
- "mine": 2,
1920
- "doors_and_switches": 4,
1921
- "open_containers": 8,
1922
- "attack_players": 16,
1923
- "attack_mobs": 32,
1924
- "operator_commands": 64,
1925
- "teleport": 128,
1926
- "invulnerable": 256,
1927
- "flying": 512,
1928
- "may_fly": 1024,
1929
- "instant_build": 2048,
1930
- "lightning": 4096,
1931
- "fly_speed": 8192,
1932
- "walk_speed": 16384,
1933
- "muted": 32768,
1934
- "world_builder": 65536,
1935
- "no_clip": 131072
1936
- }
1917
+ "flags": [
1918
+ "build",
1919
+ "mine",
1920
+ "doors_and_switches",
1921
+ "open_containers",
1922
+ "attack_players",
1923
+ "attack_mobs",
1924
+ "operator_commands",
1925
+ "teleport",
1926
+ "invulnerable",
1927
+ "flying",
1928
+ "may_fly",
1929
+ "instant_build",
1930
+ "lightning",
1931
+ "fly_speed",
1932
+ "walk_speed",
1933
+ "muted",
1934
+ "world_builder",
1935
+ "no_clip",
1936
+ "count"
1937
+ ]
1937
1938
  }
1938
1939
  ]
1939
1940
 
@@ -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
@@ -1490,7 +1491,7 @@ packet_clientbound_map_item_data:
1490
1491
  # table.
1491
1492
  locked: bool
1492
1493
  # Origin is the center position of the map being updated.
1493
- origin: BlockCoordinates
1494
+ origin: vec3i
1494
1495
  # The following fields apply only for the MapUpdateFlagInitialisation.
1495
1496
  # MapsIncludedIn holds an array of map IDs that the map updated is included in. This has to do with the
1496
1497
  # scale of the map: Each map holds its own map ID and all map IDs of maps that include this map and have
@@ -2376,7 +2377,7 @@ packet_lab_table:
2376
2377
  0: combine
2377
2378
  1: react
2378
2379
  # Position is the position at which the lab table used was located.
2379
- position: vec3u
2380
+ position: vec3i
2380
2381
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
2381
2382
  # table. The reaction type can be either that of an item or a particle, depending on whatever the result
2382
2383
  # 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
  }
@@ -6324,7 +6324,7 @@
6324
6324
  },
6325
6325
  {
6326
6326
  "name": "origin",
6327
- "type": "BlockCoordinates"
6327
+ "type": "vec3i"
6328
6328
  },
6329
6329
  {
6330
6330
  "name": "included_in",
@@ -7953,7 +7953,7 @@
7953
7953
  },
7954
7954
  {
7955
7955
  "name": "position",
7956
- "type": "vec3u"
7956
+ "type": "vec3i"
7957
7957
  },
7958
7958
  {
7959
7959
  "name": "reaction_type",
@@ -10316,6 +10316,12 @@
10316
10316
  "countType": "li16"
10317
10317
  }
10318
10318
  ],
10319
+ "ShortString": [
10320
+ "pstring",
10321
+ {
10322
+ "countType": "li16"
10323
+ }
10324
+ ],
10319
10325
  "MetadataFlags1": [
10320
10326
  "bitflags",
10321
10327
  {
@@ -10444,26 +10450,27 @@
10444
10450
  "bitflags",
10445
10451
  {
10446
10452
  "type": "lu32",
10447
- "flags": {
10448
- "build": 1,
10449
- "mine": 2,
10450
- "doors_and_switches": 4,
10451
- "open_containers": 8,
10452
- "attack_players": 16,
10453
- "attack_mobs": 32,
10454
- "operator_commands": 64,
10455
- "teleport": 128,
10456
- "invulnerable": 256,
10457
- "flying": 512,
10458
- "may_fly": 1024,
10459
- "instant_build": 2048,
10460
- "lightning": 4096,
10461
- "fly_speed": 8192,
10462
- "walk_speed": 16384,
10463
- "muted": 32768,
10464
- "world_builder": 65536,
10465
- "no_clip": 131072
10466
- }
10453
+ "flags": [
10454
+ "build",
10455
+ "mine",
10456
+ "doors_and_switches",
10457
+ "open_containers",
10458
+ "attack_players",
10459
+ "attack_mobs",
10460
+ "operator_commands",
10461
+ "teleport",
10462
+ "invulnerable",
10463
+ "flying",
10464
+ "may_fly",
10465
+ "instant_build",
10466
+ "lightning",
10467
+ "fly_speed",
10468
+ "walk_speed",
10469
+ "muted",
10470
+ "world_builder",
10471
+ "no_clip",
10472
+ "count"
10473
+ ]
10467
10474
  }
10468
10475
  ],
10469
10476
  "UpdateBlockFlags": [
@@ -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:
@@ -1921,26 +1921,27 @@ DeviceOS: li32 =>
1921
1921
  AbilitySet: ["bitflags",
1922
1922
  {
1923
1923
  "type": "lu32",
1924
- "flags": {
1925
- "build": 1,
1926
- "mine": 2,
1927
- "doors_and_switches": 4,
1928
- "open_containers": 8,
1929
- "attack_players": 16,
1930
- "attack_mobs": 32,
1931
- "operator_commands": 64,
1932
- "teleport": 128,
1933
- "invulnerable": 256,
1934
- "flying": 512,
1935
- "may_fly": 1024,
1936
- "instant_build": 2048,
1937
- "lightning": 4096,
1938
- "fly_speed": 8192,
1939
- "walk_speed": 16384,
1940
- "muted": 32768,
1941
- "world_builder": 65536,
1942
- "no_clip": 131072
1943
- }
1924
+ "flags": [
1925
+ "build",
1926
+ "mine",
1927
+ "doors_and_switches",
1928
+ "open_containers",
1929
+ "attack_players",
1930
+ "attack_mobs",
1931
+ "operator_commands",
1932
+ "teleport",
1933
+ "invulnerable",
1934
+ "flying",
1935
+ "may_fly",
1936
+ "instant_build",
1937
+ "lightning",
1938
+ "fly_speed",
1939
+ "walk_speed",
1940
+ "muted",
1941
+ "world_builder",
1942
+ "no_clip",
1943
+ "count"
1944
+ ]
1944
1945
  }
1945
1946
  ]
1946
1947
 
@@ -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
@@ -1490,7 +1491,7 @@ packet_clientbound_map_item_data:
1490
1491
  # table.
1491
1492
  locked: bool
1492
1493
  # Origin is the center position of the map being updated.
1493
- origin: BlockCoordinates
1494
+ origin: vec3i
1494
1495
  # The following fields apply only for the MapUpdateFlagInitialisation.
1495
1496
  # MapsIncludedIn holds an array of map IDs that the map updated is included in. This has to do with the
1496
1497
  # scale of the map: Each map holds its own map ID and all map IDs of maps that include this map and have
@@ -2376,7 +2377,7 @@ packet_lab_table:
2376
2377
  0: combine
2377
2378
  1: react
2378
2379
  # Position is the position at which the lab table used was located.
2379
- position: vec3u
2380
+ position: vec3i
2380
2381
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
2381
2382
  # table. The reaction type can be either that of an item or a particle, depending on whatever the result
2382
2383
  # 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
  }
@@ -6324,7 +6324,7 @@
6324
6324
  },
6325
6325
  {
6326
6326
  "name": "origin",
6327
- "type": "BlockCoordinates"
6327
+ "type": "vec3i"
6328
6328
  },
6329
6329
  {
6330
6330
  "name": "included_in",
@@ -7953,7 +7953,7 @@
7953
7953
  },
7954
7954
  {
7955
7955
  "name": "position",
7956
- "type": "vec3u"
7956
+ "type": "vec3i"
7957
7957
  },
7958
7958
  {
7959
7959
  "name": "reaction_type",
@@ -10316,6 +10316,12 @@
10316
10316
  "countType": "li16"
10317
10317
  }
10318
10318
  ],
10319
+ "ShortString": [
10320
+ "pstring",
10321
+ {
10322
+ "countType": "li16"
10323
+ }
10324
+ ],
10319
10325
  "MetadataFlags1": [
10320
10326
  "bitflags",
10321
10327
  {
@@ -10444,26 +10450,27 @@
10444
10450
  "bitflags",
10445
10451
  {
10446
10452
  "type": "lu32",
10447
- "flags": {
10448
- "build": 1,
10449
- "mine": 2,
10450
- "doors_and_switches": 4,
10451
- "open_containers": 8,
10452
- "attack_players": 16,
10453
- "attack_mobs": 32,
10454
- "operator_commands": 64,
10455
- "teleport": 128,
10456
- "invulnerable": 256,
10457
- "flying": 512,
10458
- "may_fly": 1024,
10459
- "instant_build": 2048,
10460
- "lightning": 4096,
10461
- "fly_speed": 8192,
10462
- "walk_speed": 16384,
10463
- "muted": 32768,
10464
- "world_builder": 65536,
10465
- "no_clip": 131072
10466
- }
10453
+ "flags": [
10454
+ "build",
10455
+ "mine",
10456
+ "doors_and_switches",
10457
+ "open_containers",
10458
+ "attack_players",
10459
+ "attack_mobs",
10460
+ "operator_commands",
10461
+ "teleport",
10462
+ "invulnerable",
10463
+ "flying",
10464
+ "may_fly",
10465
+ "instant_build",
10466
+ "lightning",
10467
+ "fly_speed",
10468
+ "walk_speed",
10469
+ "muted",
10470
+ "world_builder",
10471
+ "no_clip",
10472
+ "count"
10473
+ ]
10467
10474
  }
10468
10475
  ],
10469
10476
  "UpdateBlockFlags": [
@@ -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:
@@ -1921,26 +1921,27 @@ DeviceOS: li32 =>
1921
1921
  AbilitySet: ["bitflags",
1922
1922
  {
1923
1923
  "type": "lu32",
1924
- "flags": {
1925
- "build": 1,
1926
- "mine": 2,
1927
- "doors_and_switches": 4,
1928
- "open_containers": 8,
1929
- "attack_players": 16,
1930
- "attack_mobs": 32,
1931
- "operator_commands": 64,
1932
- "teleport": 128,
1933
- "invulnerable": 256,
1934
- "flying": 512,
1935
- "may_fly": 1024,
1936
- "instant_build": 2048,
1937
- "lightning": 4096,
1938
- "fly_speed": 8192,
1939
- "walk_speed": 16384,
1940
- "muted": 32768,
1941
- "world_builder": 65536,
1942
- "no_clip": 131072
1943
- }
1924
+ "flags": [
1925
+ "build",
1926
+ "mine",
1927
+ "doors_and_switches",
1928
+ "open_containers",
1929
+ "attack_players",
1930
+ "attack_mobs",
1931
+ "operator_commands",
1932
+ "teleport",
1933
+ "invulnerable",
1934
+ "flying",
1935
+ "may_fly",
1936
+ "instant_build",
1937
+ "lightning",
1938
+ "fly_speed",
1939
+ "walk_speed",
1940
+ "muted",
1941
+ "world_builder",
1942
+ "no_clip",
1943
+ "count"
1944
+ ]
1944
1945
  }
1945
1946
  ]
1946
1947
 
@@ -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
@@ -1491,7 +1492,7 @@ packet_clientbound_map_item_data:
1491
1492
  # table.
1492
1493
  locked: bool
1493
1494
  # Origin is the center position of the map being updated.
1494
- origin: BlockCoordinates
1495
+ origin: vec3i
1495
1496
  # The following fields apply only for the MapUpdateFlagInitialisation.
1496
1497
  # MapsIncludedIn holds an array of map IDs that the map updated is included in. This has to do with the
1497
1498
  # scale of the map: Each map holds its own map ID and all map IDs of maps that include this map and have
@@ -2379,7 +2380,7 @@ packet_lab_table:
2379
2380
  0: combine
2380
2381
  1: react
2381
2382
  # Position is the position at which the lab table used was located.
2382
- position: vec3u
2383
+ position: vec3i
2383
2384
  # ReactionType is the type of the reaction that took place as a result of the items put into the lab
2384
2385
  # table. The reaction type can be either that of an item or a particle, depending on whatever the result
2385
2386
  # was of the reaction.