update to API v2.0.0
This commit is contained in:
+5
-5
@@ -4,7 +4,7 @@
|
|||||||
"name": "StrucTool",
|
"name": "StrucTool",
|
||||||
"description": "Survival building extension for §l§aCanopy§r by §aForestOfLight§r.",
|
"description": "Survival building extension for §l§aCanopy§r by §aForestOfLight§r.",
|
||||||
"uuid": "8c0c0153-d8b9-482a-889f-aef922b8fe58",
|
"uuid": "8c0c0153-d8b9-482a-889f-aef922b8fe58",
|
||||||
"min_engine_version": [1, 21, 60],
|
"min_engine_version": [1, 21, 70],
|
||||||
"version": [1, 0, 0]
|
"version": [1, 0, 0]
|
||||||
},
|
},
|
||||||
"modules": [
|
"modules": [
|
||||||
@@ -26,19 +26,19 @@
|
|||||||
"dependencies": [
|
"dependencies": [
|
||||||
{
|
{
|
||||||
"module_name": "@minecraft/server",
|
"module_name": "@minecraft/server",
|
||||||
"version": "1.18.0-beta"
|
"version": "2.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"module_name": "@minecraft/server-ui",
|
"module_name": "@minecraft/server-ui",
|
||||||
"version": "1.4.0-beta"
|
"version": "2.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"uuid": "bcf34368-ed0c-4cf7-938e-582cccf9950d", // Canopy RP
|
"uuid": "bcf34368-ed0c-4cf7-938e-582cccf9950d", // Canopy RP
|
||||||
"version": [1, 0, 2]
|
"version": [1, 0, 3]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"uuid": "7f6b23df-a583-476b-b0e4-87457e65f7c0", // Canopy BP
|
"uuid": "7f6b23df-a583-476b-b0e4-87457e65f7c0", // Canopy BP
|
||||||
"version": [1, 3, 8]
|
"version": [1, 3, 9]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import { MinecraftDimensionTypes, world } from "@minecraft/server";
|
import { world } from "@minecraft/server";
|
||||||
import { Outliner } from "./Outliner";
|
import { Outliner } from "./Outliner";
|
||||||
|
|
||||||
export class Structure {
|
export class Structure {
|
||||||
#structure;
|
#structure;
|
||||||
#options = {
|
#options = {
|
||||||
isPlaced: false,
|
isPlaced: false,
|
||||||
dimensionId: MinecraftDimensionTypes.overworld,
|
dimensionId: 'minecraft:overworld',
|
||||||
worldLocation: { x: 0, y: 0, z: 0 },
|
worldLocation: { x: 0, y: 0, z: 0 },
|
||||||
rotation: 0,
|
rotation: 0,
|
||||||
mirror: false,
|
mirror: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user