Class ViaFacet<V>
- java.lang.Object
-
- net.kyori.adventure.platform.facet.FacetBase<V>
-
- net.kyori.adventure.platform.viaversion.ViaFacet<V>
-
- All Implemented Interfaces:
net.kyori.adventure.platform.facet.Facet<V>,net.kyori.adventure.platform.facet.Facet.Message<V,java.lang.String>
- Direct Known Subclasses:
ViaFacet.BossBar.Builder,ViaFacet.BossBar.Builder1_9_To_1_15,ViaFacet.ProtocolBased
public class ViaFacet<V> extends net.kyori.adventure.platform.facet.FacetBase<V> implements net.kyori.adventure.platform.facet.Facet.Message<V,java.lang.String>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classViaFacet.ActionBar<V>static classViaFacet.ActionBarTitle<V>static classViaFacet.BossBar<V>static classViaFacet.Chat<V>static classViaFacet.ProtocolBased<V>static classViaFacet.TabList<V>static classViaFacet.Title<V>-
Nested classes/interfaces inherited from interface net.kyori.adventure.platform.facet.Facet
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.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.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.TitlePacket<V extends java.lang.Object,M extends java.lang.Object,C extends java.lang.Object,T extends java.lang.Object>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.StringcreateMessage(V viewer, @NotNull Component message)@Nullable com.viaversion.viaversion.api.connection.UserConnectionfindConnection(V viewer)intfindProtocol(V viewer)booleanisApplicable(V viewer)booleanisSupported()
-
-
-
Method Detail
-
isSupported
public boolean isSupported()
-
isApplicable
public boolean isApplicable(@NotNull V viewer)
-
findConnection
@Nullable public @Nullable com.viaversion.viaversion.api.connection.UserConnection findConnection(@NotNull V viewer)
-
findProtocol
public int findProtocol(@NotNull V viewer)
-
-