Class MixinConfigPlugin

java.lang.Object
com.hammy275.immersivemc.MixinConfigPlugin
All Implemented Interfaces:
org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin

public class MixinConfigPlugin extends Object implements org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
  • Constructor Details

    • MixinConfigPlugin

      public MixinConfigPlugin()
  • Method Details

    • onLoad

      public void onLoad(String mixinPackage)
      Specified by:
      onLoad in interface org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
    • getRefMapperConfig

      public String getRefMapperConfig()
      Specified by:
      getRefMapperConfig in interface org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
    • shouldApplyMixin

      public boolean shouldApplyMixin(String targetClassName, String mixinClassName)
      Specified by:
      shouldApplyMixin in interface org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
    • acceptTargets

      public void acceptTargets(Set<String> myTargets, Set<String> otherTargets)
      Specified by:
      acceptTargets in interface org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
    • getMixins

      public List<String> getMixins()
      Specified by:
      getMixins in interface org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
    • preApply

      public void preApply(String targetClassName, org.objectweb.asm.tree.ClassNode targetClass, String mixinClassName, org.spongepowered.asm.mixin.extensibility.IMixinInfo mixinInfo)
      Specified by:
      preApply in interface org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
    • postApply

      public void postApply(String targetClassName, org.objectweb.asm.tree.ClassNode targetClass, String mixinClassName, org.spongepowered.asm.mixin.extensibility.IMixinInfo mixinInfo)
      Specified by:
      postApply in interface org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin