version without npcs, levels work, everything is build

This commit is contained in:
2024-08-14 14:44:31 +02:00
parent bc51d6899f
commit a21af04b9e
20 changed files with 103 additions and 22 deletions

View File

@@ -49,13 +49,14 @@ const level2: Level = new Level(
}
if (isOutOfBounds) {
teleportAndFaceAgent(level2StartPosition, vector3(-125, 69, 272));
pupeteer.sendWorldMessage("%message.level2.outOfBounds");
pupeteer.setTitleTimed("%message.level2.outOfBounds", 2.5);
world.getDimension("overworld").runCommand("execute as @p run codebuilder runtime stop @s");
world.getDimension("Overworld").runCommand("/fill -111 69 272 -124 69 258 air replace sweet_berry_bush");
world.getDimension("Overworld").runCommand("/fill -111 69 272 -124 69 258 air replace jungle_sapling");
teleportAndFaceAgent(level2StartPosition, vector3(-125, 69, 272));
return false;
} else if (isComplete) {
return true;