Class MixinCodeModifier
java.lang.Object
net.minestom.server.extras.selfmodification.CodeModifier
net.minestom.server.extras.selfmodification.mixins.MixinCodeModifier
public class MixinCodeModifier extends CodeModifier
CodeModifier responsible for applying Mixins during class load
-
Constructor Summary
Constructors Constructor Description MixinCodeModifier()
-
Method Summary
Modifier and Type Method Description java.lang.String
getNamespace()
Beginning of the class names to transform.boolean
transform(org.objectweb.asm.tree.ClassNode source)
Must return true iif the class node has been modified
-
Constructor Details
-
MixinCodeModifier
public MixinCodeModifier()
-
-
Method Details
-
transform
public boolean transform(org.objectweb.asm.tree.ClassNode source)Description copied from class:CodeModifier
Must return true iif the class node has been modified- Specified by:
transform
in classCodeModifier
- Returns:
-
getNamespace
public java.lang.String getNamespace()Description copied from class:CodeModifier
Beginning of the class names to transform. 'null' is allowed to transform any class, but not recommended- Specified by:
getNamespace
in classCodeModifier
- Returns:
-