Transformer
public class NpcUpdateTransformer extends java.lang.Object implements Transformer
Constructor | Description |
---|---|
NpcUpdateTransformer() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
canTransform(java.lang.String name) |
|
boolean |
isUsed() |
|
static void |
runHook(int index) |
|
static void |
runHook(int index,
NPC npc) |
|
org.objectweb.asm.tree.ClassNode |
transform(org.objectweb.asm.tree.ClassNode clazz) |
public static void runHook(int index, NPC npc)
public static void runHook(int index)
public boolean canTransform(java.lang.String name)
canTransform
in interface Transformer
public org.objectweb.asm.tree.ClassNode transform(org.objectweb.asm.tree.ClassNode clazz)
transform
in interface Transformer
public boolean isUsed()
isUsed
in interface Transformer