diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-27 05:07:58 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-27 05:07:58 +0200 |
commit | 60994a08677d864f79de58d8912b02d2d7077289 (patch) | |
tree | 70850c6acb5d6fa58d8df9cc08e06a7d92606f2a /src/main/kotlin/moe/nea/firmament/commands | |
parent | 564f81e1896ea36b9ad165f29f49ce990912c388 (diff) | |
download | firmament-60994a08677d864f79de58d8912b02d2d7077289.tar.gz firmament-60994a08677d864f79de58d8912b02d2d7077289.tar.bz2 firmament-60994a08677d864f79de58d8912b02d2d7077289.zip |
Add some carnival features
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/commands')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/commands/rome.kt | 13 |
1 files changed, 7 insertions, 6 deletions
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 { |