Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian1971 committed Dec 31, 2022
1 parent 3eaf52f commit c38c741
Show file tree
Hide file tree
Showing 30 changed files with 188 additions and 1,286 deletions.
34 changes: 17 additions & 17 deletions src/build/addon/builderwandpack-behaviour/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,41 @@
"description": "Builder wand pack 1.0",
"name": "Builder wand pack",
"uuid": "d7d9205c-a64b-4335-aa1b-8dbb55c1fd78",
"version": [ 1, 0, 1 ],
"min_engine_version": [ 1, 16, 200 ]
"version": [ 1, 0, 2 ],
"min_engine_version": [1, 19, 40]
},
"modules": [
{
"description": "Builder wand pack",
"type": "data",
"uuid": "92b41d51-6aef-427f-ab3c-44d2da19f1a9",
"version": [1, 0, 1]
"version": [1, 0, 2]
},
{
"description": "Script resources",
"type": "script",
"language": "javascript",
"uuid": "7c7e693f-99f4-41a9-95e0-1f57b37e1e12",
"version": [0, 0, 1],
"entry": "scripts/main.js"
}
"description": "Script resources",
"language": "javascript",
"type": "script",
"uuid": "9cc72f74-ac1b-4bb0-90d0-bc3cf549a96b",
"version": [0, 0, 1],
"entry": "scripts/main.js"
}
],
"dependencies": [
{
"uuid": "a7e165f0-a812-441e-a2bd-2fcf95a6cef7",
"version": [1, 0, 0]
} ,
},
{
"uuid": "b26a4d4c-afdf-4690-88f8-931846312678",
"version": [ 0, 1, 0 ]
"module_name": "@minecraft/server",
"version": "1.1.0-beta"
},
{
"uuid": "6f4b6893-1bb6-42fd-b458-7fa3d0c89616",
"version": [ 0, 1, 0 ]
"module_name": "@minecraft/server-ui",
"version": "1.0.0-beta"
},
{
"uuid": "2BD50A27-AB5F-4F40-A596-3641627C635E",
"version": [ 0, 1, 0 ]
"module_name": "@minecraft/server-gametest",
"version": "1.0.0-beta"
}
]
}
3 changes: 2 additions & 1 deletion src/build/addon/builderwandpack-behaviour/scripts/action.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as logging from "./logging";
import { MapWithOffset } from "./drawing/vector";
import { BlockLocation } from "mojang-minecraft";
import { BlockLocation } from "@minecraft/server";
//import * as minecraftUi from "@minecraft/server-ui"
import { WandState } from "./enums";
export class PlayerMessage {
constructor(wandState, dialog, player) {
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class Cone extends Action {
return map;
}
message(wandState) {
logging.log(`You have chosen to create a cone using ${wandState.firstBlock.id}`);
logging.log(`You have chosen to create a cone using ${wandState.firstBlock.typeId}`);
logging.log(`The first click is the center of the base circle of the cone.`);
logging.log(`The second click is the radius and height of the cone.`);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BlockLocation } from "mojang-minecraft";
import { BlockLocation } from "@minecraft/server";
import { Action } from "./../action";
import * as logging from "./../logging";
import { MapWithOffset, push_to_map } from "./vector";
Expand All @@ -11,7 +11,7 @@ export class Cuboid extends Action {
return map;
}
message(wandState) {
logging.log(`You have chosen to create a filled cuboid using ${wandState.firstBlock.id}`);
logging.log(`You have chosen to create a filled cuboid using ${wandState.firstBlock.typeId}`);
logging.log(`The first click one corner of the cuboid.`);
logging.log(`The second click is the opposite corner of the cuboid.`);
}
Expand Down
Loading

0 comments on commit c38c741

Please sign in to comment.