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