Class RPMixinConfig

  • All Implemented Interfaces:
    org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin

    public final class RPMixinConfig
    extends Object
    implements org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
    The RandomPatches mixin config plugin.
    • Constructor Detail

      • RPMixinConfig

        public RPMixinConfig()
    • Method Detail

      • onLoad

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

        public @Nullable 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 @Nullable 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