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
1 files changed, 9 insertions, 0 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
new file mode 100644
index 0000000..a71e3f1
--- /dev/null
+++ b/src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt
@@ -0,0 +1,9 @@
+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