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.
- package/.github/workflows/npm-publish.yml +1 -0
- package/data.js +51 -9
- package/doc/api.md +4 -0
- package/doc/history.md +8 -0
- package/index.d.ts +5 -1
- package/lib/loader.js +1 -1
- package/minecraft-data/README.md +1 -1
- package/minecraft-data/data/bedrock/1.16.201/proto.yml +13 -4
- package/minecraft-data/data/bedrock/1.16.201/protocol.json +13 -12
- package/minecraft-data/data/bedrock/1.16.210/proto.yml +13 -4
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +13 -12
- package/minecraft-data/data/bedrock/1.16.220/proto.yml +2 -1
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +11 -5
- package/minecraft-data/data/bedrock/1.16.220/types.yml +4 -4
- package/minecraft-data/data/bedrock/1.17.0/proto.yml +2 -1
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +11 -5
- package/minecraft-data/data/bedrock/1.17.0/types.yml +4 -4
- package/minecraft-data/data/bedrock/1.17.10/proto.yml +2 -1
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +11 -5
- package/minecraft-data/data/bedrock/1.17.10/types.yml +4 -4
- package/minecraft-data/data/bedrock/1.17.30/proto.yml +2 -1
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +11 -5
- package/minecraft-data/data/bedrock/1.17.30/types.yml +4 -4
- package/minecraft-data/data/bedrock/1.17.40/proto.yml +2 -1
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +11 -5
- package/minecraft-data/data/bedrock/1.17.40/types.yml +4 -4
- package/minecraft-data/data/bedrock/1.18.0/proto.yml +2 -1
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +11 -5
- package/minecraft-data/data/bedrock/1.18.0/types.yml +4 -4
- package/minecraft-data/data/bedrock/1.18.11/proto.yml +2 -1
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +11 -5
- package/minecraft-data/data/bedrock/1.18.11/types.yml +4 -4
- package/minecraft-data/data/bedrock/1.18.30/proto.yml +2 -1
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +11 -5
- package/minecraft-data/data/bedrock/1.18.30/types.yml +4 -4
- package/minecraft-data/data/bedrock/1.19.1/proto.yml +2 -1
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +11 -5
- package/minecraft-data/data/bedrock/1.19.1/types.yml +4 -4
- package/minecraft-data/data/bedrock/1.19.10/proto.yml +2 -1
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +32 -25
- package/minecraft-data/data/bedrock/1.19.10/types.yml +25 -24
- package/minecraft-data/data/bedrock/1.19.20/proto.yml +3 -2
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +33 -26
- package/minecraft-data/data/bedrock/1.19.20/types.yml +25 -24
- package/minecraft-data/data/bedrock/1.19.21/proto.yml +3 -2
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +33 -26
- package/minecraft-data/data/bedrock/1.19.21/types.yml +25 -24
- package/minecraft-data/data/bedrock/1.19.30/proto.yml +3 -2
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +33 -26
- package/minecraft-data/data/bedrock/1.19.30/types.yml +25 -24
- package/minecraft-data/data/bedrock/1.19.40/proto.yml +5 -3
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +34 -26
- package/minecraft-data/data/bedrock/1.19.40/types.yml +25 -24
- package/minecraft-data/data/bedrock/1.19.50/proto.yml +5 -3
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +34 -26
- package/minecraft-data/data/bedrock/1.19.50/types.yml +25 -24
- package/minecraft-data/data/bedrock/1.19.60/proto.yml +5 -3
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +34 -26
- package/minecraft-data/data/bedrock/1.19.60/types.yml +25 -24
- package/minecraft-data/data/bedrock/1.19.62/proto.yml +3853 -0
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +34 -26
- package/minecraft-data/data/bedrock/1.19.62/types.yml +2064 -0
- package/minecraft-data/data/bedrock/1.19.70/proto.yml +3881 -0
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +11138 -0
- package/minecraft-data/data/bedrock/1.19.70/types.yml +2077 -0
- package/minecraft-data/data/bedrock/1.19.70/version.json +6 -0
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +11276 -0
- package/minecraft-data/data/bedrock/1.19.80/version.json +6 -0
- package/minecraft-data/data/bedrock/common/features.json +54 -1
- package/minecraft-data/data/bedrock/common/protocolVersions.json +12 -0
- package/minecraft-data/data/bedrock/common/versions.json +3 -1
- package/minecraft-data/data/bedrock/latest/proto.yml +85 -14
- package/minecraft-data/data/bedrock/latest/types.yml +51 -27
- package/minecraft-data/data/dataPaths.json +51 -9
- package/minecraft-data/data/pc/1.19/protocol.json +40 -5
- package/minecraft-data/data/pc/1.19.2/protocol.json +40 -5
- package/minecraft-data/data/pc/1.19.3/protocol.json +40 -5
- package/minecraft-data/data/pc/common/features.json +10 -0
- package/minecraft-data/doc/history.md +7 -0
- package/minecraft-data/tools/js/compileProtocol.js +1 -1
- package/package.json +2 -2
- package/test/load.js +8 -1
- package/typings/index-template.d.ts +5 -1
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
"array",
|
|
312
312
|
{
|
|
313
313
|
"countType": "li32",
|
|
314
|
-
"type": "
|
|
314
|
+
"type": "ShortString"
|
|
315
315
|
}
|
|
316
316
|
]
|
|
317
317
|
},
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
"array",
|
|
322
322
|
{
|
|
323
323
|
"countType": "li32",
|
|
324
|
-
"type": "
|
|
324
|
+
"type": "ShortString"
|
|
325
325
|
}
|
|
326
326
|
]
|
|
327
327
|
},
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"array",
|
|
379
379
|
{
|
|
380
380
|
"countType": "li32",
|
|
381
|
-
"type": "
|
|
381
|
+
"type": "ShortString"
|
|
382
382
|
}
|
|
383
383
|
]
|
|
384
384
|
},
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
"array",
|
|
389
389
|
{
|
|
390
390
|
"countType": "li32",
|
|
391
|
-
"type": "
|
|
391
|
+
"type": "ShortString"
|
|
392
392
|
}
|
|
393
393
|
]
|
|
394
394
|
}
|
|
@@ -7810,7 +7810,7 @@
|
|
|
7810
7810
|
},
|
|
7811
7811
|
{
|
|
7812
7812
|
"name": "position",
|
|
7813
|
-
"type": "
|
|
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"
|
|
10257
|
-
"mine"
|
|
10258
|
-
"doors_and_switches"
|
|
10259
|
-
"open_containers"
|
|
10260
|
-
"attack_players"
|
|
10261
|
-
"attack_mobs"
|
|
10262
|
-
"operator_commands"
|
|
10263
|
-
"teleport"
|
|
10264
|
-
"invulnerable"
|
|
10265
|
-
"flying"
|
|
10266
|
-
"may_fly"
|
|
10267
|
-
"instant_build"
|
|
10268
|
-
"lightning"
|
|
10269
|
-
"fly_speed"
|
|
10270
|
-
"walk_speed"
|
|
10271
|
-
"muted"
|
|
10272
|
-
"world_builder"
|
|
10273
|
-
"no_clip"
|
|
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:
|
|
92
|
-
can_destroy:
|
|
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:
|
|
105
|
-
can_destroy:
|
|
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"
|
|
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
|
-
|
|
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:
|
|
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:
|
|
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": "
|
|
314
|
+
"type": "ShortString"
|
|
315
315
|
}
|
|
316
316
|
]
|
|
317
317
|
},
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
"array",
|
|
322
322
|
{
|
|
323
323
|
"countType": "li32",
|
|
324
|
-
"type": "
|
|
324
|
+
"type": "ShortString"
|
|
325
325
|
}
|
|
326
326
|
]
|
|
327
327
|
},
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"array",
|
|
379
379
|
{
|
|
380
380
|
"countType": "li32",
|
|
381
|
-
"type": "
|
|
381
|
+
"type": "ShortString"
|
|
382
382
|
}
|
|
383
383
|
]
|
|
384
384
|
},
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
"array",
|
|
389
389
|
{
|
|
390
390
|
"countType": "li32",
|
|
391
|
-
"type": "
|
|
391
|
+
"type": "ShortString"
|
|
392
392
|
}
|
|
393
393
|
]
|
|
394
394
|
}
|
|
@@ -6324,7 +6324,7 @@
|
|
|
6324
6324
|
},
|
|
6325
6325
|
{
|
|
6326
6326
|
"name": "origin",
|
|
6327
|
-
"type": "
|
|
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": "
|
|
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"
|
|
10449
|
-
"mine"
|
|
10450
|
-
"doors_and_switches"
|
|
10451
|
-
"open_containers"
|
|
10452
|
-
"attack_players"
|
|
10453
|
-
"attack_mobs"
|
|
10454
|
-
"operator_commands"
|
|
10455
|
-
"teleport"
|
|
10456
|
-
"invulnerable"
|
|
10457
|
-
"flying"
|
|
10458
|
-
"may_fly"
|
|
10459
|
-
"instant_build"
|
|
10460
|
-
"lightning"
|
|
10461
|
-
"fly_speed"
|
|
10462
|
-
"walk_speed"
|
|
10463
|
-
"muted"
|
|
10464
|
-
"world_builder"
|
|
10465
|
-
"no_clip"
|
|
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:
|
|
92
|
-
can_destroy:
|
|
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:
|
|
105
|
-
can_destroy:
|
|
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"
|
|
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
|
-
|
|
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:
|
|
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:
|
|
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": "
|
|
314
|
+
"type": "ShortString"
|
|
315
315
|
}
|
|
316
316
|
]
|
|
317
317
|
},
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
"array",
|
|
322
322
|
{
|
|
323
323
|
"countType": "li32",
|
|
324
|
-
"type": "
|
|
324
|
+
"type": "ShortString"
|
|
325
325
|
}
|
|
326
326
|
]
|
|
327
327
|
},
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"array",
|
|
379
379
|
{
|
|
380
380
|
"countType": "li32",
|
|
381
|
-
"type": "
|
|
381
|
+
"type": "ShortString"
|
|
382
382
|
}
|
|
383
383
|
]
|
|
384
384
|
},
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
"array",
|
|
389
389
|
{
|
|
390
390
|
"countType": "li32",
|
|
391
|
-
"type": "
|
|
391
|
+
"type": "ShortString"
|
|
392
392
|
}
|
|
393
393
|
]
|
|
394
394
|
}
|
|
@@ -6324,7 +6324,7 @@
|
|
|
6324
6324
|
},
|
|
6325
6325
|
{
|
|
6326
6326
|
"name": "origin",
|
|
6327
|
-
"type": "
|
|
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": "
|
|
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"
|
|
10449
|
-
"mine"
|
|
10450
|
-
"doors_and_switches"
|
|
10451
|
-
"open_containers"
|
|
10452
|
-
"attack_players"
|
|
10453
|
-
"attack_mobs"
|
|
10454
|
-
"operator_commands"
|
|
10455
|
-
"teleport"
|
|
10456
|
-
"invulnerable"
|
|
10457
|
-
"flying"
|
|
10458
|
-
"may_fly"
|
|
10459
|
-
"instant_build"
|
|
10460
|
-
"lightning"
|
|
10461
|
-
"fly_speed"
|
|
10462
|
-
"walk_speed"
|
|
10463
|
-
"muted"
|
|
10464
|
-
"world_builder"
|
|
10465
|
-
"no_clip"
|
|
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:
|
|
92
|
-
can_destroy:
|
|
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:
|
|
105
|
-
can_destroy:
|
|
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"
|
|
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
|
-
|
|
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:
|
|
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:
|
|
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.
|