Class MinestomClassProvider
java.lang.Object
net.minestom.server.extras.selfmodification.mixins.MinestomClassProvider
- All Implemented Interfaces:
org.spongepowered.asm.service.IClassProvider
public class MinestomClassProvider
extends java.lang.Object
implements org.spongepowered.asm.service.IClassProvider
Provides classes for Mixin
-
Constructor Summary
Constructors Constructor Description MinestomClassProvider(MinestomOverwriteClassLoader classLoader)
-
Method Summary
Modifier and Type Method Description java.lang.Class<?>
findAgentClass(java.lang.String name, boolean initialize)
java.lang.Class<?>
findClass(java.lang.String name)
java.lang.Class<?>
findClass(java.lang.String name, boolean initialize)
java.net.URL[]
getClassPath()
-
Constructor Details
-
Method Details
-
getClassPath
public java.net.URL[] getClassPath()- Specified by:
getClassPath
in interfaceorg.spongepowered.asm.service.IClassProvider
-
findClass
public java.lang.Class<?> findClass(java.lang.String name) throws java.lang.ClassNotFoundException- Specified by:
findClass
in interfaceorg.spongepowered.asm.service.IClassProvider
- Throws:
java.lang.ClassNotFoundException
-
findClass
public java.lang.Class<?> findClass(java.lang.String name, boolean initialize) throws java.lang.ClassNotFoundException- Specified by:
findClass
in interfaceorg.spongepowered.asm.service.IClassProvider
- Throws:
java.lang.ClassNotFoundException
-
findAgentClass
public java.lang.Class<?> findAgentClass(java.lang.String name, boolean initialize) throws java.lang.ClassNotFoundException- Specified by:
findAgentClass
in interfaceorg.spongepowered.asm.service.IClassProvider
- Throws:
java.lang.ClassNotFoundException
-