mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-28 17:05:58 +00:00
Add concept of version to mixin config, for forward compatibility checks
This commit is contained in:
1 parent
9afaa6ba0f
commit
1eab9929bb
7 files changed
+306
-8
No files matched your search
@@ -180,6 +180,10 @@ public class MixinEnvironment {
|
||||
|
||||
return this.side != null ? this.side : Side.UNKNOWN;
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return (String)Launch.blackboard.get(MixinBootstrap.INIT_KEY);
|
||||
}
|
||||
|
||||
public static MixinEnvironment getCurrentEnvironment() {
|
||||
if (MixinEnvironment.env == null) {
|
||||
|
||||
Reference in new issue
Block a user