aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/gui/config/BuiltInConfigScreenProvider.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-08-31 11:59:47 +0200
committerLinnea Gräf <nea@nea.moe>2024-08-31 11:59:47 +0200
commit816f80f862d2f5de6bc9b0ae84cd6df0da341228 (patch)
treeee8aaccbaebe5a024549c2530319ed09a02cc4e4 /src/main/kotlin/gui/config/BuiltInConfigScreenProvider.kt
parentd2f240ff0ca0d27f417f837e706c781a98c31311 (diff)
downloadFirmament-816f80f862d2f5de6bc9b0ae84cd6df0da341228.tar.gz
Firmament-816f80f862d2f5de6bc9b0ae84cd6df0da341228.tar.bz2
Firmament-816f80f862d2f5de6bc9b0ae84cd6df0da341228.zip
Add configured compat
[no changelog]
Diffstat (limited to 'src/main/kotlin/gui/config/BuiltInConfigScreenProvider.kt')
-rw-r--r--src/main/kotlin/gui/config/BuiltInConfigScreenProvider.kt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/kotlin/gui/config/BuiltInConfigScreenProvider.kt b/src/main/kotlin/gui/config/BuiltInConfigScreenProvider.kt
new file mode 100644
index 0000000..19e7383
--- /dev/null
+++ b/src/main/kotlin/gui/config/BuiltInConfigScreenProvider.kt
@@ -0,0 +1,14 @@
+package moe.nea.firmament.gui.config
+
+import com.google.auto.service.AutoService
+import net.minecraft.client.gui.screen.Screen
+
+@AutoService(FirmamentConfigScreenProvider::class)
+class BuiltInConfigScreenProvider : FirmamentConfigScreenProvider {
+ override val key: String
+ get() = "builtin"
+
+ override fun open(parent: Screen?): Screen {
+ return AllConfigsGui.makeBuiltInScreen(parent)
+ }
+}