public interface IExtension
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkActive(MixinEnvironment environment)
Check whether this extension is active for the specified environment
|
void |
export(MixinEnvironment env,
java.lang.String name,
boolean force,
org.objectweb.asm.tree.ClassNode classNode)
Called when a class needs to be exported
|
void |
postApply(ITargetClassContext context)
Called after the mixins are applied
|
void |
preApply(ITargetClassContext context)
Called before the mixins are applied
|
boolean checkActive(MixinEnvironment environment)
environment - current environmentvoid preApply(ITargetClassContext context)
context - Target class contextvoid postApply(ITargetClassContext context)
context - Target class contextvoid export(MixinEnvironment env, java.lang.String name, boolean force, org.objectweb.asm.tree.ClassNode classNode)
env - Environmentname - Class nameforce - True to export even if the current environment settings
would normally disable itclassNode - Class to export