From 60994a08677d864f79de58d8912b02d2d7077289 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 27 Jul 2024 05:07:58 +0200 Subject: Add some carnival features --- src/main/kotlin/moe/nea/firmament/commands/rome.kt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/main/kotlin/moe/nea/firmament/commands') diff --git a/src/main/kotlin/moe/nea/firmament/commands/rome.kt b/src/main/kotlin/moe/nea/firmament/commands/rome.kt index a50cc75..ace15c1 100644 --- a/src/main/kotlin/moe/nea/firmament/commands/rome.kt +++ b/src/main/kotlin/moe/nea/firmament/commands/rome.kt @@ -14,10 +14,10 @@ import net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource import net.minecraft.text.Text import moe.nea.firmament.apis.UrsaManager import moe.nea.firmament.events.CommandEvent +import moe.nea.firmament.features.debug.PowerUserTools import moe.nea.firmament.features.inventory.buttons.InventoryButtons import moe.nea.firmament.features.inventory.storageoverlay.StorageOverlayScreen import moe.nea.firmament.features.inventory.storageoverlay.StorageOverviewScreen -import moe.nea.firmament.features.world.FairySouls import moe.nea.firmament.gui.config.AllConfigsGui import moe.nea.firmament.gui.config.BooleanHandler import moe.nea.firmament.gui.config.ManagedOption @@ -182,11 +182,6 @@ fun firmamentCommand() = literal("firmament") { } } thenLiteral("dev") { - thenLiteral("config") { - thenExecute { - FairySouls.TConfig.showConfigEditor() - } - } thenLiteral("simulate") { thenArgument("message", RestArgumentType) { message -> thenExecute { @@ -208,6 +203,12 @@ fun firmamentCommand() = literal("firmament") { } } } + thenLiteral("copyEntities") { + thenExecute { + val player = MC.player ?: return@thenExecute + player.world.getOtherEntities(player, player.boundingBox.expand(12.0)).forEach(PowerUserTools::showEntity) + } + } thenLiteral("callUrsa") { thenArgument("path", string()) { path -> thenExecute { -- cgit