mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-28 22:48:44 +00:00
Interface mixins dev
This commit is contained in:
1 parent
8c450d4282
commit
46e20b1f4e
19 files changed
+585
-150
No files matched your search
@@ -437,11 +437,11 @@ public class MixinEnvironment implements ITokenProvider {
|
||||
|
||||
private final int classVersion;
|
||||
|
||||
private final boolean resolveMethodsInInterfaces;
|
||||
private final boolean supportsMethodsInInterfaces;
|
||||
|
||||
private CompatibilityLevel(int classVersion, boolean resolveMethodsInInterfaces) {
|
||||
this.classVersion = classVersion;
|
||||
this.resolveMethodsInInterfaces = resolveMethodsInInterfaces;
|
||||
this.supportsMethodsInInterfaces = resolveMethodsInInterfaces;
|
||||
}
|
||||
|
||||
boolean isSupported() {
|
||||
@@ -452,8 +452,8 @@ public class MixinEnvironment implements ITokenProvider {
|
||||
return this.classVersion;
|
||||
}
|
||||
|
||||
public boolean resolveMethodsInInterfaces() {
|
||||
return this.resolveMethodsInInterfaces;
|
||||
public boolean supportsMethodsInInterfaces() {
|
||||
return this.supportsMethodsInInterfaces;
|
||||
}
|
||||
|
||||
public boolean isAtLeast(CompatibilityLevel level) {
|
||||
|
||||
Reference in new issue
Block a user