diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-04 22:09:25 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 17:09:25 +0200 |
commit | d14d193dec3734cb66b5f36290b51f049ba18e2e (patch) | |
tree | 3e26e871097ce7028efb03b33803501b2ba7b4c9 /src/main/kotlin/cc | |
parent | 140ffd89293cdad8963d1fc80db382dc5681229f (diff) | |
download | OneConfig-d14d193dec3734cb66b5f36290b51f049ba18e2e.tar.gz OneConfig-d14d193dec3734cb66b5f36290b51f049ba18e2e.tar.bz2 OneConfig-d14d193dec3734cb66b5f36290b51f049ba18e2e.zip |
receive and send packet events (#32)
* move from mod events to mixin
* packet events
Diffstat (limited to 'src/main/kotlin/cc')
-rw-r--r-- | src/main/kotlin/cc/polyfrost/oneconfig/utils/dsl/DSLs.kt | 9 |
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 |