From e15406e22ef65b4933274df791632b6c17f594be Mon Sep 17 00:00:00 2001 From: nea Date: Sat, 28 Oct 2023 03:36:11 +0200 Subject: Add Inventory Buttons --- src/main/kotlin/moe/nea/firmament/commands/rome.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/kotlin/moe/nea/firmament/commands/rome.kt') diff --git a/src/main/kotlin/moe/nea/firmament/commands/rome.kt b/src/main/kotlin/moe/nea/firmament/commands/rome.kt index 3d62408..f4c20bd 100644 --- a/src/main/kotlin/moe/nea/firmament/commands/rome.kt +++ b/src/main/kotlin/moe/nea/firmament/commands/rome.kt @@ -21,6 +21,7 @@ import moe.nea.firmament.repo.RepoManager import moe.nea.firmament.util.* import net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource import net.minecraft.text.Text +import moe.nea.firmament.features.inventory.buttons.InventoryButtons fun firmamentCommand() = literal("firmament") { @@ -83,6 +84,11 @@ fun firmamentCommand() = literal("firmament") { } } } + thenLiteral("buttons") { + thenExecute { + InventoryButtons.openEditor() + } + } thenLiteral("storage") { thenExecute { ScreenUtil.setScreenLater(StorageOverlayScreen()) -- cgit