Class DefaultsPaperPluginLoader
java.lang.Object
xyz.jpenilla.gremlin.runtime.platformsupport.DefaultsPaperPluginLoader
- All Implemented Interfaces:
io.papermc.paper.plugin.loader.PluginLoader
@NullMarked
public final class DefaultsPaperPluginLoader
extends Object
implements io.papermc.paper.plugin.loader.PluginLoader
Paper
PluginLoader that automatically loads dependencies using
DependencySet.readDefault(ClassLoader), resolves them to
plugins/<plugin_name>/libraries/ using DependencyResolver,
and then adds them to the plugin classpath.
This is provided as a convenience for the common case, and isn't meant to
be flexible. If custom behavior is required, a custom PluginLoader
should be implemented.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclassloader(io.papermc.paper.plugin.loader.PluginClasspathBuilder classpath)
-
Constructor Details
-
DefaultsPaperPluginLoader
public DefaultsPaperPluginLoader()
-
-
Method Details
-
classloader
public void classloader(io.papermc.paper.plugin.loader.PluginClasspathBuilder classpath) - Specified by:
classloaderin interfaceio.papermc.paper.plugin.loader.PluginLoader
-