From 731e9b48879f08066bebc49a99a5babee577b429 Mon Sep 17 00:00:00 2001 From: Hirzi Date: Mon, 16 Dec 2024 14:38:17 +0700 Subject: [PATCH] feat: Support for Minecraft Bedrock 1.21.40+ --- .../workflow-script/updatePreviewManifest.js | 2 +- manifest.json | 8 +++--- package-lock.json | 25 +++++++++++++------ package.json | 6 ++--- 4 files changed, 26 insertions(+), 15 deletions(-) diff --git a/.github/workflow-script/updatePreviewManifest.js b/.github/workflow-script/updatePreviewManifest.js index eb73104..6207df0 100644 --- a/.github/workflow-script/updatePreviewManifest.js +++ b/.github/workflow-script/updatePreviewManifest.js @@ -18,7 +18,7 @@ fs.readFile(filePath, "utf8", (err, data) => { if (manifest.dependencies) { manifest.dependencies.forEach((dependency) => { if (dependency.module_name === "@minecraft/server") { - dependency.version = "1.15.0-beta"; + dependency.version = "1.18.0-beta"; } }); } diff --git a/manifest.json b/manifest.json index 959426f..3a5ac06 100644 --- a/manifest.json +++ b/manifest.json @@ -9,11 +9,11 @@ "license": "MIT" }, "header": { - "name": "§eCCBG §d[1.2.5]§f", + "name": "§eCCBG §d[1.2.6]§f", "description": "Customize your Cobblestone and Basalt Generator!\nAddons By: §bHirziDevs§f\nContributor: §bHexaa Scoooolzs§f", "uuid": "15c4dbf1-0871-42e5-8b04-114daa5b7ab4", - "version": [ 1, 2, 5 ], - "min_engine_version": [ 1, 21, 20 ] + "version": [ 1, 2, 6 ], + "min_engine_version": [ 1, 21, 40 ] }, "modules": [ { @@ -26,7 +26,7 @@ "dependencies": [ { "module_name": "@minecraft/server", - "version": "1.14.0-beta" + "version": "1.18.0-beta" } ] } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 7efc37a..18adbff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "ccbg", - "version": "1.2.5", + "version": "1.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ccbg", - "version": "1.2.5", + "version": "1.2.6", "license": "MIT", "dependencies": { - "@minecraft/server": "^1.14.0-beta.1.21.20-stable" + "@minecraft/server": "^1.18.0-beta.1.21.60-preview.24" }, "devDependencies": { "ts-node": "^10.9.2", @@ -76,13 +76,24 @@ "integrity": "sha512-JdmEq4P3Z/FtoBzhLijFgMSVFnFRrUoLwY8DHHrgtFo0mfLTOLTB1RErYjLMsA6b7BGVNxkX/pfFRiH7QZ0XwQ==" }, "node_modules/@minecraft/server": { - "version": "1.14.0-beta.1.21.20-stable", - "resolved": "https://registry.npmjs.org/@minecraft/server/-/server-1.12.0-beta.1.21.1-stable.tgz", - "integrity": "sha512-rHlhtt/Q/6WfgCK2dnrPqxqumUzIgZlq2jbtH0f1iPz79gOUsqq/zIahcZJdEh/v9Ay4Tz0CDLnoiIR+Ch+iHw==", + "version": "1.18.0-beta.1.21.60-preview.24", + "resolved": "https://registry.npmjs.org/@minecraft/server/-/server-1.18.0-beta.1.21.60-preview.24.tgz", + "integrity": "sha512-aiue2o/7yKAAb9i+s79eYGYrRY1E6tKDwvr7ozij6PB5vNFUFkEXrtvKMq2GRedV5UorQf71K4Rfbk46qw2Zog==", + "license": "MIT", "dependencies": { "@minecraft/common": "^1.1.0" + }, + "peerDependencies": { + "@minecraft/vanilla-data": ">=1.20.70" } }, + "node_modules/@minecraft/vanilla-data": { + "version": "1.21.50", + "resolved": "https://registry.npmjs.org/@minecraft/vanilla-data/-/vanilla-data-1.21.50.tgz", + "integrity": "sha512-4tOzFRGyMxuFLJPo/tN68/FKQwTAxINxFVz4frRcSBliVbAq6hDsDcRcUykWCRFbIU59HG73r6DxwqDOc3Z3wQ==", + "license": "MIT", + "peer": true + }, "node_modules/@tsconfig/node10": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", @@ -325,4 +336,4 @@ } } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index b6b96b9..a33923b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ccbg", - "version": "1.2.5", + "version": "1.2.6", "description": "Customize your cobblestone and basalt generator with this addon! You can make your cobblestone and basalt generator spawn any block you want. By default, it spawns all Minecraft ores, including ancient debris, making it perfect for SkyBlock and other minigames that utilize cobblestone and basalt generators.", "main": "main.js", "scripts": { @@ -22,11 +22,11 @@ "author": "HirziDevs", "license": "MIT", "dependencies": { - "@minecraft/server": "^1.14.0-beta" + "@minecraft/server": "^1.18.0-beta.1.21.60-preview.24" }, "devDependencies": { "ts-node": "^10.9.2", "tsx": "^4.15.7", "typescript": "^5.5.2" } -} \ No newline at end of file +}