minecraft-data 3.104.0 → 3.105.1
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/commands.yml +24 -0
- package/.github/workflows/npm-publish.yml +6 -4
- package/data.js +28 -1
- package/doc/history.md +8 -0
- package/index.d.ts +3 -3
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.16.220/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.17.0/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.17.10/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.17.30/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.17.40/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.18.0/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.18.11/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.18.30/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.1/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.10/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.20/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.21/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.30/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.40/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.50/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.60/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.62/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.70/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.19.80/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.20.0/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.20.10/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.20.10/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.20.30/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.20.30/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.20.40/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.20.40/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.20.50/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.20.50/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.20.61/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.20.61/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.20.71/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.20.71/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.20.80/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.20.80/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.0/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.0/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.100/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.100/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.111/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.111/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.120/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.120/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.124/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.124/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.130/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.130/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.2/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.2/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.20/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.20/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.30/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.30/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.42/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.42/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.50/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.50/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.60/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.60/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.70/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.70/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.80/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.80/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.90/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.90/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.21.93/protocol.json +36 -1
- package/minecraft-data/data/bedrock/1.21.93/types.yml +5 -30
- package/minecraft-data/data/bedrock/1.26.0/protocol.json +36 -1
- package/minecraft-data/data/bedrock/latest/types.yml +5 -30
- package/minecraft-data/data/dataPaths.json +28 -1
- package/minecraft-data/data/pc/1.10/proto.yml +7 -9
- package/minecraft-data/data/pc/1.10/protocol.json +23 -30
- package/minecraft-data/data/pc/1.10-pre1/proto.yml +7 -9
- package/minecraft-data/data/pc/1.10-pre1/protocol.json +23 -30
- package/minecraft-data/data/pc/1.11/proto.yml +7 -9
- package/minecraft-data/data/pc/1.11/protocol.json +23 -30
- package/minecraft-data/data/pc/1.12/proto.yml +7 -9
- package/minecraft-data/data/pc/1.12/protocol.json +23 -30
- package/minecraft-data/data/pc/1.12-pre4/proto.yml +7 -9
- package/minecraft-data/data/pc/1.12-pre4/protocol.json +23 -30
- package/minecraft-data/data/pc/1.12.1/proto.yml +7 -9
- package/minecraft-data/data/pc/1.12.1/protocol.json +23 -30
- package/minecraft-data/data/pc/1.12.2/proto.yml +7 -9
- package/minecraft-data/data/pc/1.12.2/protocol.json +23 -30
- package/minecraft-data/data/pc/1.13/proto.yml +7 -9
- package/minecraft-data/data/pc/1.13/protocol.json +23 -30
- package/minecraft-data/data/pc/1.13.1/proto.yml +7 -9
- package/minecraft-data/data/pc/1.13.1/protocol.json +23 -30
- package/minecraft-data/data/pc/1.13.2/proto.yml +7 -9
- package/minecraft-data/data/pc/1.13.2/protocol.json +23 -30
- package/minecraft-data/data/pc/1.13.2-pre1/proto.yml +7 -9
- package/minecraft-data/data/pc/1.13.2-pre1/protocol.json +23 -30
- package/minecraft-data/data/pc/1.13.2-pre2/proto.yml +7 -9
- package/minecraft-data/data/pc/1.13.2-pre2/protocol.json +23 -30
- package/minecraft-data/data/pc/1.14/proto.yml +7 -9
- package/minecraft-data/data/pc/1.14/protocol.json +23 -30
- package/minecraft-data/data/pc/1.14.1/proto.yml +7 -9
- package/minecraft-data/data/pc/1.14.1/protocol.json +23 -30
- package/minecraft-data/data/pc/1.14.3/proto.yml +7 -9
- package/minecraft-data/data/pc/1.14.3/protocol.json +23 -30
- package/minecraft-data/data/pc/1.14.4/proto.yml +7 -9
- package/minecraft-data/data/pc/1.14.4/protocol.json +23 -30
- package/minecraft-data/data/pc/1.15/proto.yml +7 -9
- package/minecraft-data/data/pc/1.15/protocol.json +23 -30
- package/minecraft-data/data/pc/1.15.1/proto.yml +7 -9
- package/minecraft-data/data/pc/1.15.1/protocol.json +23 -30
- package/minecraft-data/data/pc/1.15.2/proto.yml +7 -9
- package/minecraft-data/data/pc/1.15.2/protocol.json +23 -30
- package/minecraft-data/data/pc/1.16/proto.yml +7 -9
- package/minecraft-data/data/pc/1.16/protocol.json +23 -30
- package/minecraft-data/data/pc/1.16-rc1/proto.yml +7 -9
- package/minecraft-data/data/pc/1.16-rc1/protocol.json +23 -30
- package/minecraft-data/data/pc/1.16.1/proto.yml +7 -9
- package/minecraft-data/data/pc/1.16.1/protocol.json +23 -30
- package/minecraft-data/data/pc/1.16.2/proto.yml +7 -9
- package/minecraft-data/data/pc/1.16.2/protocol.json +23 -30
- package/minecraft-data/data/pc/1.17/proto.yml +7 -9
- package/minecraft-data/data/pc/1.17/protocol.json +23 -30
- package/minecraft-data/data/pc/1.17.1/proto.yml +7 -9
- package/minecraft-data/data/pc/1.17.1/protocol.json +23 -30
- package/minecraft-data/data/pc/1.18/proto.yml +7 -9
- package/minecraft-data/data/pc/1.18/protocol.json +23 -30
- package/minecraft-data/data/pc/1.18.2/proto.yml +7 -9
- package/minecraft-data/data/pc/1.18.2/protocol.json +23 -30
- package/minecraft-data/data/pc/1.19/proto.yml +6 -6
- package/minecraft-data/data/pc/1.19/protocol.json +21 -20
- package/minecraft-data/data/pc/1.19.2/proto.yml +6 -6
- package/minecraft-data/data/pc/1.19.2/protocol.json +21 -20
- package/minecraft-data/data/pc/1.19.3/proto.yml +6 -6
- package/minecraft-data/data/pc/1.19.3/protocol.json +21 -20
- package/minecraft-data/data/pc/1.19.4/proto.yml +6 -6
- package/minecraft-data/data/pc/1.19.4/protocol.json +21 -20
- package/minecraft-data/data/pc/1.20/proto.yml +6 -6
- package/minecraft-data/data/pc/1.20/protocol.json +21 -20
- package/minecraft-data/data/pc/1.20.2/proto.yml +6 -6
- package/minecraft-data/data/pc/1.20.2/protocol.json +21 -20
- package/minecraft-data/data/pc/1.20.3/proto.yml +6 -6
- package/minecraft-data/data/pc/1.20.3/protocol.json +21 -20
- package/minecraft-data/data/pc/1.20.5/proto.yml +6 -6
- package/minecraft-data/data/pc/1.20.5/protocol.json +21 -20
- package/minecraft-data/data/pc/1.21.1/proto.yml +6 -6
- package/minecraft-data/data/pc/1.21.1/protocol.json +21 -20
- package/minecraft-data/data/pc/1.21.11/attributes.json +247 -0
- package/minecraft-data/data/pc/1.21.11/biomes.json +652 -0
- package/minecraft-data/data/pc/1.21.11/blockCollisionShapes.json +146215 -0
- package/minecraft-data/data/pc/1.21.11/blocks.json +44682 -0
- package/minecraft-data/data/pc/1.21.11/effects.json +242 -0
- package/minecraft-data/data/pc/1.21.11/enchantments.json +980 -0
- package/minecraft-data/data/pc/1.21.11/entities.json +4363 -0
- package/minecraft-data/data/pc/1.21.11/foods.json +442 -0
- package/minecraft-data/data/pc/1.21.11/instruments.json +94 -0
- package/minecraft-data/data/pc/1.21.11/items.json +10026 -0
- package/minecraft-data/data/pc/1.21.11/language.json +7769 -0
- package/minecraft-data/data/pc/1.21.11/loginPacket.json +19819 -0
- package/minecraft-data/data/pc/1.21.11/materials.json +233 -0
- package/minecraft-data/data/pc/1.21.11/particles.json +462 -0
- package/minecraft-data/data/pc/1.21.11/protocol.json +11696 -0
- package/minecraft-data/data/pc/1.21.11/recipes.json +31864 -0
- package/minecraft-data/data/pc/1.21.11/sounds.json +7354 -0
- package/minecraft-data/data/pc/1.21.11/tints.json +465 -0
- package/minecraft-data/data/pc/1.21.11/version.json +6 -0
- package/minecraft-data/data/pc/1.21.3/proto.yml +6 -6
- package/minecraft-data/data/pc/1.21.3/protocol.json +21 -20
- package/minecraft-data/data/pc/1.21.4/proto.yml +6 -6
- package/minecraft-data/data/pc/1.21.4/protocol.json +21 -20
- package/minecraft-data/data/pc/1.21.5/proto.yml +6 -6
- package/minecraft-data/data/pc/1.21.5/protocol.json +21 -20
- package/minecraft-data/data/pc/1.21.6/proto.yml +6 -6
- package/minecraft-data/data/pc/1.21.6/protocol.json +21 -20
- package/minecraft-data/data/pc/1.21.8/proto.yml +6 -6
- package/minecraft-data/data/pc/1.21.8/protocol.json +21 -20
- package/minecraft-data/data/pc/1.21.9/proto.yml +3771 -0
- package/minecraft-data/data/pc/1.7/proto.yml +6 -6
- package/minecraft-data/data/pc/1.7/protocol.json +21 -20
- package/minecraft-data/data/pc/1.8/proto.yml +9 -12
- package/minecraft-data/data/pc/1.8/protocol.json +25 -40
- package/minecraft-data/data/pc/1.9/proto.yml +7 -9
- package/minecraft-data/data/pc/1.9/protocol.json +23 -30
- package/minecraft-data/data/pc/1.9.1-pre2/proto.yml +7 -9
- package/minecraft-data/data/pc/1.9.1-pre2/protocol.json +23 -30
- package/minecraft-data/data/pc/1.9.2/proto.yml +7 -9
- package/minecraft-data/data/pc/1.9.2/protocol.json +23 -30
- package/minecraft-data/data/pc/1.9.4/proto.yml +7 -9
- package/minecraft-data/data/pc/1.9.4/protocol.json +23 -30
- package/minecraft-data/data/pc/15w40b/proto.yml +7 -9
- package/minecraft-data/data/pc/15w40b/protocol.json +23 -30
- package/minecraft-data/data/pc/16w20a/proto.yml +7 -9
- package/minecraft-data/data/pc/16w20a/protocol.json +23 -30
- package/minecraft-data/data/pc/16w35a/proto.yml +7 -9
- package/minecraft-data/data/pc/16w35a/protocol.json +23 -30
- package/minecraft-data/data/pc/17w15a/proto.yml +7 -9
- package/minecraft-data/data/pc/17w15a/protocol.json +23 -30
- package/minecraft-data/data/pc/17w18b/proto.yml +7 -9
- package/minecraft-data/data/pc/17w18b/protocol.json +23 -30
- package/minecraft-data/data/pc/17w50a/proto.yml +7 -9
- package/minecraft-data/data/pc/17w50a/protocol.json +23 -30
- package/minecraft-data/data/pc/20w13b/proto.yml +7 -9
- package/minecraft-data/data/pc/20w13b/protocol.json +23 -30
- package/minecraft-data/data/pc/21w07a/proto.yml +7 -9
- package/minecraft-data/data/pc/21w07a/protocol.json +23 -30
- package/minecraft-data/data/pc/common/features.json +5 -5
- package/minecraft-data/data/pc/common/protocolVersions.json +96 -0
- package/minecraft-data/data/pc/common/versions.json +2 -1
- package/minecraft-data/data/pc/latest/proto.yml +79 -3
- package/minecraft-data/doc/history.md +9 -0
- package/minecraft-data/tools/js/compileProtocol.js +8 -2
- package/package.json +2 -2
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Repo Commands
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
issue_comment: # Handle comment commands
|
|
5
|
+
types: [created]
|
|
6
|
+
pull_request: # Handle renamed PRs
|
|
7
|
+
types: [edited]
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
comment-trigger:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- name: Check out repository
|
|
16
|
+
uses: actions/checkout@v3
|
|
17
|
+
- name: Run command handlers
|
|
18
|
+
uses: PrismarineJS/prismarine-repo-actions@master
|
|
19
|
+
with:
|
|
20
|
+
# NOTE: You must specify a Personal Access Token (PAT) with repo access here. While you can use the default GITHUB_TOKEN, actions taken with it will not trigger other actions, so if you have a CI workflow, commits created by this action will not trigger it.
|
|
21
|
+
token: ${{ secrets.PAT_PASSWORD }}
|
|
22
|
+
# See `Options` section below for more info on these options
|
|
23
|
+
install-command: npm install
|
|
24
|
+
/fixlint.fix-command: npm run fix
|
|
@@ -4,6 +4,9 @@ on:
|
|
|
4
4
|
branches:
|
|
5
5
|
- master
|
|
6
6
|
workflow_dispatch:
|
|
7
|
+
permissions:
|
|
8
|
+
id-token: write
|
|
9
|
+
contents: write
|
|
7
10
|
jobs:
|
|
8
11
|
npm-publish:
|
|
9
12
|
name: npm-publish
|
|
@@ -16,12 +19,11 @@ jobs:
|
|
|
16
19
|
- name: Set up Node.js
|
|
17
20
|
uses: actions/setup-node@master
|
|
18
21
|
with:
|
|
19
|
-
node-version:
|
|
22
|
+
node-version: 24
|
|
23
|
+
registry-url: 'https://registry.npmjs.org'
|
|
20
24
|
- run: npm install
|
|
21
25
|
- id: publish
|
|
22
|
-
uses: JS-DevTools/npm-publish@
|
|
23
|
-
with:
|
|
24
|
-
token: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
26
|
+
uses: JS-DevTools/npm-publish@v4
|
|
25
27
|
- name: Create Release
|
|
26
28
|
if: steps.publish.outputs.type != 'none'
|
|
27
29
|
id: create_release
|
package/data.js
CHANGED
|
@@ -1665,7 +1665,7 @@ module.exports =
|
|
|
1665
1665
|
get tints () { return require("./minecraft-data/data/pc/1.21.9/tints.json") },
|
|
1666
1666
|
get version () { return require("./minecraft-data/data/pc/1.21.9/version.json") },
|
|
1667
1667
|
get windows () { return require("./minecraft-data/data/pc/1.16.1/windows.json") },
|
|
1668
|
-
proto: __dirname + '/minecraft-data/data/pc/
|
|
1668
|
+
proto: __dirname + '/minecraft-data/data/pc/1.21.9/proto.yml'
|
|
1669
1669
|
},
|
|
1670
1670
|
'1.21.10': {
|
|
1671
1671
|
get attributes () { return require("./minecraft-data/data/pc/1.21.9/attributes.json") },
|
|
@@ -1692,6 +1692,33 @@ module.exports =
|
|
|
1692
1692
|
get tints () { return require("./minecraft-data/data/pc/1.21.9/tints.json") },
|
|
1693
1693
|
get version () { return require("./minecraft-data/data/pc/1.21.9/version.json") },
|
|
1694
1694
|
get windows () { return require("./minecraft-data/data/pc/1.16.1/windows.json") },
|
|
1695
|
+
proto: __dirname + '/minecraft-data/data/pc/1.21.9/proto.yml'
|
|
1696
|
+
},
|
|
1697
|
+
'1.21.11': {
|
|
1698
|
+
get attributes () { return require("./minecraft-data/data/pc/1.21.11/attributes.json") },
|
|
1699
|
+
get blockCollisionShapes () { return require("./minecraft-data/data/pc/1.21.11/blockCollisionShapes.json") },
|
|
1700
|
+
get blocks () { return require("./minecraft-data/data/pc/1.21.11/blocks.json") },
|
|
1701
|
+
get blockLoot () { return require("./minecraft-data/data/pc/1.20/blockLoot.json") },
|
|
1702
|
+
get biomes () { return require("./minecraft-data/data/pc/1.21.11/biomes.json") },
|
|
1703
|
+
get commands () { return require("./minecraft-data/data/pc/1.20.3/commands.json") },
|
|
1704
|
+
get effects () { return require("./minecraft-data/data/pc/1.21.11/effects.json") },
|
|
1705
|
+
get enchantments () { return require("./minecraft-data/data/pc/1.21.11/enchantments.json") },
|
|
1706
|
+
get entities () { return require("./minecraft-data/data/pc/1.21.11/entities.json") },
|
|
1707
|
+
get entityLoot () { return require("./minecraft-data/data/pc/1.20/entityLoot.json") },
|
|
1708
|
+
get foods () { return require("./minecraft-data/data/pc/1.21.11/foods.json") },
|
|
1709
|
+
get instruments () { return require("./minecraft-data/data/pc/1.21.11/instruments.json") },
|
|
1710
|
+
get items () { return require("./minecraft-data/data/pc/1.21.11/items.json") },
|
|
1711
|
+
get language () { return require("./minecraft-data/data/pc/1.21.11/language.json") },
|
|
1712
|
+
get loginPacket () { return require("./minecraft-data/data/pc/1.21.11/loginPacket.json") },
|
|
1713
|
+
get mapIcons () { return require("./minecraft-data/data/pc/1.20.2/mapIcons.json") },
|
|
1714
|
+
get materials () { return require("./minecraft-data/data/pc/1.21.11/materials.json") },
|
|
1715
|
+
get particles () { return require("./minecraft-data/data/pc/1.21.11/particles.json") },
|
|
1716
|
+
get protocol () { return require("./minecraft-data/data/pc/1.21.11/protocol.json") },
|
|
1717
|
+
get recipes () { return require("./minecraft-data/data/pc/1.21.11/recipes.json") },
|
|
1718
|
+
get sounds () { return require("./minecraft-data/data/pc/1.21.11/sounds.json") },
|
|
1719
|
+
get tints () { return require("./minecraft-data/data/pc/1.21.11/tints.json") },
|
|
1720
|
+
get version () { return require("./minecraft-data/data/pc/1.21.11/version.json") },
|
|
1721
|
+
get windows () { return require("./minecraft-data/data/pc/1.16.1/windows.json") },
|
|
1695
1722
|
proto: __dirname + '/minecraft-data/data/pc/latest/proto.yml'
|
|
1696
1723
|
}
|
|
1697
1724
|
},
|
package/doc/history.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -1486,12 +1486,12 @@ declare namespace MinecraftData {
|
|
|
1486
1486
|
/** `1.21.6 - latest`
|
|
1487
1487
|
* entity_action packet uses string mappings instead of numeric actionId */
|
|
1488
1488
|
"entityActionUsesStringMapper": boolean;
|
|
1489
|
-
/** `1.21.9 - latest`
|
|
1490
|
-
* entity velocity is encoded as a lpVec3 */
|
|
1491
|
-
"entityVelocityIsLpVec3": boolean;
|
|
1492
1489
|
/** `1.21.9 - latest`
|
|
1493
1490
|
* spawn position includes a dimension component */
|
|
1494
1491
|
"spawnPositionIsGlobal": boolean;
|
|
1492
|
+
/** `1.21.11 - latest`
|
|
1493
|
+
* gamerule names use resource location syntax */
|
|
1494
|
+
"gameRuleUsesResourceLocation": boolean;
|
|
1495
1495
|
}
|
|
1496
1496
|
|
|
1497
1497
|
type Object = { [key: string]: any }
|
|
@@ -1155,7 +1155,7 @@
|
|
|
1155
1155
|
[
|
|
1156
1156
|
{
|
|
1157
1157
|
"name": "inventory_id",
|
|
1158
|
-
"type": "
|
|
1158
|
+
"type": "WindowIDZigzag32"
|
|
1159
1159
|
}
|
|
1160
1160
|
]
|
|
1161
1161
|
],
|
|
@@ -2882,6 +2882,41 @@
|
|
|
2882
2882
|
}
|
|
2883
2883
|
}
|
|
2884
2884
|
],
|
|
2885
|
+
"WindowIDZigzag32": [
|
|
2886
|
+
"mapper",
|
|
2887
|
+
{
|
|
2888
|
+
"type": "zigzag32",
|
|
2889
|
+
"mappings": {
|
|
2890
|
+
"0": "inventory",
|
|
2891
|
+
"1": "first",
|
|
2892
|
+
"100": "last",
|
|
2893
|
+
"119": "offhand",
|
|
2894
|
+
"120": "armor",
|
|
2895
|
+
"121": "creative",
|
|
2896
|
+
"122": "hotbar",
|
|
2897
|
+
"123": "fixed_inventory",
|
|
2898
|
+
"124": "ui",
|
|
2899
|
+
"-100": "drop_contents",
|
|
2900
|
+
"-24": "beacon",
|
|
2901
|
+
"-23": "trading_output",
|
|
2902
|
+
"-22": "trading_use_inputs",
|
|
2903
|
+
"-21": "trading_input_2",
|
|
2904
|
+
"-20": "trading_input_1",
|
|
2905
|
+
"-17": "enchant_output",
|
|
2906
|
+
"-16": "enchant_material",
|
|
2907
|
+
"-15": "enchant_input",
|
|
2908
|
+
"-13": "anvil_output",
|
|
2909
|
+
"-12": "anvil_result",
|
|
2910
|
+
"-11": "anvil_material",
|
|
2911
|
+
"-10": "container_input",
|
|
2912
|
+
"-5": "crafting_use_ingredient",
|
|
2913
|
+
"-4": "crafting_result",
|
|
2914
|
+
"-3": "crafting_remove_ingredient",
|
|
2915
|
+
"-2": "crafting_add_ingredient",
|
|
2916
|
+
"-1": "none"
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
],
|
|
2885
2920
|
"WindowType": [
|
|
2886
2921
|
"mapper",
|
|
2887
2922
|
{
|
|
@@ -506,7 +506,7 @@ TransactionActions: []varint
|
|
|
506
506
|
99999: craft
|
|
507
507
|
_: source_type?
|
|
508
508
|
if container or craft:
|
|
509
|
-
inventory_id:
|
|
509
|
+
inventory_id: WindowIDZigzag32
|
|
510
510
|
if world_interaction:
|
|
511
511
|
flags: varint
|
|
512
512
|
if craft or craft_slot:
|
|
@@ -1107,7 +1107,7 @@ StructureBlockSettings:
|
|
|
1107
1107
|
# List of Window IDs. When a new container is opened (container_open), a new sequential Window ID is created.
|
|
1108
1108
|
# Below window IDs are hard-coded and created when the game starts and the server does not
|
|
1109
1109
|
# send a `container_open` for them.
|
|
1110
|
-
|
|
1110
|
+
WindowID_: =>
|
|
1111
1111
|
-100: drop_contents
|
|
1112
1112
|
-24: beacon
|
|
1113
1113
|
-23: trading_output
|
|
@@ -1136,34 +1136,9 @@ WindowID: i8 =>
|
|
|
1136
1136
|
123: fixed_inventory
|
|
1137
1137
|
124: ui
|
|
1138
1138
|
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
-23: trading_output
|
|
1143
|
-
-22: trading_use_inputs
|
|
1144
|
-
-21: trading_input_2
|
|
1145
|
-
-20: trading_input_1
|
|
1146
|
-
-17: enchant_output
|
|
1147
|
-
-16: enchant_material
|
|
1148
|
-
-15: enchant_input
|
|
1149
|
-
-13: anvil_output
|
|
1150
|
-
-12: anvil_result
|
|
1151
|
-
-11: anvil_material
|
|
1152
|
-
-10: container_input
|
|
1153
|
-
-5: crafting_use_ingredient
|
|
1154
|
-
-4: crafting_result
|
|
1155
|
-
-3: crafting_remove_ingredient
|
|
1156
|
-
-2: crafting_add_ingredient
|
|
1157
|
-
-1: none
|
|
1158
|
-
0: inventory
|
|
1159
|
-
1: first
|
|
1160
|
-
100: last
|
|
1161
|
-
119: offhand
|
|
1162
|
-
120: armor
|
|
1163
|
-
121: creative
|
|
1164
|
-
122: hotbar
|
|
1165
|
-
123: fixed_inventory
|
|
1166
|
-
124: ui
|
|
1139
|
+
WindowID: i8 => WindowID_
|
|
1140
|
+
WindowIDVarint: varint => WindowID_
|
|
1141
|
+
WindowIDZigzag32: zigzag32 => WindowID_
|
|
1167
1142
|
|
|
1168
1143
|
WindowType: i8 =>
|
|
1169
1144
|
-9: none
|
|
@@ -1161,7 +1161,7 @@
|
|
|
1161
1161
|
[
|
|
1162
1162
|
{
|
|
1163
1163
|
"name": "inventory_id",
|
|
1164
|
-
"type": "
|
|
1164
|
+
"type": "WindowIDZigzag32"
|
|
1165
1165
|
}
|
|
1166
1166
|
]
|
|
1167
1167
|
],
|
|
@@ -2928,6 +2928,41 @@
|
|
|
2928
2928
|
}
|
|
2929
2929
|
}
|
|
2930
2930
|
],
|
|
2931
|
+
"WindowIDZigzag32": [
|
|
2932
|
+
"mapper",
|
|
2933
|
+
{
|
|
2934
|
+
"type": "zigzag32",
|
|
2935
|
+
"mappings": {
|
|
2936
|
+
"0": "inventory",
|
|
2937
|
+
"1": "first",
|
|
2938
|
+
"100": "last",
|
|
2939
|
+
"119": "offhand",
|
|
2940
|
+
"120": "armor",
|
|
2941
|
+
"121": "creative",
|
|
2942
|
+
"122": "hotbar",
|
|
2943
|
+
"123": "fixed_inventory",
|
|
2944
|
+
"124": "ui",
|
|
2945
|
+
"-100": "drop_contents",
|
|
2946
|
+
"-24": "beacon",
|
|
2947
|
+
"-23": "trading_output",
|
|
2948
|
+
"-22": "trading_use_inputs",
|
|
2949
|
+
"-21": "trading_input_2",
|
|
2950
|
+
"-20": "trading_input_1",
|
|
2951
|
+
"-17": "enchant_output",
|
|
2952
|
+
"-16": "enchant_material",
|
|
2953
|
+
"-15": "enchant_input",
|
|
2954
|
+
"-13": "anvil_output",
|
|
2955
|
+
"-12": "anvil_result",
|
|
2956
|
+
"-11": "anvil_material",
|
|
2957
|
+
"-10": "container_input",
|
|
2958
|
+
"-5": "crafting_use_ingredient",
|
|
2959
|
+
"-4": "crafting_result",
|
|
2960
|
+
"-3": "crafting_remove_ingredient",
|
|
2961
|
+
"-2": "crafting_add_ingredient",
|
|
2962
|
+
"-1": "none"
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2965
|
+
],
|
|
2931
2966
|
"WindowType": [
|
|
2932
2967
|
"mapper",
|
|
2933
2968
|
{
|
|
@@ -509,7 +509,7 @@ TransactionActions: []varint
|
|
|
509
509
|
99999: craft
|
|
510
510
|
_: source_type?
|
|
511
511
|
if container or craft:
|
|
512
|
-
inventory_id:
|
|
512
|
+
inventory_id: WindowIDZigzag32
|
|
513
513
|
if world_interaction:
|
|
514
514
|
flags: varint
|
|
515
515
|
if craft or craft_slot:
|
|
@@ -1124,7 +1124,7 @@ StructureBlockSettings:
|
|
|
1124
1124
|
# List of Window IDs. When a new container is opened (container_open), a new sequential Window ID is created.
|
|
1125
1125
|
# Below window IDs are hard-coded and created when the game starts and the server does not
|
|
1126
1126
|
# send a `container_open` for them.
|
|
1127
|
-
|
|
1127
|
+
WindowID_: =>
|
|
1128
1128
|
-100: drop_contents
|
|
1129
1129
|
-24: beacon
|
|
1130
1130
|
-23: trading_output
|
|
@@ -1153,34 +1153,9 @@ WindowID: i8 =>
|
|
|
1153
1153
|
123: fixed_inventory
|
|
1154
1154
|
124: ui
|
|
1155
1155
|
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
-23: trading_output
|
|
1160
|
-
-22: trading_use_inputs
|
|
1161
|
-
-21: trading_input_2
|
|
1162
|
-
-20: trading_input_1
|
|
1163
|
-
-17: enchant_output
|
|
1164
|
-
-16: enchant_material
|
|
1165
|
-
-15: enchant_input
|
|
1166
|
-
-13: anvil_output
|
|
1167
|
-
-12: anvil_result
|
|
1168
|
-
-11: anvil_material
|
|
1169
|
-
-10: container_input
|
|
1170
|
-
-5: crafting_use_ingredient
|
|
1171
|
-
-4: crafting_result
|
|
1172
|
-
-3: crafting_remove_ingredient
|
|
1173
|
-
-2: crafting_add_ingredient
|
|
1174
|
-
-1: none
|
|
1175
|
-
0: inventory
|
|
1176
|
-
1: first
|
|
1177
|
-
100: last
|
|
1178
|
-
119: offhand
|
|
1179
|
-
120: armor
|
|
1180
|
-
121: creative
|
|
1181
|
-
122: hotbar
|
|
1182
|
-
123: fixed_inventory
|
|
1183
|
-
124: ui
|
|
1156
|
+
WindowID: i8 => WindowID_
|
|
1157
|
+
WindowIDVarint: varint => WindowID_
|
|
1158
|
+
WindowIDZigzag32: zigzag32 => WindowID_
|
|
1184
1159
|
|
|
1185
1160
|
WindowType: i8 =>
|
|
1186
1161
|
-9: none
|
|
@@ -1161,7 +1161,7 @@
|
|
|
1161
1161
|
[
|
|
1162
1162
|
{
|
|
1163
1163
|
"name": "inventory_id",
|
|
1164
|
-
"type": "
|
|
1164
|
+
"type": "WindowIDZigzag32"
|
|
1165
1165
|
}
|
|
1166
1166
|
]
|
|
1167
1167
|
],
|
|
@@ -2928,6 +2928,41 @@
|
|
|
2928
2928
|
}
|
|
2929
2929
|
}
|
|
2930
2930
|
],
|
|
2931
|
+
"WindowIDZigzag32": [
|
|
2932
|
+
"mapper",
|
|
2933
|
+
{
|
|
2934
|
+
"type": "zigzag32",
|
|
2935
|
+
"mappings": {
|
|
2936
|
+
"0": "inventory",
|
|
2937
|
+
"1": "first",
|
|
2938
|
+
"100": "last",
|
|
2939
|
+
"119": "offhand",
|
|
2940
|
+
"120": "armor",
|
|
2941
|
+
"121": "creative",
|
|
2942
|
+
"122": "hotbar",
|
|
2943
|
+
"123": "fixed_inventory",
|
|
2944
|
+
"124": "ui",
|
|
2945
|
+
"-100": "drop_contents",
|
|
2946
|
+
"-24": "beacon",
|
|
2947
|
+
"-23": "trading_output",
|
|
2948
|
+
"-22": "trading_use_inputs",
|
|
2949
|
+
"-21": "trading_input_2",
|
|
2950
|
+
"-20": "trading_input_1",
|
|
2951
|
+
"-17": "enchant_output",
|
|
2952
|
+
"-16": "enchant_material",
|
|
2953
|
+
"-15": "enchant_input",
|
|
2954
|
+
"-13": "anvil_output",
|
|
2955
|
+
"-12": "anvil_result",
|
|
2956
|
+
"-11": "anvil_material",
|
|
2957
|
+
"-10": "container_input",
|
|
2958
|
+
"-5": "crafting_use_ingredient",
|
|
2959
|
+
"-4": "crafting_result",
|
|
2960
|
+
"-3": "crafting_remove_ingredient",
|
|
2961
|
+
"-2": "crafting_add_ingredient",
|
|
2962
|
+
"-1": "none"
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2965
|
+
],
|
|
2931
2966
|
"WindowType": [
|
|
2932
2967
|
"mapper",
|
|
2933
2968
|
{
|
|
@@ -509,7 +509,7 @@ TransactionActions: []varint
|
|
|
509
509
|
99999: craft
|
|
510
510
|
_: source_type?
|
|
511
511
|
if container or craft:
|
|
512
|
-
inventory_id:
|
|
512
|
+
inventory_id: WindowIDZigzag32
|
|
513
513
|
if world_interaction:
|
|
514
514
|
flags: varint
|
|
515
515
|
if craft or craft_slot:
|
|
@@ -1124,7 +1124,7 @@ StructureBlockSettings:
|
|
|
1124
1124
|
# List of Window IDs. When a new container is opened (container_open), a new sequential Window ID is created.
|
|
1125
1125
|
# Below window IDs are hard-coded and created when the game starts and the server does not
|
|
1126
1126
|
# send a `container_open` for them.
|
|
1127
|
-
|
|
1127
|
+
WindowID_: =>
|
|
1128
1128
|
-100: drop_contents
|
|
1129
1129
|
-24: beacon
|
|
1130
1130
|
-23: trading_output
|
|
@@ -1153,34 +1153,9 @@ WindowID: i8 =>
|
|
|
1153
1153
|
123: fixed_inventory
|
|
1154
1154
|
124: ui
|
|
1155
1155
|
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
-23: trading_output
|
|
1160
|
-
-22: trading_use_inputs
|
|
1161
|
-
-21: trading_input_2
|
|
1162
|
-
-20: trading_input_1
|
|
1163
|
-
-17: enchant_output
|
|
1164
|
-
-16: enchant_material
|
|
1165
|
-
-15: enchant_input
|
|
1166
|
-
-13: anvil_output
|
|
1167
|
-
-12: anvil_result
|
|
1168
|
-
-11: anvil_material
|
|
1169
|
-
-10: container_input
|
|
1170
|
-
-5: crafting_use_ingredient
|
|
1171
|
-
-4: crafting_result
|
|
1172
|
-
-3: crafting_remove_ingredient
|
|
1173
|
-
-2: crafting_add_ingredient
|
|
1174
|
-
-1: none
|
|
1175
|
-
0: inventory
|
|
1176
|
-
1: first
|
|
1177
|
-
100: last
|
|
1178
|
-
119: offhand
|
|
1179
|
-
120: armor
|
|
1180
|
-
121: creative
|
|
1181
|
-
122: hotbar
|
|
1182
|
-
123: fixed_inventory
|
|
1183
|
-
124: ui
|
|
1156
|
+
WindowID: i8 => WindowID_
|
|
1157
|
+
WindowIDVarint: varint => WindowID_
|
|
1158
|
+
WindowIDZigzag32: zigzag32 => WindowID_
|
|
1184
1159
|
|
|
1185
1160
|
WindowType: i8 =>
|
|
1186
1161
|
-9: none
|
|
@@ -1161,7 +1161,7 @@
|
|
|
1161
1161
|
[
|
|
1162
1162
|
{
|
|
1163
1163
|
"name": "inventory_id",
|
|
1164
|
-
"type": "
|
|
1164
|
+
"type": "WindowIDZigzag32"
|
|
1165
1165
|
}
|
|
1166
1166
|
]
|
|
1167
1167
|
],
|
|
@@ -3022,6 +3022,41 @@
|
|
|
3022
3022
|
}
|
|
3023
3023
|
}
|
|
3024
3024
|
],
|
|
3025
|
+
"WindowIDZigzag32": [
|
|
3026
|
+
"mapper",
|
|
3027
|
+
{
|
|
3028
|
+
"type": "zigzag32",
|
|
3029
|
+
"mappings": {
|
|
3030
|
+
"0": "inventory",
|
|
3031
|
+
"1": "first",
|
|
3032
|
+
"100": "last",
|
|
3033
|
+
"119": "offhand",
|
|
3034
|
+
"120": "armor",
|
|
3035
|
+
"121": "creative",
|
|
3036
|
+
"122": "hotbar",
|
|
3037
|
+
"123": "fixed_inventory",
|
|
3038
|
+
"124": "ui",
|
|
3039
|
+
"-100": "drop_contents",
|
|
3040
|
+
"-24": "beacon",
|
|
3041
|
+
"-23": "trading_output",
|
|
3042
|
+
"-22": "trading_use_inputs",
|
|
3043
|
+
"-21": "trading_input_2",
|
|
3044
|
+
"-20": "trading_input_1",
|
|
3045
|
+
"-17": "enchant_output",
|
|
3046
|
+
"-16": "enchant_material",
|
|
3047
|
+
"-15": "enchant_input",
|
|
3048
|
+
"-13": "anvil_output",
|
|
3049
|
+
"-12": "anvil_result",
|
|
3050
|
+
"-11": "anvil_material",
|
|
3051
|
+
"-10": "container_input",
|
|
3052
|
+
"-5": "crafting_use_ingredient",
|
|
3053
|
+
"-4": "crafting_result",
|
|
3054
|
+
"-3": "crafting_remove_ingredient",
|
|
3055
|
+
"-2": "crafting_add_ingredient",
|
|
3056
|
+
"-1": "none"
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
],
|
|
3025
3060
|
"WindowType": [
|
|
3026
3061
|
"mapper",
|
|
3027
3062
|
{
|
|
@@ -509,7 +509,7 @@ TransactionActions: []varint
|
|
|
509
509
|
99999: craft
|
|
510
510
|
_: source_type?
|
|
511
511
|
if container or craft:
|
|
512
|
-
inventory_id:
|
|
512
|
+
inventory_id: WindowIDZigzag32
|
|
513
513
|
if world_interaction:
|
|
514
514
|
flags: varint
|
|
515
515
|
if craft or craft_slot:
|
|
@@ -1170,7 +1170,7 @@ MaterialReducer:
|
|
|
1170
1170
|
# List of Window IDs. When a new container is opened (container_open), a new sequential Window ID is created.
|
|
1171
1171
|
# Below window IDs are hard-coded and created when the game starts and the server does not
|
|
1172
1172
|
# send a `container_open` for them.
|
|
1173
|
-
|
|
1173
|
+
WindowID_: =>
|
|
1174
1174
|
-100: drop_contents
|
|
1175
1175
|
-24: beacon
|
|
1176
1176
|
-23: trading_output
|
|
@@ -1199,34 +1199,9 @@ WindowID: i8 =>
|
|
|
1199
1199
|
123: fixed_inventory
|
|
1200
1200
|
124: ui
|
|
1201
1201
|
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
-23: trading_output
|
|
1206
|
-
-22: trading_use_inputs
|
|
1207
|
-
-21: trading_input_2
|
|
1208
|
-
-20: trading_input_1
|
|
1209
|
-
-17: enchant_output
|
|
1210
|
-
-16: enchant_material
|
|
1211
|
-
-15: enchant_input
|
|
1212
|
-
-13: anvil_output
|
|
1213
|
-
-12: anvil_result
|
|
1214
|
-
-11: anvil_material
|
|
1215
|
-
-10: container_input
|
|
1216
|
-
-5: crafting_use_ingredient
|
|
1217
|
-
-4: crafting_result
|
|
1218
|
-
-3: crafting_remove_ingredient
|
|
1219
|
-
-2: crafting_add_ingredient
|
|
1220
|
-
-1: none
|
|
1221
|
-
0: inventory
|
|
1222
|
-
1: first
|
|
1223
|
-
100: last
|
|
1224
|
-
119: offhand
|
|
1225
|
-
120: armor
|
|
1226
|
-
121: creative
|
|
1227
|
-
122: hotbar
|
|
1228
|
-
123: fixed_inventory
|
|
1229
|
-
124: ui
|
|
1202
|
+
WindowID: i8 => WindowID_
|
|
1203
|
+
WindowIDVarint: varint => WindowID_
|
|
1204
|
+
WindowIDZigzag32: zigzag32 => WindowID_
|
|
1230
1205
|
|
|
1231
1206
|
WindowType: i8 =>
|
|
1232
1207
|
-9: none
|
|
@@ -1161,7 +1161,7 @@
|
|
|
1161
1161
|
[
|
|
1162
1162
|
{
|
|
1163
1163
|
"name": "inventory_id",
|
|
1164
|
-
"type": "
|
|
1164
|
+
"type": "WindowIDZigzag32"
|
|
1165
1165
|
}
|
|
1166
1166
|
]
|
|
1167
1167
|
],
|
|
@@ -3046,6 +3046,41 @@
|
|
|
3046
3046
|
}
|
|
3047
3047
|
}
|
|
3048
3048
|
],
|
|
3049
|
+
"WindowIDZigzag32": [
|
|
3050
|
+
"mapper",
|
|
3051
|
+
{
|
|
3052
|
+
"type": "zigzag32",
|
|
3053
|
+
"mappings": {
|
|
3054
|
+
"0": "inventory",
|
|
3055
|
+
"1": "first",
|
|
3056
|
+
"100": "last",
|
|
3057
|
+
"119": "offhand",
|
|
3058
|
+
"120": "armor",
|
|
3059
|
+
"121": "creative",
|
|
3060
|
+
"122": "hotbar",
|
|
3061
|
+
"123": "fixed_inventory",
|
|
3062
|
+
"124": "ui",
|
|
3063
|
+
"-100": "drop_contents",
|
|
3064
|
+
"-24": "beacon",
|
|
3065
|
+
"-23": "trading_output",
|
|
3066
|
+
"-22": "trading_use_inputs",
|
|
3067
|
+
"-21": "trading_input_2",
|
|
3068
|
+
"-20": "trading_input_1",
|
|
3069
|
+
"-17": "enchant_output",
|
|
3070
|
+
"-16": "enchant_material",
|
|
3071
|
+
"-15": "enchant_input",
|
|
3072
|
+
"-13": "anvil_output",
|
|
3073
|
+
"-12": "anvil_result",
|
|
3074
|
+
"-11": "anvil_material",
|
|
3075
|
+
"-10": "container_input",
|
|
3076
|
+
"-5": "crafting_use_ingredient",
|
|
3077
|
+
"-4": "crafting_result",
|
|
3078
|
+
"-3": "crafting_remove_ingredient",
|
|
3079
|
+
"-2": "crafting_add_ingredient",
|
|
3080
|
+
"-1": "none"
|
|
3081
|
+
}
|
|
3082
|
+
}
|
|
3083
|
+
],
|
|
3049
3084
|
"WindowType": [
|
|
3050
3085
|
"mapper",
|
|
3051
3086
|
{
|
|
@@ -509,7 +509,7 @@ TransactionActions: []varint
|
|
|
509
509
|
99999: craft
|
|
510
510
|
_: source_type?
|
|
511
511
|
if container or craft:
|
|
512
|
-
inventory_id:
|
|
512
|
+
inventory_id: WindowIDZigzag32
|
|
513
513
|
if world_interaction:
|
|
514
514
|
flags: varint
|
|
515
515
|
if craft or craft_slot:
|
|
@@ -1185,7 +1185,7 @@ MaterialReducer:
|
|
|
1185
1185
|
# List of Window IDs. When a new container is opened (container_open), a new sequential Window ID is created.
|
|
1186
1186
|
# Below window IDs are hard-coded and created when the game starts and the server does not
|
|
1187
1187
|
# send a `container_open` for them.
|
|
1188
|
-
|
|
1188
|
+
WindowID_: =>
|
|
1189
1189
|
-100: drop_contents
|
|
1190
1190
|
-24: beacon
|
|
1191
1191
|
-23: trading_output
|
|
@@ -1214,34 +1214,9 @@ WindowID: i8 =>
|
|
|
1214
1214
|
123: fixed_inventory
|
|
1215
1215
|
124: ui
|
|
1216
1216
|
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
-23: trading_output
|
|
1221
|
-
-22: trading_use_inputs
|
|
1222
|
-
-21: trading_input_2
|
|
1223
|
-
-20: trading_input_1
|
|
1224
|
-
-17: enchant_output
|
|
1225
|
-
-16: enchant_material
|
|
1226
|
-
-15: enchant_input
|
|
1227
|
-
-13: anvil_output
|
|
1228
|
-
-12: anvil_result
|
|
1229
|
-
-11: anvil_material
|
|
1230
|
-
-10: container_input
|
|
1231
|
-
-5: crafting_use_ingredient
|
|
1232
|
-
-4: crafting_result
|
|
1233
|
-
-3: crafting_remove_ingredient
|
|
1234
|
-
-2: crafting_add_ingredient
|
|
1235
|
-
-1: none
|
|
1236
|
-
0: inventory
|
|
1237
|
-
1: first
|
|
1238
|
-
100: last
|
|
1239
|
-
119: offhand
|
|
1240
|
-
120: armor
|
|
1241
|
-
121: creative
|
|
1242
|
-
122: hotbar
|
|
1243
|
-
123: fixed_inventory
|
|
1244
|
-
124: ui
|
|
1217
|
+
WindowID: i8 => WindowID_
|
|
1218
|
+
WindowIDVarint: varint => WindowID_
|
|
1219
|
+
WindowIDZigzag32: zigzag32 => WindowID_
|
|
1245
1220
|
|
|
1246
1221
|
WindowType: i8 =>
|
|
1247
1222
|
-9: none
|