public interface IASMHook
Modifier and Type | Method and Description |
---|---|
org.objectweb.asm.tree.ClassNode[] |
inject(org.objectweb.asm.tree.ClassNode modClassNode)
Inject the
Mod class node into this instance. |
void |
modifyClass(String className,
org.objectweb.asm.tree.ClassNode node)
Allow mods to manipulate classes loaded from this
Mod 's jar file. |
org.objectweb.asm.tree.ClassNode[] inject(org.objectweb.asm.tree.ClassNode modClassNode)
Mod
class node into this instance. This allows retrieval from custom
attributes or other artifacts in your mod classmodClassNode
- The mod class