aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/cc')
-rw-r--r--src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt9
-rw-r--r--src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/GuiUtilsDSL.kt11
2 files changed, 0 insertions, 20 deletions
diff --git a/src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt b/src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt
deleted file mode 100644
index c8c18e4..0000000
--- a/src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt
+++ /dev/null
@@ -1,9 +0,0 @@
-package cc.polyfrost.oneconfig.utils.dsl
-
-import cc.polyfrost.oneconfig.libs.universal.UMinecraft
-
-/**
- * Gets the current [net.minecraft.client.Minecraft] instance.
- */
-val mc
- get() = UMinecraft.getMinecraft() \ No newline at end of file
diff --git a/src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/GuiUtilsDSL.kt b/src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/GuiUtilsDSL.kt
deleted file mode 100644
index c70f686..0000000
--- a/src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/GuiUtilsDSL.kt
+++ /dev/null
@@ -1,11 +0,0 @@
-package cc.polyfrost.oneconfig.utils.dsl
-
-import cc.polyfrost.oneconfig.utils.gui.GuiUtils
-import net.minecraft.client.gui.GuiScreen
-
-/**
- * Displays a screen after the specified amount of ticks.
- *
- * @param ticks the amount of ticks to wait for before displaying the screen.
- */
-fun GuiScreen.openScreen(ticks: Int = 1) = GuiUtils.displayScreen(this, ticks) \ No newline at end of file