fix
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import {
|
||||
world,
|
||||
system,
|
||||
MinecraftBlockTypes,
|
||||
Vector3,
|
||||
MolangVariableMap,
|
||||
ChatSendAfterEvent,
|
||||
Dimension,
|
||||
TicksPerSecond,
|
||||
BlockVolumeBase,
|
||||
CompoundBlockVolume,
|
||||
BlockVolume,
|
||||
} from "@minecraft/server";
|
||||
import { Mindkeeper, StoreType } from "./Commandeer/mindKeeper";
|
||||
import Pupeteer from "./Commandeer/pupeteer";
|
||||
@@ -138,7 +140,8 @@ async function lightUpPath() {
|
||||
let pos2 = vector3(2468, 9, 105);
|
||||
|
||||
for (let z = pos2.z; z >= pos1.z; z--) {
|
||||
overworld.fillBlocks(vector3(pos1.x, pos1.y, z), vector3(pos1.x + 1, pos1.y, z), MinecraftBlockTypes.redstoneBlock);
|
||||
let volume: BlockVolume = new BlockVolume(vector3(pos1.x, pos1.y, z), vector3(pos1.x + 1, pos1.y, z));
|
||||
overworld.fillBlocks(volume, MinecraftBlockTypes.redstoneBlock);
|
||||
await delay(4);
|
||||
}
|
||||
// let pos2 = vector3(2468, 9, 105);
|
||||
@@ -146,12 +149,12 @@ async function lightUpPath() {
|
||||
|
||||
//iojediojaiw
|
||||
|
||||
world.afterEvents.worldInitialize.subscribe(({ propertyRegistry }) => {
|
||||
world.afterEvents.worldInitialize.subscribe(() => {
|
||||
mindKeeper.registerStore(CURRENT_LEVEL, StoreType.number);
|
||||
mindKeeper.registerStore(AGENT_ID, StoreType.string);
|
||||
// mindKeeper.set("ShowTriggers", true);
|
||||
triggerManager.RegisterStores();
|
||||
mindKeeper.registerToWorld(propertyRegistry);
|
||||
mindKeeper.registerToWorld();
|
||||
|
||||
triggerManager.Load();
|
||||
// loadCommands();
|
||||
|
||||
Reference in New Issue
Block a user