From d14d193dec3734cb66b5f36290b51f049ba18e2e Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Sat, 4 Jun 2022 22:09:25 +0700 Subject: receive and send packet events (#32) * move from mod events to mixin * packet events --- src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt (limited to 'src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl') 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 -- cgit