Class FoundryEngineMixinPlugin
java.lang.Object
de.luckymcdev.foundryengine.mixin.FoundryEngineMixinPlugin
- All Implemented Interfaces:
org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
public class FoundryEngineMixinPlugin
extends Object
implements org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
Companion plugin shared by every FoundryEngine mixin config. Registered as
the
plugin key of the generated JSON configs so that runtime mixin
gating and pre/post transformation hooks can be added here without touching
each config.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptTargets(Set<String> myTargets, Set<String> otherTargets) @Nullable StringvoidvoidpostApply(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
-
FoundryEngineMixinPlugin
public FoundryEngineMixinPlugin()
-
-
Method Details
-
onLoad
- Specified by:
onLoadin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
getRefMapperConfig
- Specified by:
getRefMapperConfigin interfaceorg.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
-
shouldApplyMixin
-
acceptTargets
-
getMixins
-
preApply
-
postApply
-