Class ViaFacet.TabList<V>

  • All Implemented Interfaces:
    net.kyori.adventure.platform.facet.Facet<V>, net.kyori.adventure.platform.facet.Facet.Message<V,​String>, net.kyori.adventure.platform.facet.Facet.TabList<V,​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,​String>
    • Constructor Detail

      • TabList

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

      • send

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