feat(debug): Add /firm dev screens command
This commit is contained in:
@@ -228,6 +228,15 @@ fun firmamentCommand() = literal("firmament") {
|
||||
}
|
||||
}
|
||||
}
|
||||
thenLiteral("screens") {
|
||||
thenExecute {
|
||||
MC.sendChat(Text.literal("""
|
||||
|Screen: ${MC.screen} (${MC.screen?.title})
|
||||
|Screen Handler: ${MC.handledScreen?.screenHandler} ${MC.handledScreen?.screenHandler?.syncId}
|
||||
|Player Screen Handler: ${MC.player?.currentScreenHandler} ${MC.player?.currentScreenHandler?.syncId}
|
||||
""".trimMargin()))
|
||||
}
|
||||
}
|
||||
thenLiteral("blocks") {
|
||||
thenExecute {
|
||||
ScreenUtil.setScreenLater(MiningBlockInfoUi.makeScreen())
|
||||
|
||||
Reference in New Issue
Block a user