Uses of Interface
io.papermc.paper.plugin.bootstrap.BootstrapContext
Packages that use BootstrapContext
Package
Description
-
Uses of BootstrapContext in io.papermc.paper.plugin.bootstrap
Methods in io.papermc.paper.plugin.bootstrap that return types with arguments of type BootstrapContextModifier and TypeMethodDescriptionBootstrapContext.getLifecycleManager()
Get the lifecycle event manager for registering handlers for lifecycle events allowed on theBootstrapContext
.Methods in io.papermc.paper.plugin.bootstrap with parameters of type BootstrapContextModifier and TypeMethodDescriptionvoid
PluginBootstrap.bootstrap
(BootstrapContext context) Called by the server, allowing you to bootstrap the plugin with a context that provides things like a logger and your shared plugin configuration file. -
Uses of BootstrapContext in io.papermc.paper.plugin.lifecycle.event.types
Fields in io.papermc.paper.plugin.lifecycle.event.types with type parameters of type BootstrapContextModifier and TypeFieldDescriptionLifecycleEvents.DATAPACK_DISCOVERY
This event is for informing the server about any available datapacks from other sources such as inside a plugin's jar.Methods in io.papermc.paper.plugin.lifecycle.event.types that return types with arguments of type BootstrapContextModifier and TypeMethodDescription<T> LifecycleEventType.Prioritizable
<BootstrapContext, ReloadableRegistrarEvent<PostFlattenTagRegistrar<T>>> TagEventTypeProvider.postFlatten
(RegistryKey<T> registryKey) Get a prioritizable, reloadable registrar event for tags after they are flattened.<T> LifecycleEventType.Prioritizable
<BootstrapContext, ReloadableRegistrarEvent<PreFlattenTagRegistrar<T>>> TagEventTypeProvider.preFlatten
(RegistryKey<T> registryKey) Get a prioritizable, reloadable registrar event for tags before they are flattened. -
Uses of BootstrapContext in io.papermc.paper.registry.event
Methods in io.papermc.paper.registry.event that return types with arguments of type BootstrapContextModifier and TypeMethodDescriptionRegistryEventProvider.freeze()
Gets the event type forRegistryFreezeEvent
which is fired just before a registry is frozen.