Class ViaFacet.BossBar.Builder1_9_To_1_15<V>

  • All Implemented Interfaces:
    net.kyori.adventure.platform.facet.Facet<V>, net.kyori.adventure.platform.facet.Facet.BossBar.Builder<V,​net.kyori.adventure.platform.facet.Facet.BossBar<V>>, net.kyori.adventure.platform.facet.Facet.Message<V,​java.lang.String>
    Enclosing class:
    ViaFacet.BossBar<V>

    public static class ViaFacet.BossBar.Builder1_9_To_1_15<V>
    extends ViaFacet<V>
    implements net.kyori.adventure.platform.facet.Facet.BossBar.Builder<V,​net.kyori.adventure.platform.facet.Facet.BossBar<V>>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface net.kyori.adventure.platform.facet.Facet

        net.kyori.adventure.platform.facet.Facet.ActionBar<V extends java.lang.Object,​M extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.Book<V extends java.lang.Object,​M extends java.lang.Object,​B extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.BossBar<V extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.BossBarEntity<V extends java.lang.Object,​P extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.BossBarPacket<V extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.Chat<V extends java.lang.Object,​M extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.ChatPacket<V extends java.lang.Object,​M extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.EntitySound<V extends java.lang.Object,​M extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.FakeEntity<V extends java.lang.Object,​P extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.Message<V extends java.lang.Object,​M extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.Pointers<V extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.Position<V extends java.lang.Object,​P extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.Sound<V extends java.lang.Object,​P extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.TabList<V extends java.lang.Object,​M extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.Title<V extends java.lang.Object,​M extends java.lang.Object,​C extends java.lang.Object,​T extends java.lang.Object>, net.kyori.adventure.platform.facet.Facet.TitlePacket<V extends java.lang.Object,​M extends java.lang.Object,​C extends java.lang.Object,​T extends java.lang.Object>
    • Field Summary

      • Fields inherited from class net.kyori.adventure.platform.facet.FacetBase

        viewerClass
      • Fields inherited from interface net.kyori.adventure.platform.facet.Facet.Message

        PROTOCOL_HEX_COLOR, PROTOCOL_JSON
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder1_9_To_1_15​(@NotNull java.lang.Class<? extends V> viewerClass, @NotNull java.util.function.Function<V,​com.viaversion.viaversion.api.connection.UserConnection> connectionFunction)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull net.kyori.adventure.platform.facet.Facet.BossBar<V> createBossBar​(@NotNull java.util.Collection<V> viewer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.kyori.adventure.platform.facet.Facet

        isApplicable, isSupported
    • Constructor Detail

      • Builder1_9_To_1_15

        public Builder1_9_To_1_15​(@NotNull
                                  @NotNull java.lang.Class<? extends V> viewerClass,
                                  @NotNull
                                  @NotNull java.util.function.Function<V,​com.viaversion.viaversion.api.connection.UserConnection> connectionFunction)
    • Method Detail

      • createBossBar

        public @NotNull net.kyori.adventure.platform.facet.Facet.BossBar<V> createBossBar​(@NotNull
                                                                                          @NotNull java.util.Collection<V> viewer)
        Specified by:
        createBossBar in interface net.kyori.adventure.platform.facet.Facet.BossBar.Builder<V,​net.kyori.adventure.platform.facet.Facet.BossBar<V>>