Class PaperChannelInstaller
java.lang.Object
com.ultikits.ultitools.bootstrap.PaperChannelInstaller
The sole adapter from Paper's content lifecycle events to framework-owned declarations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> voidapplyTag(io.papermc.paper.tag.PostFlattenTagRegistrar<T> registrar, io.papermc.paper.registry.RegistryKey<T> key, ModuleContributions.TagChange change) private static voidguard(AtomicBoolean installed, Logger logger, String channel, Runnable action) (package private) static voidinstall(io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<io.papermc.paper.plugin.bootstrap.BootstrapContext> lifecycle, ContributionRegistry registry, Logger logger) (package private) static voidinstall(io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<io.papermc.paper.plugin.bootstrap.BootstrapContext> lifecycle, ContributionRegistry registry, Logger logger, Supplier<io.papermc.paper.plugin.lifecycle.event.types.TagEventTypeProvider> tags) private static <T> voidinstallTags(io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<io.papermc.paper.plugin.bootstrap.BootstrapContext> lifecycle, io.papermc.paper.plugin.lifecycle.event.types.TagEventTypeProvider tags, ContributionRegistry registry, Logger logger, AtomicBoolean installed, io.papermc.paper.registry.RegistryKey<T> key)
-
Constructor Details
-
PaperChannelInstaller
private PaperChannelInstaller()
-
-
Method Details
-
install
static void install(io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<io.papermc.paper.plugin.bootstrap.BootstrapContext> lifecycle, ContributionRegistry registry, Logger logger) -
install
static void install(io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<io.papermc.paper.plugin.bootstrap.BootstrapContext> lifecycle, ContributionRegistry registry, Logger logger, Supplier<io.papermc.paper.plugin.lifecycle.event.types.TagEventTypeProvider> tags) -
installTags
private static <T> void installTags(io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<io.papermc.paper.plugin.bootstrap.BootstrapContext> lifecycle, io.papermc.paper.plugin.lifecycle.event.types.TagEventTypeProvider tags, ContributionRegistry registry, Logger logger, AtomicBoolean installed, io.papermc.paper.registry.RegistryKey<T> key) -
applyTag
private static <T> void applyTag(io.papermc.paper.tag.PostFlattenTagRegistrar<T> registrar, io.papermc.paper.registry.RegistryKey<T> key, ModuleContributions.TagChange change) -
guard
-