Uses of Interface
io.papermc.paper.plugin.bootstrap.BootstrapContext
Package
Description
-
Uses of BootstrapContext in io.papermc.paper.plugin.bootstrap
Modifier and TypeMethodDescriptionBootstrapContext.getLifecycleManager()
Get the lifecycle event manager for registering handlers for lifecycle events allowed on theBootstrapContext
.Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionRegistryEventProvider.freeze()
Gets the event type forRegistryFreezeEvent
which is fired just before a registry is frozen.