aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java
diff options
context:
space:
mode:
authorisXander <isxander@users.noreply.github.com>2022-08-30 20:04:21 +0100
committerisXander <isxander@users.noreply.github.com>2022-08-30 20:04:21 +0100
commit9d0a5e937f97c1c17d034393e01636d5241f376a (patch)
tree40b15bc97835c798d6b4489afaf8c84970c3ea0b /src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java
parentd643a44c866504a642f9de0055417a82585d96e5 (diff)
downloadYetAnotherConfigLib-9d0a5e937f97c1c17d034393e01636d5241f376a.tar.gz
YetAnotherConfigLib-9d0a5e937f97c1c17d034393e01636d5241f376a.tar.bz2
YetAnotherConfigLib-9d0a5e937f97c1c17d034393e01636d5241f376a.zip
Builder API done!
gui now...
Diffstat (limited to 'src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java')
-rw-r--r--src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java b/src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java
new file mode 100644
index 0000000..0cef49f
--- /dev/null
+++ b/src/main/java/dev/isxander/yacl/impl/YetAnotherConfigLibImpl.java
@@ -0,0 +1,16 @@
+package dev.isxander.yacl.impl;
+
+import com.google.common.collect.ImmutableList;
+import dev.isxander.yacl.api.ConfigCategory;
+import dev.isxander.yacl.api.YetAnotherConfigLib;
+import net.minecraft.client.gui.screen.Screen;
+import net.minecraft.text.Text;
+import org.jetbrains.annotations.ApiStatus;
+
+@ApiStatus.Internal
+public record YetAnotherConfigLibImpl(Text title, ImmutableList<ConfigCategory> categories) implements YetAnotherConfigLib {
+ @Override
+ public Screen generateScreen() {
+ return null;
+ }
+}