Class RPMixinConfig
- java.lang.Object
-
- com.therandomlabs.randompatches.mixin.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 Summary
Constructors Constructor Description RPMixinConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptTargets(Set<String> myTargets, Set<String> otherTargets)@Nullable List<String>getMixins()@Nullable StringgetRefMapperConfig()voidonLoad(String mixinPackage)voidpostApply(String targetClassName, org.objectweb.asm.tree.ClassNode targetClass, String mixinClassName, org.spongepowered.asm.mixin.extensibility.IMixinInfo mixinInfo)voidpreApply(String targetClassName, org.objectweb.asm.tree.ClassNode targetClass, String mixinClassName, org.spongepowered.asm.mixin.extensibility.IMixinInfo mixinInfo)booleanshouldApplyMixin(String targetClassName, String mixinClassName)
-
-
-
Method Detail
-
onLoad
public void onLoad(String mixinPackage)
- Specified by:
onLoadin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
getRefMapperConfig
public @Nullable String getRefMapperConfig()
- Specified by:
getRefMapperConfigin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
shouldApplyMixin
public boolean shouldApplyMixin(String targetClassName, String mixinClassName)
- Specified by:
shouldApplyMixinin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
acceptTargets
public void acceptTargets(Set<String> myTargets, Set<String> otherTargets)
- Specified by:
acceptTargetsin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
getMixins
public @Nullable List<String> getMixins()
- Specified by:
getMixinsin interfaceorg.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:
preApplyin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
-