mixin engine finally fixed

This commit is contained in:
FalsePattern committed 2022-08-21 11:09:33 +02:00
1 parent 19edd1bfa4
commit c639236ba1
3 files changed
+12 -46

No files matched your search

@@ -25,9 +25,9 @@ import com.falsepattern.lib.util.FileUtil;
import lombok.val;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.spongepowered.asm.lib.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
import org.spongepowered.libraries.org.objectweb.asm.tree.ClassNode;
import net.minecraft.launchwrapper.Launch;
@@ -146,37 +146,15 @@ public interface IMixinPlugin extends IMixinConfigPlugin {
return success;
}
/**
* Fallback for spongemixins. Removed for mixinbooter
*/
@StableAPI.Expose(since = "__INTERNAL__")
default void preApply_obsolete(String targetClassName, ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo) {
}
/**
* Fallback for spongemixins. Removed for mixinbooter
*/
@StableAPI.Expose(since = "__INTERNAL__")
default void postApply_obsolete(String targetClassName, ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo) {
}
/**
* Regular behaviour for mixinbooter. Removed for spongemixins
*/
@Override
@StableAPI.Expose(since = "__INTERNAL__")
default void preApply(String targetClassName, org.spongepowered.libraries.org.objectweb.asm.tree.ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo) {
default void preApply(String targetClassName, ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo) {
}
/**
* Regular behaviour for mixinbooter. Removed for spongemixins
*/
@Override
@StableAPI.Expose(since = "__INTERNAL__")
default void postApply(String targetClassName, org.spongepowered.libraries.org.objectweb.asm.tree.ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo) {
default void postApply(String targetClassName, ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo) {
}
}