Package dev.architectury.plugin.forge
Class ArchitecturyMixinPlugin
java.lang.Object
dev.architectury.plugin.forge.ArchitecturyMixinPlugin
- All Implemented Interfaces:
org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
public class ArchitecturyMixinPlugin
extends Object
implements org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptTargets(Set<String> myTargets, Set<String> otherTargets) voidvoidpostApply(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)
-
Constructor Details
-
ArchitecturyMixinPlugin
public ArchitecturyMixinPlugin()
-
-
Method Details
-
onLoad
- Specified by:
onLoadin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
getRefMapperConfig
- Specified by:
getRefMapperConfigin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
shouldApplyMixin
- Specified by:
shouldApplyMixinin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
acceptTargets
- Specified by:
acceptTargetsin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
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
-
postApply
public void postApply(String targetClassName, org.objectweb.asm.tree.ClassNode targetClass, String mixinClassName, org.spongepowered.asm.mixin.extensibility.IMixinInfo mixinInfo) - Specified by:
postApplyin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-