Uses of Interface
io.papermc.paper.plugin.bootstrap.BootstrapContext
Packages that use BootstrapContext
Package
Description
API for bootstrapping plugins before the server is loaded.
This package contains events related to the Paper registry system.
This package contains events related to the Paper registry system.
-
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 the BootstrapContext.Methods in io.papermc.paper.plugin.bootstrap with parameters of type BootstrapContextModifier and TypeMethodDescriptionvoidPluginBootstrap.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_DISCOVERYThis 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.compose()Gets the event type forRegistryComposeEventwhich is fired after a registry is loaded of expected elements. -
Uses of BootstrapContext in io.papermc.paper.registry.event.type
Subinterfaces with type arguments of type BootstrapContext in io.papermc.paper.registry.event.typeModifier and TypeInterfaceDescriptioninterfaceSpecific configuration forRegistryEntryAddEvents.interfaceRegistryEntryAddEventType<T, B extends RegistryBuilder<T>>Lifecycle event type forRegistryEntryAddEvents.