diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-10 04:50:31 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-10 04:52:04 +0200 |
commit | ca17fe502d2ddee6ba0ae62d0b6e8458c6ded2b9 (patch) | |
tree | ea974d1cca165d541b2444e4ed227e45266b12db /src/main/kotlin/moe/nea/firmament/commands | |
parent | 5a91c407d639cb2224649c2d4875d244321f77f7 (diff) | |
download | Firmament-ca17fe502d2ddee6ba0ae62d0b6e8458c6ded2b9.tar.gz Firmament-ca17fe502d2ddee6ba0ae62d0b6e8458c6ded2b9.tar.bz2 Firmament-ca17fe502d2ddee6ba0ae62d0b6e8458c6ded2b9.zip |
Allow using arrows to navigate in storage overview
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/commands')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/commands/rome.kt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/commands/rome.kt b/src/main/kotlin/moe/nea/firmament/commands/rome.kt index 4211963..a50cc75 100644 --- a/src/main/kotlin/moe/nea/firmament/commands/rome.kt +++ b/src/main/kotlin/moe/nea/firmament/commands/rome.kt @@ -15,6 +15,7 @@ import net.minecraft.text.Text import moe.nea.firmament.apis.UrsaManager import moe.nea.firmament.events.CommandEvent 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 @@ -105,12 +106,18 @@ fun firmamentCommand() = literal("firmament") { } } } - thenLiteral("storage") { + thenLiteral("storageoverview") { thenExecute { ScreenUtil.setScreenLater(StorageOverviewScreen()) MC.player?.networkHandler?.sendChatCommand("storage") } } + thenLiteral("storage") { + thenExecute { + ScreenUtil.setScreenLater(StorageOverlayScreen()) + MC.player?.networkHandler?.sendChatCommand("storage") + } + } thenLiteral("repo") { thenLiteral("reload") { thenLiteral("fetch") { |