Class PaperChannelInstaller

java.lang.Object
com.ultikits.ultitools.bootstrap.PaperChannelInstaller

final class PaperChannelInstaller extends Object
The sole adapter from Paper's content lifecycle events to framework-owned declarations.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static <T> void
    applyTag(io.papermc.paper.tag.PostFlattenTagRegistrar<T> registrar, io.papermc.paper.registry.RegistryKey<T> key, ModuleContributions.TagChange change)
     
    private static void
    guard(AtomicBoolean installed, Logger logger, String channel, Runnable action)
     
    (package private) static void
    install(io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<io.papermc.paper.plugin.bootstrap.BootstrapContext> lifecycle, ContributionRegistry registry, Logger logger)
     
    (package private) 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)
     
    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)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      private static void guard(AtomicBoolean installed, Logger logger, String channel, Runnable action)