Class ViaFacet.TabList<V>

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

    public static final class ViaFacet.TabList<V>
    extends ViaFacet.ProtocolBased<V>
    implements net.kyori.adventure.platform.facet.Facet.TabList<V,​java.lang.String>
    • 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
      TabList​(@NotNull java.lang.Class<? extends V> viewerClass, @NotNull java.util.function.Function<V,​com.viaversion.viaversion.api.connection.UserConnection> userConnection)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void send​(V viewer, @Nullable java.lang.String header, @Nullable java.lang.String footer)  
      • 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
      • Methods inherited from interface net.kyori.adventure.platform.facet.Facet.Message

        createMessage
    • Constructor Detail

      • TabList

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

      • send

        public void send​(V viewer,
                         @Nullable
                         @Nullable java.lang.String header,
                         @Nullable
                         @Nullable java.lang.String footer)
        Specified by:
        send in interface net.kyori.adventure.platform.facet.Facet.TabList<V,​java.lang.String>