minecraft-data 3.0.0 → 3.1.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.
@@ -19,20 +19,23 @@ jobs:
19
19
  with:
20
20
  node-version: 10.0.0
21
21
  - run: npm install
22
- - name: Publish if version has been updated
23
- if: github.event_name != 'workflow_dispatch'
24
- uses: pascalgn/npm-publish-action@4f4bf159e299f65d21cd1cbd96fc5d53228036df
25
- with: # All of theses inputs are optional
26
- tag_name: "%s"
27
- tag_message: "%s"
28
- commit_pattern: "^Release (\\S+)"
29
- env: # More info about the environment variables in the README
30
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
31
- NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
32
- - name: Check if version has been updated
33
- if: github.event_name != 'workflow_dispatch'
34
- id: check
35
- uses: EndBug/version-check@v1
22
+ - id: publish
23
+ uses: JS-DevTools/npm-publish@v1
24
+ with:
25
+ token: ${{ secrets.NPM_AUTH_TOKEN }}
26
+ - name: Create Release
27
+ if: steps.publish.outputs.type != 'none'
28
+ id: create_release
29
+ uses: actions/create-release@v1
30
+ env:
31
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
+ with:
33
+ tag_name: ${{ steps.publish.outputs.version }}
34
+ release_name: Release ${{ steps.publish.outputs.version }}
35
+ body: ${{ steps.publish.outputs.version }}
36
+ draft: false
37
+ prerelease: false
38
+
36
39
  - name: "Trigger new GH Page creation in mcData repo"
37
40
  uses: peter-evans/repository-dispatch@v1
38
41
  if: steps.check.outputs.changed == 'true' || github.event_name == 'workflow_dispatch'
package/data.js CHANGED
@@ -1274,6 +1274,27 @@ module.exports =
1274
1274
  get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
1275
1275
  get blocksB2J () { return require("./minecraft-data/data/bedrock/1.18.11/blocksB2J.json") },
1276
1276
  get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.18.11/blocksJ2B.json") },
1277
+ proto: __dirname + '/minecraft-data/data/bedrock/1.18.11/proto.yml',
1278
+ types: __dirname + '/minecraft-data/data/bedrock/1.18.11/types.yml',
1279
+ get version () { return require("./minecraft-data/data/bedrock/1.18.11/version.json") }
1280
+ },
1281
+ '1.18.30': {
1282
+ get blocks () { return require("./minecraft-data/data/bedrock/1.18.11/blocks.json") },
1283
+ get blockStates () { return require("./minecraft-data/data/bedrock/1.18.11/blockStates.json") },
1284
+ get blockCollisionShapes () { return require("./minecraft-data/data/bedrock/1.18.11/blockCollisionShapes.json") },
1285
+ get biomes () { return require("./minecraft-data/data/bedrock/1.18.0/biomes.json") },
1286
+ get entities () { return require("./minecraft-data/data/bedrock/1.18.11/entities.json") },
1287
+ get items () { return require("./minecraft-data/data/bedrock/1.18.11/items.json") },
1288
+ get recipes () { return require("./minecraft-data/data/bedrock/1.18.11/recipes.json") },
1289
+ get instruments () { return require("./minecraft-data/data/bedrock/1.17.0/instruments.json") },
1290
+ get materials () { return require("./minecraft-data/data/pc/1.17/materials.json") },
1291
+ get enchantments () { return require("./minecraft-data/data/pc/1.17/enchantments.json") },
1292
+ get effects () { return require("./minecraft-data/data/pc/1.17/effects.json") },
1293
+ get protocol () { return require("./minecraft-data/data/bedrock/1.18.30/protocol.json") },
1294
+ get windows () { return require("./minecraft-data/data/bedrock/1.16.201/windows.json") },
1295
+ get steve () { return require("./minecraft-data/data/bedrock/1.16.201/steve.json") },
1296
+ get blocksB2J () { return require("./minecraft-data/data/bedrock/1.18.11/blocksB2J.json") },
1297
+ get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.18.11/blocksJ2B.json") },
1277
1298
  proto: __dirname + '/minecraft-data/data/bedrock/latest/proto.yml',
1278
1299
  types: __dirname + '/minecraft-data/data/bedrock/latest/types.yml',
1279
1300
  get version () { return require("./minecraft-data/data/bedrock/1.18.11/version.json") }
package/doc/history.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.1.1
2
+ * update mcdata
3
+
1
4
  ## 3.0.0
2
5
  * update mcdata
3
6
 
@@ -0,0 +1 @@
1
+ gitdir: ../.git/modules/minecraft-data
@@ -13,10 +13,18 @@ jobs:
13
13
  with:
14
14
  text: ${{ github.event.head_commit.message }}
15
15
  regex: '^Release ([0-9]+\.[0-9]+\.[0-9]+)'
16
- - uses: actions-ecosystem/action-push-tag@v1
17
- if: ${{ steps.regex-match.outputs.match != '' }}
16
+ - name: Create Release
17
+ if: steps.regex-match.outputs.match != ''
18
+ id: create_release
19
+ uses: actions/create-release@v1
20
+ env:
21
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18
22
  with:
19
- tag: ${{ steps.regex-match.outputs.group1 }}
23
+ tag_name: ${{ steps.regex-match.outputs.group1 }}
24
+ release_name: Release ${{ steps.regex-match.outputs.group1 }}
25
+ body: ${{ steps.regex-match.outputs.group1 }}
26
+ draft: false
27
+ prerelease: false
20
28
  - uses: peter-evans/repository-dispatch@v1
21
29
  if: ${{ steps.regex-match.outputs.match != '' }}
22
30
  with:
@@ -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)
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
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
14
14
 
15
15
  ## Wrappers
16
16