Uses of Class
org.bukkit.plugin.java.JavaPlugin
-
Uses of JavaPlugin in io.papermc.paper.plugin.bootstrap
Modifier and TypeMethodDescriptiondefault @NotNull JavaPlugin
PluginBootstrap.createPlugin
(@NotNull PluginProviderContext context) Called by the server to instantiate your main class. -
Uses of JavaPlugin in io.papermc.paper.plugin.provider.classloader
Modifier and TypeMethodDescriptionConfiguredPluginClassLoader.getPlugin()
Gets the plugin held by this class loader.Modifier and TypeMethodDescriptionvoid
ConfiguredPluginClassLoader.init
(JavaPlugin plugin) Initializes both this configured plugin class loader and the java plugin passed to link to each other. -
Uses of JavaPlugin in org.bukkit.plugin.java
Modifier and TypeMethodDescriptionstatic <T extends JavaPlugin>
TThis method provides fast access to the plugin that hasprovided
the given plugin class, which is usually the plugin that implemented it.Modifier and TypeMethodDescriptionPluginClassLoader.getPlugin()
static @NotNull JavaPlugin
JavaPlugin.getProvidingPlugin
(@NotNull Class<?> clazz) This method provides fast access to the plugin that has provided the given class.Modifier and TypeMethodDescriptionvoid
PluginClassLoader.init
(JavaPlugin plugin) void
PluginClassLoader.initialize
(@NotNull JavaPlugin javaPlugin)