Class ViaFacet.ActionBarTitle<V>

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

    public static class ViaFacet.ActionBarTitle<V>
    extends ViaFacet.ProtocolBased<V>
    implements net.kyori.adventure.platform.facet.Facet.ActionBar<V,​String>
    • Constructor Detail

      • ActionBarTitle

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

      • sendMessage

        public void sendMessage​(@NotNull
                                V viewer,
                                @NotNull
                                @NotNull String message)
        Specified by:
        sendMessage in interface net.kyori.adventure.platform.facet.Facet.ActionBar<V,​String>