update to API v2.0.0

This commit is contained in:
ForestOfLight
2025-04-12 14:02:35 -07:00
Unverified
parent 825e7745f8
commit fcc47a78a4
2 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -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": {
+2 -2
View File
@@ -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,