feat: Add debug UI for block types

This commit is contained in:
Linnea Gräf
2025-03-08 16:00:39 +01:00
parent 7070b0794c
commit 222da0dd8e
3 changed files with 98 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ 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.mining.MiningBlockInfoUi
import moe.nea.firmament.gui.config.AllConfigsGui
import moe.nea.firmament.gui.config.BooleanHandler
import moe.nea.firmament.gui.config.ManagedConfig
@@ -217,6 +218,11 @@ fun firmamentCommand() = literal("firmament") {
}
}
}
thenLiteral("blocks") {
thenExecute {
ScreenUtil.setScreenLater(MiningBlockInfoUi.makeScreen())
}
}
thenLiteral("dumpchat") {
thenExecute {
MC.inGameHud.chatHud.messages.forEach {