aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-04 17:11:43 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-04 17:11:43 +0200
commit88d9478c8ad01742e8395251c4d3e4f1c07812cc (patch)
tree7c6bbf8d731bfeb826e658f9b343a50204356b86 /src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt
parent3f8fa6aaf02fb333e9b5b1c37779e2b701b7ae16 (diff)
parentd14d193dec3734cb66b5f36290b51f049ba18e2e (diff)
downloadOneConfig-88d9478c8ad01742e8395251c4d3e4f1c07812cc.tar.gz
OneConfig-88d9478c8ad01742e8395251c4d3e4f1c07812cc.tar.bz2
OneConfig-88d9478c8ad01742e8395251c4d3e4f1c07812cc.zip
Merge branch 'master' of github.com:Polyfrost/OneConfig
Diffstat (limited to 'src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt')
-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