Interface Facet.Message<V,M>
-
- Type Parameters:
V
- a viewer typeM
- a message type
- All Superinterfaces:
Facet<V>
- All Known Subinterfaces:
Facet.ActionBar<V,M>
,Facet.Book<V,M,B>
,Facet.Chat<V,M>
,Facet.ChatPacket<V,M>
,Facet.TabList<V,M>
,Facet.Title<V,M,C,T>
,Facet.TitlePacket<V,M,C,T>
public static interface Facet.Message<V,M> extends Facet<V>
A facet that converts components between formats.- Since:
- 4.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.kyori.adventure.platform.facet.Facet
Facet.ActionBar<V,M>, Facet.Book<V,M,B>, Facet.BossBar<V>, Facet.BossBarEntity<V,P>, Facet.BossBarPacket<V>, Facet.Chat<V,M>, Facet.ChatPacket<V,M>, Facet.EntitySound<V,M>, Facet.FakeEntity<V,P>, Facet.Message<V,M>, Facet.Pointers<V>, Facet.Position<V,P>, Facet.Sound<V,P>, Facet.TabList<V,M>, Facet.Title<V,M,C,T>, Facet.TitlePacket<V,M,C,T>
-
-
Field Summary
Fields Modifier and Type Field Description static int
PROTOCOL_HEX_COLOR
static int
PROTOCOL_JSON
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description M
createMessage(V viewer, @NotNull Component message)
Creates a message.-
Methods inherited from interface net.kyori.adventure.platform.facet.Facet
isApplicable, isSupported
-
-
-
-
Field Detail
-
PROTOCOL_HEX_COLOR
static final int PROTOCOL_HEX_COLOR
- See Also:
- Constant Field Values
-
PROTOCOL_JSON
static final int PROTOCOL_JSON
- See Also:
- Constant Field Values
-
-