Interface Facet.ChatPacket<V,M>
-
- Type Parameters:
V
- a viewer typeM
- a message type
- All Superinterfaces:
Facet<V>
,Facet.Chat<V,M>
,Facet.Message<V,M>
public static interface Facet.ChatPacket<V,M> extends Facet.Chat<V,M>
A facet that sends chat messages, using packets.- 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 byte
TYPE_ACTION_BAR
static byte
TYPE_CHAT
static byte
TYPE_SYSTEM
-
Fields inherited from interface net.kyori.adventure.platform.facet.Facet.Message
PROTOCOL_HEX_COLOR, PROTOCOL_JSON
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default byte
createMessageType(@NotNull MessageType type)
Creates a message type.-
Methods inherited from interface net.kyori.adventure.platform.facet.Facet
isApplicable, isSupported
-
Methods inherited from interface net.kyori.adventure.platform.facet.Facet.Chat
sendMessage
-
Methods inherited from interface net.kyori.adventure.platform.facet.Facet.Message
createMessage
-
-
-
-
Field Detail
-
TYPE_CHAT
static final byte TYPE_CHAT
- See Also:
- Constant Field Values
-
TYPE_SYSTEM
static final byte TYPE_SYSTEM
- See Also:
- Constant Field Values
-
TYPE_ACTION_BAR
static final byte TYPE_ACTION_BAR
- See Also:
- Constant Field Values
-
-
Method Detail
-
createMessageType
default byte createMessageType(@NotNull @NotNull MessageType type)
Creates a message type.- Parameters:
type
- a message type- Returns:
- an ordinal
- Since:
- 4.0.0
-
-