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>
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
Modifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
Fields inherited from interface net.kyori.adventure.platform.facet.Facet.Message
PROTOCOL_HEX_COLOR, PROTOCOL_JSON
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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 Details
-
TYPE_CHAT
static final byte TYPE_CHAT- See Also:
-
TYPE_SYSTEM
static final byte TYPE_SYSTEM- See Also:
-
TYPE_ACTION_BAR
static final byte TYPE_ACTION_BAR- See Also:
-
-
Method Details
-
createMessageType
Creates a message type.- Parameters:
type
- a message type- Returns:
- an ordinal
- Since:
- 4.0.0
-