public interface IASMHook
| Modifier and Type | Method and Description |
|---|---|
ClassNode[] |
inject(ClassNode modClassNode)
Inject the
Mod class node into this instance. |
void |
modifyClass(String className,
ClassNode node)
Allow mods to manipulate classes loaded from this
Mod's jar file. |
ClassNode[] inject(ClassNode modClassNode)
Mod class node into this instance. This allows retrieval from custom
attributes or other artifacts in your mod classmodClassNode - The mod classvoid modifyClass(String className, ClassNode node)
Mod's jar file. The Mod
class is always guaranteed to be called first.
The node state should be changed in place.node - The class being loaded