Class ViaFacet.Title<V>
java.lang.Object
net.kyori.adventure.platform.facet.FacetBase<V>
net.kyori.adventure.platform.viaversion.ViaFacet<V>
net.kyori.adventure.platform.viaversion.ViaFacet.ProtocolBased<V>
net.kyori.adventure.platform.viaversion.ViaFacet.Title<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.Title<V,,String, List<Consumer<com.viaversion.viaversion.api.protocol.packet.PacketWrapper>>, Consumer<V>> net.kyori.adventure.platform.facet.Facet.TitlePacket<V,String, List<Consumer<com.viaversion.viaversion.api.protocol.packet.PacketWrapper>>, Consumer<V>>
public static class ViaFacet.Title<V>
extends ViaFacet.ProtocolBased<V>
implements net.kyori.adventure.platform.facet.Facet.TitlePacket<V,String,List<Consumer<com.viaversion.viaversion.api.protocol.packet.PacketWrapper>>,Consumer<V>>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.kyori.adventure.platform.viaversion.ViaFacet
ViaFacet.ActionBar<V>, ViaFacet.ActionBarTitle<V>, ViaFacet.BossBar<V>, ViaFacet.Chat<V>, ViaFacet.ProtocolBased<V>, ViaFacet.TabList<V>, ViaFacet.Title<V>Nested classes/interfaces inherited from interface net.kyori.adventure.platform.facet.Facet
net.kyori.adventure.platform.facet.Facet.ActionBar<V,M>, net.kyori.adventure.platform.facet.Facet.Book<V, M, B>, net.kyori.adventure.platform.facet.Facet.BossBar<V>, net.kyori.adventure.platform.facet.Facet.BossBarEntity<V, P>, net.kyori.adventure.platform.facet.Facet.BossBarPacket<V>, net.kyori.adventure.platform.facet.Facet.Chat<V, M>, net.kyori.adventure.platform.facet.Facet.ChatPacket<V, M>, net.kyori.adventure.platform.facet.Facet.EntitySound<V, M>, net.kyori.adventure.platform.facet.Facet.FakeEntity<V, P>, net.kyori.adventure.platform.facet.Facet.Message<V, M>, net.kyori.adventure.platform.facet.Facet.Pointers<V>, net.kyori.adventure.platform.facet.Facet.Position<V, P>, net.kyori.adventure.platform.facet.Facet.Sound<V, P>, net.kyori.adventure.platform.facet.Facet.TabList<V, M>, net.kyori.adventure.platform.facet.Facet.Title<V, M, C, T>, net.kyori.adventure.platform.facet.Facet.TitlePacket<V, M, C, T> -
Field Summary
Fields inherited from class net.kyori.adventure.platform.facet.FacetBase
viewerClassFields inherited from interface net.kyori.adventure.platform.facet.Facet.Message
PROTOCOL_HEX_COLOR, PROTOCOL_JSON, VERSION_HEX_COLORFields inherited from interface net.kyori.adventure.platform.facet.Facet.Title
MAX_SECONDS, VERSION_ACTION_BARFields inherited from interface net.kyori.adventure.platform.facet.Facet.TitlePacket
ACTION_ACTIONBAR, ACTION_CLEAR, ACTION_RESET, ACTION_SUBTITLE, ACTION_TIMES, ACTION_TITLE -
Constructor Summary
ConstructorsModifierConstructorDescriptionTitle(@NotNull Class<? extends V> viewerClass, @NotNull Function<V, com.viaversion.viaversion.api.connection.UserConnection> connectionFunction) protectedTitle(@NotNull String fromProtocol, @NotNull String toProtocol, String minProtocol, @NotNull Class<? extends V> viewerClass, @NotNull Function<V, com.viaversion.viaversion.api.connection.UserConnection> connectionFunction) -
Method Summary
Modifier and TypeMethodDescriptionvoidclearTitle(V viewer) completeTitle(@NotNull List<Consumer<com.viaversion.viaversion.api.protocol.packet.PacketWrapper>> coll) voidcontributeSubtitle(@NotNull List<Consumer<com.viaversion.viaversion.api.protocol.packet.PacketWrapper>> coll, @NotNull String subtitle) voidcontributeTimes(@NotNull List<Consumer<com.viaversion.viaversion.api.protocol.packet.PacketWrapper>> coll, int inTicks, int stayTicks, int outTicks) voidcontributeTitle(@NotNull List<Consumer<com.viaversion.viaversion.api.protocol.packet.PacketWrapper>> coll, @NotNull String title) voidresetTitle(V viewer) voidMethods inherited from class net.kyori.adventure.platform.viaversion.ViaFacet.ProtocolBased
createPacket, isSupported, parse, parse, sendPacketMethods inherited from class net.kyori.adventure.platform.viaversion.ViaFacet
createMessage, findConnection, findProtocol, isApplicableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.kyori.adventure.platform.facet.Facet
isApplicable, isSupportedMethods inherited from interface net.kyori.adventure.platform.facet.Facet.Message
createMessageMethods inherited from interface net.kyori.adventure.platform.facet.Facet.Title
toTicks
-
Constructor Details
-
Title
-
Title
-
-
Method Details
-
createTitleCollection
-
contributeTitle
-
contributeSubtitle
-
contributeTimes
-
completeTitle
-
showTitle
-
clearTitle
-
resetTitle
-