diff --git a/manifest.json b/manifest.json index ffc6aa4..901fa1c 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "StrucTool", "description": "Survival building extension for §l§aCanopy§r by §aForestOfLight§r.", "uuid": "8c0c0153-d8b9-482a-889f-aef922b8fe58", - "min_engine_version": [1, 21, 60], + "min_engine_version": [1, 21, 70], "version": [1, 0, 0] }, "modules": [ @@ -26,19 +26,19 @@ "dependencies": [ { "module_name": "@minecraft/server", - "version": "1.18.0-beta" + "version": "2.0.0-beta" }, { "module_name": "@minecraft/server-ui", - "version": "1.4.0-beta" + "version": "2.0.0-beta" }, { "uuid": "bcf34368-ed0c-4cf7-938e-582cccf9950d", // Canopy RP - "version": [1, 0, 2] + "version": [1, 0, 3] }, { "uuid": "7f6b23df-a583-476b-b0e4-87457e65f7c0", // Canopy BP - "version": [1, 3, 8] + "version": [1, 3, 9] } ], "metadata": { diff --git a/scripts/classes/Structure.js b/scripts/classes/Structure.js index be9735b..5824200 100644 --- a/scripts/classes/Structure.js +++ b/scripts/classes/Structure.js @@ -1,11 +1,11 @@ -import { MinecraftDimensionTypes, world } from "@minecraft/server"; +import { world } from "@minecraft/server"; import { Outliner } from "./Outliner"; export class Structure { #structure; #options = { isPlaced: false, - dimensionId: MinecraftDimensionTypes.overworld, + dimensionId: 'minecraft:overworld', worldLocation: { x: 0, y: 0, z: 0 }, rotation: 0, mirror: false,