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
package/data.js
CHANGED
|
@@ -1203,8 +1203,8 @@ module.exports =
|
|
|
1203
1203
|
'1.16.201': {
|
|
1204
1204
|
get protocol () { return require("./minecraft-data/data/bedrock/1.16.201/protocol.json") },
|
|
1205
1205
|
get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
|
|
1206
|
-
proto: __dirname + '/minecraft-data/data/bedrock/1.
|
|
1207
|
-
types: __dirname + '/minecraft-data/data/bedrock/1.
|
|
1206
|
+
proto: __dirname + '/minecraft-data/data/bedrock/1.16.201/proto.yml',
|
|
1207
|
+
types: __dirname + '/minecraft-data/data/bedrock/1.16.201/types.yml',
|
|
1208
1208
|
get windows () { return require("./minecraft-data/data/bedrock/1.16.201/windows.json") },
|
|
1209
1209
|
get enchantments () { return require("./minecraft-data/data/bedrock/1.16.201/enchantments.json") },
|
|
1210
1210
|
get version () { return require("./minecraft-data/data/bedrock/1.16.201/version.json") }
|
|
@@ -1212,8 +1212,8 @@ module.exports =
|
|
|
1212
1212
|
'1.16.210': {
|
|
1213
1213
|
get protocol () { return require("./minecraft-data/data/bedrock/1.16.210/protocol.json") },
|
|
1214
1214
|
get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
|
|
1215
|
-
proto: __dirname + '/minecraft-data/data/bedrock/1.
|
|
1216
|
-
types: __dirname + '/minecraft-data/data/bedrock/1.
|
|
1215
|
+
proto: __dirname + '/minecraft-data/data/bedrock/1.16.210/proto.yml',
|
|
1216
|
+
types: __dirname + '/minecraft-data/data/bedrock/1.16.210/types.yml',
|
|
1217
1217
|
get enchantments () { return require("./minecraft-data/data/bedrock/1.16.201/enchantments.json") },
|
|
1218
1218
|
get version () { return require("./minecraft-data/data/bedrock/1.16.210/version.json") }
|
|
1219
1219
|
},
|
|
@@ -1225,8 +1225,8 @@ module.exports =
|
|
|
1225
1225
|
get enchantments () { return require("./minecraft-data/data/bedrock/1.16.201/enchantments.json") },
|
|
1226
1226
|
get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
|
|
1227
1227
|
get protocol () { return require("./minecraft-data/data/bedrock/1.16.220/protocol.json") },
|
|
1228
|
-
proto: __dirname + '/minecraft-data/data/bedrock/1.
|
|
1229
|
-
types: __dirname + '/minecraft-data/data/bedrock/1.
|
|
1228
|
+
proto: __dirname + '/minecraft-data/data/bedrock/1.16.220/proto.yml',
|
|
1229
|
+
types: __dirname + '/minecraft-data/data/bedrock/1.16.220/types.yml',
|
|
1230
1230
|
get version () { return require("./minecraft-data/data/bedrock/1.16.220/version.json") }
|
|
1231
1231
|
},
|
|
1232
1232
|
'1.17.0': {
|
|
@@ -1562,8 +1562,8 @@ module.exports =
|
|
|
1562
1562
|
get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
|
|
1563
1563
|
get blocksB2J () { return require("./minecraft-data/data/bedrock/1.19.1/blocksB2J.json") },
|
|
1564
1564
|
get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.19.1/blocksJ2B.json") },
|
|
1565
|
-
proto: __dirname + '/minecraft-data/data/bedrock/
|
|
1566
|
-
types: __dirname + '/minecraft-data/data/bedrock/
|
|
1565
|
+
proto: __dirname + '/minecraft-data/data/bedrock/1.19.62/proto.yml',
|
|
1566
|
+
types: __dirname + '/minecraft-data/data/bedrock/1.19.62/types.yml',
|
|
1567
1567
|
get version () { return require("./minecraft-data/data/bedrock/1.19.62/version.json") }
|
|
1568
1568
|
},
|
|
1569
1569
|
'1.19.63': {
|
|
@@ -1583,9 +1583,51 @@ module.exports =
|
|
|
1583
1583
|
get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
|
|
1584
1584
|
get blocksB2J () { return require("./minecraft-data/data/bedrock/1.19.1/blocksB2J.json") },
|
|
1585
1585
|
get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.19.1/blocksJ2B.json") },
|
|
1586
|
+
proto: __dirname + '/minecraft-data/data/bedrock/1.19.62/proto.yml',
|
|
1587
|
+
types: __dirname + '/minecraft-data/data/bedrock/1.19.62/types.yml',
|
|
1588
|
+
get version () { return require("./minecraft-data/data/bedrock/1.19.63/version.json") }
|
|
1589
|
+
},
|
|
1590
|
+
'1.19.70': {
|
|
1591
|
+
get blocks () { return require("./minecraft-data/data/bedrock/1.19.1/blocks.json") },
|
|
1592
|
+
get blockStates () { return require("./minecraft-data/data/bedrock/1.19.1/blockStates.json") },
|
|
1593
|
+
get blockCollisionShapes () { return require("./minecraft-data/data/bedrock/1.19.1/blockCollisionShapes.json") },
|
|
1594
|
+
get biomes () { return require("./minecraft-data/data/bedrock/1.19.1/biomes.json") },
|
|
1595
|
+
get entities () { return require("./minecraft-data/data/bedrock/1.19.1/entities.json") },
|
|
1596
|
+
get items () { return require("./minecraft-data/data/bedrock/1.19.10/items.json") },
|
|
1597
|
+
get recipes () { return require("./minecraft-data/data/bedrock/1.19.10/recipes.json") },
|
|
1598
|
+
get instruments () { return require("./minecraft-data/data/bedrock/1.17.0/instruments.json") },
|
|
1599
|
+
get materials () { return require("./minecraft-data/data/pc/1.17/materials.json") },
|
|
1600
|
+
get enchantments () { return require("./minecraft-data/data/bedrock/1.19.1/enchantments.json") },
|
|
1601
|
+
get effects () { return require("./minecraft-data/data/pc/1.17/effects.json") },
|
|
1602
|
+
get protocol () { return require("./minecraft-data/data/bedrock/1.19.70/protocol.json") },
|
|
1603
|
+
get windows () { return require("./minecraft-data/data/bedrock/1.16.201/windows.json") },
|
|
1604
|
+
get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
|
|
1605
|
+
get blocksB2J () { return require("./minecraft-data/data/bedrock/1.19.1/blocksB2J.json") },
|
|
1606
|
+
get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.19.1/blocksJ2B.json") },
|
|
1607
|
+
proto: __dirname + '/minecraft-data/data/bedrock/1.19.70/proto.yml',
|
|
1608
|
+
types: __dirname + '/minecraft-data/data/bedrock/1.19.70/types.yml',
|
|
1609
|
+
get version () { return require("./minecraft-data/data/bedrock/1.19.70/version.json") }
|
|
1610
|
+
},
|
|
1611
|
+
'1.19.80': {
|
|
1612
|
+
get blocks () { return require("./minecraft-data/data/bedrock/1.19.1/blocks.json") },
|
|
1613
|
+
get blockStates () { return require("./minecraft-data/data/bedrock/1.19.1/blockStates.json") },
|
|
1614
|
+
get blockCollisionShapes () { return require("./minecraft-data/data/bedrock/1.19.1/blockCollisionShapes.json") },
|
|
1615
|
+
get biomes () { return require("./minecraft-data/data/bedrock/1.19.1/biomes.json") },
|
|
1616
|
+
get entities () { return require("./minecraft-data/data/bedrock/1.19.1/entities.json") },
|
|
1617
|
+
get items () { return require("./minecraft-data/data/bedrock/1.19.10/items.json") },
|
|
1618
|
+
get recipes () { return require("./minecraft-data/data/bedrock/1.19.10/recipes.json") },
|
|
1619
|
+
get instruments () { return require("./minecraft-data/data/bedrock/1.17.0/instruments.json") },
|
|
1620
|
+
get materials () { return require("./minecraft-data/data/pc/1.17/materials.json") },
|
|
1621
|
+
get enchantments () { return require("./minecraft-data/data/bedrock/1.19.1/enchantments.json") },
|
|
1622
|
+
get effects () { return require("./minecraft-data/data/pc/1.17/effects.json") },
|
|
1623
|
+
get protocol () { return require("./minecraft-data/data/bedrock/1.19.80/protocol.json") },
|
|
1624
|
+
get windows () { return require("./minecraft-data/data/bedrock/1.16.201/windows.json") },
|
|
1625
|
+
get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
|
|
1626
|
+
get blocksB2J () { return require("./minecraft-data/data/bedrock/1.19.1/blocksB2J.json") },
|
|
1627
|
+
get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.19.1/blocksJ2B.json") },
|
|
1586
1628
|
proto: __dirname + '/minecraft-data/data/bedrock/latest/proto.yml',
|
|
1587
1629
|
types: __dirname + '/minecraft-data/data/bedrock/latest/types.yml',
|
|
1588
|
-
get version () { return require("./minecraft-data/data/bedrock/1.19.
|
|
1630
|
+
get version () { return require("./minecraft-data/data/bedrock/1.19.80/version.json") }
|
|
1589
1631
|
}
|
|
1590
1632
|
}
|
|
1591
1633
|
}
|
package/doc/api.md
CHANGED
|
@@ -54,6 +54,10 @@ Example:
|
|
|
54
54
|
console.log(mcData.blocksByStateId[100]) // Object containing information for "Lava" (as Lava has a state range from 91 to 106)
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
### mcData.blockMappings
|
|
58
|
+
|
|
59
|
+
Contains a list of block mappings between pc/bedrock edition for the current Minecraft version
|
|
60
|
+
|
|
57
61
|
### mcData.blockStates
|
|
58
62
|
|
|
59
63
|
**_Bedrock edition only_**
|
package/doc/history.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -992,11 +992,15 @@ declare namespace MinecraftData {
|
|
|
992
992
|
export interface IndexedData {
|
|
993
993
|
isOlderThan(version: string): boolean
|
|
994
994
|
isNewerOrEqualTo(version: string): boolean
|
|
995
|
-
|
|
995
|
+
|
|
996
996
|
blocks: { [id: number]: Block }
|
|
997
997
|
blocksByName: { [name: string]: Block }
|
|
998
998
|
blocksByStateId: { [id: number]: Block }
|
|
999
999
|
blocksArray: Block[]
|
|
1000
|
+
blockMappings: {
|
|
1001
|
+
pc: { name: string, states: Record<string, string | number> },
|
|
1002
|
+
pe: { name: string, states: Record<string, string | number> }
|
|
1003
|
+
}[]
|
|
1000
1004
|
/**
|
|
1001
1005
|
* Bedrock edition only
|
|
1002
1006
|
*/
|
package/lib/loader.js
CHANGED
|
@@ -7,7 +7,7 @@ function mcDataToNode (mcData) {
|
|
|
7
7
|
blocksByName: indexes.blocksByName,
|
|
8
8
|
blocksArray: mcData.blocks,
|
|
9
9
|
blocksByStateId: indexes.blocksByStateId,
|
|
10
|
-
|
|
10
|
+
blockMappings: mcData.blockMappings,
|
|
11
11
|
blockStates: mcData.blockStates, // bedrock
|
|
12
12
|
|
|
13
13
|
blockCollisionShapes: mcData.blockCollisionShapes,
|
package/minecraft-data/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Language independent module providing minecraft data for minecraft clients, serv
|
|
|
10
10
|
Supports
|
|
11
11
|
* Minecraft PC version 0.30c (classic), 1.7.10, 1.8.8, 1.9 (15w40b, 1.9, 1.9.1-pre2, 1.9.2, 1.9.4),
|
|
12
12
|
1.10 (16w20a, 1.10-pre1, 1.10, 1.10.1, 1.10.2), 1.11 (16w35a, 1.11, 1.11.2), 1.12 (17w15a, 17w18b, 1.12-pre4, 1.12, 1.12.1, 1.12.2), 1.13 (17w50a, 1.13, 1.13.1, 1.13.2-pre1, 1.13.2-pre2, 1.13.2), 1.14 (1.14, 1.14.1, 1.14.3, 1.14.4), 1.15 (1.15, 1.15.1, 1.15.2), 1.16 (20w13b, 20w14a, 1.16-rc1, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5), 1.17, 1.17.1, 1.18 (1.18, 1.18.1, 1.18.2), 1.19 (1.19, 1.19.2, 1.19.3)
|
|
13
|
-
* Minecraft bedrock version 0.14, 0.15, 1.0, 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1, 1.19.10, 1.19.20, 1.19.21, 1.19.30, 1.19.40, 1.19.50, 1.19.60, 1.19.62, 1.19.63
|
|
13
|
+
* Minecraft bedrock version 0.14, 0.15, 1.0, 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1, 1.19.10, 1.19.20, 1.19.21, 1.19.30, 1.19.40, 1.19.50, 1.19.60, 1.19.62, 1.19.63, 1.19.70, 1.19.80
|
|
14
14
|
|
|
15
15
|
## Wrappers
|
|
16
16
|
|
|
@@ -1725,13 +1725,22 @@ packet_set_score:
|
|
|
1725
1725
|
!bound: client
|
|
1726
1726
|
entries: ScoreEntries
|
|
1727
1727
|
|
|
1728
|
+
# LabTable is sent by the client to let the server know it started a chemical reaction in Education Edition,
|
|
1729
|
+
# and is sent by the server to other clients to show the effects.
|
|
1730
|
+
# The packet is only functional if Education features are enabled.
|
|
1728
1731
|
packet_lab_table:
|
|
1729
1732
|
!id: 0x6d
|
|
1730
1733
|
!bound: both
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1734
|
+
# ActionType is the type of the action that was executed. It is one of the constants above. Typically,
|
|
1735
|
+
# only LabTableActionCombine is sent by the client, whereas LabTableActionReact is sent by the server.
|
|
1736
|
+
action_type: u8 =>
|
|
1737
|
+
0: combine
|
|
1738
|
+
1: react
|
|
1739
|
+
# Position is the position at which the lab table used was located.
|
|
1740
|
+
position: vec3i
|
|
1741
|
+
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
1742
|
+
# table. The reaction type can be either that of an item or a particle, depending on whatever the result
|
|
1743
|
+
# was of the reaction.
|
|
1735
1744
|
reaction_type: u8
|
|
1736
1745
|
|
|
1737
1746
|
packet_update_block_synced:
|
|
@@ -6194,20 +6194,21 @@
|
|
|
6194
6194
|
"container",
|
|
6195
6195
|
[
|
|
6196
6196
|
{
|
|
6197
|
-
"name": "
|
|
6198
|
-
"type":
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6197
|
+
"name": "action_type",
|
|
6198
|
+
"type": [
|
|
6199
|
+
"mapper",
|
|
6200
|
+
{
|
|
6201
|
+
"type": "u8",
|
|
6202
|
+
"mappings": {
|
|
6203
|
+
"0": "combine",
|
|
6204
|
+
"1": "react"
|
|
6205
|
+
}
|
|
6206
|
+
}
|
|
6207
|
+
]
|
|
6207
6208
|
},
|
|
6208
6209
|
{
|
|
6209
|
-
"name": "
|
|
6210
|
-
"type": "
|
|
6210
|
+
"name": "position",
|
|
6211
|
+
"type": "vec3i"
|
|
6211
6212
|
},
|
|
6212
6213
|
{
|
|
6213
6214
|
"name": "reaction_type",
|
|
@@ -1793,13 +1793,22 @@ packet_set_score:
|
|
|
1793
1793
|
!bound: client
|
|
1794
1794
|
entries: ScoreEntries
|
|
1795
1795
|
|
|
1796
|
+
# LabTable is sent by the client to let the server know it started a chemical reaction in Education Edition,
|
|
1797
|
+
# and is sent by the server to other clients to show the effects.
|
|
1798
|
+
# The packet is only functional if Education features are enabled.
|
|
1796
1799
|
packet_lab_table:
|
|
1797
1800
|
!id: 0x6d
|
|
1798
1801
|
!bound: both
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1802
|
+
# ActionType is the type of the action that was executed. It is one of the constants above. Typically,
|
|
1803
|
+
# only LabTableActionCombine is sent by the client, whereas LabTableActionReact is sent by the server.
|
|
1804
|
+
action_type: u8 =>
|
|
1805
|
+
0: combine
|
|
1806
|
+
1: react
|
|
1807
|
+
# Position is the position at which the lab table used was located.
|
|
1808
|
+
position: vec3i
|
|
1809
|
+
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
1810
|
+
# table. The reaction type can be either that of an item or a particle, depending on whatever the result
|
|
1811
|
+
# was of the reaction.
|
|
1803
1812
|
reaction_type: u8
|
|
1804
1813
|
|
|
1805
1814
|
# UpdateBlockSynced is sent by the server to synchronise the falling of a falling block entity with the
|
|
@@ -6405,20 +6405,21 @@
|
|
|
6405
6405
|
"container",
|
|
6406
6406
|
[
|
|
6407
6407
|
{
|
|
6408
|
-
"name": "
|
|
6409
|
-
"type":
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6408
|
+
"name": "action_type",
|
|
6409
|
+
"type": [
|
|
6410
|
+
"mapper",
|
|
6411
|
+
{
|
|
6412
|
+
"type": "u8",
|
|
6413
|
+
"mappings": {
|
|
6414
|
+
"0": "combine",
|
|
6415
|
+
"1": "react"
|
|
6416
|
+
}
|
|
6417
|
+
}
|
|
6418
|
+
]
|
|
6418
6419
|
},
|
|
6419
6420
|
{
|
|
6420
|
-
"name": "
|
|
6421
|
-
"type": "
|
|
6421
|
+
"name": "position",
|
|
6422
|
+
"type": "vec3i"
|
|
6422
6423
|
},
|
|
6423
6424
|
{
|
|
6424
6425
|
"name": "reaction_type",
|
|
@@ -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
|
|
@@ -2140,7 +2141,7 @@ packet_lab_table:
|
|
|
2140
2141
|
0: combine
|
|
2141
2142
|
1: react
|
|
2142
2143
|
# Position is the position at which the lab table used was located.
|
|
2143
|
-
position:
|
|
2144
|
+
position: vec3i
|
|
2144
2145
|
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
2145
2146
|
# table. The reaction type can be either that of an item or a particle, depending on whatever the result
|
|
2146
2147
|
# was of the reaction.
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
"array",
|
|
307
307
|
{
|
|
308
308
|
"countType": "li32",
|
|
309
|
-
"type": "
|
|
309
|
+
"type": "ShortString"
|
|
310
310
|
}
|
|
311
311
|
]
|
|
312
312
|
},
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
"array",
|
|
317
317
|
{
|
|
318
318
|
"countType": "li32",
|
|
319
|
-
"type": "
|
|
319
|
+
"type": "ShortString"
|
|
320
320
|
}
|
|
321
321
|
]
|
|
322
322
|
},
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
"array",
|
|
374
374
|
{
|
|
375
375
|
"countType": "li32",
|
|
376
|
-
"type": "
|
|
376
|
+
"type": "ShortString"
|
|
377
377
|
}
|
|
378
378
|
]
|
|
379
379
|
},
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
"array",
|
|
384
384
|
{
|
|
385
385
|
"countType": "li32",
|
|
386
|
-
"type": "
|
|
386
|
+
"type": "ShortString"
|
|
387
387
|
}
|
|
388
388
|
]
|
|
389
389
|
}
|
|
@@ -7167,7 +7167,7 @@
|
|
|
7167
7167
|
},
|
|
7168
7168
|
{
|
|
7169
7169
|
"name": "position",
|
|
7170
|
-
"type": "
|
|
7170
|
+
"type": "vec3i"
|
|
7171
7171
|
},
|
|
7172
7172
|
{
|
|
7173
7173
|
"name": "reaction_type",
|
|
@@ -8595,6 +8595,12 @@
|
|
|
8595
8595
|
"countType": "li16"
|
|
8596
8596
|
}
|
|
8597
8597
|
],
|
|
8598
|
+
"ShortString": [
|
|
8599
|
+
"pstring",
|
|
8600
|
+
{
|
|
8601
|
+
"countType": "li16"
|
|
8602
|
+
}
|
|
8603
|
+
],
|
|
8598
8604
|
"MetadataFlags1": [
|
|
8599
8605
|
"bitflags",
|
|
8600
8606
|
{
|
|
@@ -86,8 +86,8 @@ ItemExtraDataWithBlockingTick:
|
|
|
86
86
|
version: u8
|
|
87
87
|
nbt: lnbt
|
|
88
88
|
default: void
|
|
89
|
-
can_place_on:
|
|
90
|
-
can_destroy:
|
|
89
|
+
can_place_on: ShortString[]li32
|
|
90
|
+
can_destroy: ShortString[]li32
|
|
91
91
|
blocking_tick: li64
|
|
92
92
|
|
|
93
93
|
ItemExtraDataWithoutBlockingTick:
|
|
@@ -99,8 +99,8 @@ ItemExtraDataWithoutBlockingTick:
|
|
|
99
99
|
version: u8
|
|
100
100
|
nbt: lnbt
|
|
101
101
|
default: void
|
|
102
|
-
can_place_on:
|
|
103
|
-
can_destroy:
|
|
102
|
+
can_place_on: ShortString[]li32
|
|
103
|
+
can_destroy: ShortString[]li32
|
|
104
104
|
|
|
105
105
|
# Same as below but without a "networkStackID" boolean
|
|
106
106
|
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
|
|
@@ -2142,7 +2143,7 @@ packet_lab_table:
|
|
|
2142
2143
|
0: combine
|
|
2143
2144
|
1: react
|
|
2144
2145
|
# Position is the position at which the lab table used was located.
|
|
2145
|
-
position:
|
|
2146
|
+
position: vec3i
|
|
2146
2147
|
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
2147
2148
|
# table. The reaction type can be either that of an item or a particle, depending on whatever the result
|
|
2148
2149
|
# was of the reaction.
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
"array",
|
|
311
311
|
{
|
|
312
312
|
"countType": "li32",
|
|
313
|
-
"type": "
|
|
313
|
+
"type": "ShortString"
|
|
314
314
|
}
|
|
315
315
|
]
|
|
316
316
|
},
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
"array",
|
|
321
321
|
{
|
|
322
322
|
"countType": "li32",
|
|
323
|
-
"type": "
|
|
323
|
+
"type": "ShortString"
|
|
324
324
|
}
|
|
325
325
|
]
|
|
326
326
|
},
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
"array",
|
|
378
378
|
{
|
|
379
379
|
"countType": "li32",
|
|
380
|
-
"type": "
|
|
380
|
+
"type": "ShortString"
|
|
381
381
|
}
|
|
382
382
|
]
|
|
383
383
|
},
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
"array",
|
|
388
388
|
{
|
|
389
389
|
"countType": "li32",
|
|
390
|
-
"type": "
|
|
390
|
+
"type": "ShortString"
|
|
391
391
|
}
|
|
392
392
|
]
|
|
393
393
|
}
|
|
@@ -7246,7 +7246,7 @@
|
|
|
7246
7246
|
},
|
|
7247
7247
|
{
|
|
7248
7248
|
"name": "position",
|
|
7249
|
-
"type": "
|
|
7249
|
+
"type": "vec3i"
|
|
7250
7250
|
},
|
|
7251
7251
|
{
|
|
7252
7252
|
"name": "reaction_type",
|
|
@@ -8705,6 +8705,12 @@
|
|
|
8705
8705
|
"countType": "li16"
|
|
8706
8706
|
}
|
|
8707
8707
|
],
|
|
8708
|
+
"ShortString": [
|
|
8709
|
+
"pstring",
|
|
8710
|
+
{
|
|
8711
|
+
"countType": "li16"
|
|
8712
|
+
}
|
|
8713
|
+
],
|
|
8708
8714
|
"MetadataFlags1": [
|
|
8709
8715
|
"bitflags",
|
|
8710
8716
|
{
|
|
@@ -87,8 +87,8 @@ ItemExtraDataWithBlockingTick:
|
|
|
87
87
|
version: u8
|
|
88
88
|
nbt: lnbt
|
|
89
89
|
default: void
|
|
90
|
-
can_place_on:
|
|
91
|
-
can_destroy:
|
|
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:
|
|
104
|
-
can_destroy:
|
|
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
|
|
@@ -2239,7 +2240,7 @@ packet_lab_table:
|
|
|
2239
2240
|
0: combine
|
|
2240
2241
|
1: react
|
|
2241
2242
|
# Position is the position at which the lab table used was located.
|
|
2242
|
-
position:
|
|
2243
|
+
position: vec3i
|
|
2243
2244
|
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
2244
2245
|
# table. The reaction type can be either that of an item or a particle, depending on whatever the result
|
|
2245
2246
|
# was of the reaction.
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
"array",
|
|
311
311
|
{
|
|
312
312
|
"countType": "li32",
|
|
313
|
-
"type": "
|
|
313
|
+
"type": "ShortString"
|
|
314
314
|
}
|
|
315
315
|
]
|
|
316
316
|
},
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
"array",
|
|
321
321
|
{
|
|
322
322
|
"countType": "li32",
|
|
323
|
-
"type": "
|
|
323
|
+
"type": "ShortString"
|
|
324
324
|
}
|
|
325
325
|
]
|
|
326
326
|
},
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
"array",
|
|
378
378
|
{
|
|
379
379
|
"countType": "li32",
|
|
380
|
-
"type": "
|
|
380
|
+
"type": "ShortString"
|
|
381
381
|
}
|
|
382
382
|
]
|
|
383
383
|
},
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
"array",
|
|
388
388
|
{
|
|
389
389
|
"countType": "li32",
|
|
390
|
-
"type": "
|
|
390
|
+
"type": "ShortString"
|
|
391
391
|
}
|
|
392
392
|
]
|
|
393
393
|
}
|
|
@@ -7362,7 +7362,7 @@
|
|
|
7362
7362
|
},
|
|
7363
7363
|
{
|
|
7364
7364
|
"name": "position",
|
|
7365
|
-
"type": "
|
|
7365
|
+
"type": "vec3i"
|
|
7366
7366
|
},
|
|
7367
7367
|
{
|
|
7368
7368
|
"name": "reaction_type",
|
|
@@ -8879,6 +8879,12 @@
|
|
|
8879
8879
|
"countType": "li16"
|
|
8880
8880
|
}
|
|
8881
8881
|
],
|
|
8882
|
+
"ShortString": [
|
|
8883
|
+
"pstring",
|
|
8884
|
+
{
|
|
8885
|
+
"countType": "li16"
|
|
8886
|
+
}
|
|
8887
|
+
],
|
|
8882
8888
|
"MetadataFlags1": [
|
|
8883
8889
|
"bitflags",
|
|
8884
8890
|
{
|
|
@@ -87,8 +87,8 @@ ItemExtraDataWithBlockingTick:
|
|
|
87
87
|
version: u8
|
|
88
88
|
nbt: lnbt
|
|
89
89
|
default: void
|
|
90
|
-
can_place_on:
|
|
91
|
-
can_destroy:
|
|
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:
|
|
104
|
-
can_destroy:
|
|
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:
|
|
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.
|