Package io.papermc.paper.chat
Interface ChatComposer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
A chat composer is responsible for composing chat messages sent by
Player
s to the server.-
Field Summary
Fields -
Method Summary
-
Field Details
-
DEFAULT
Deprecated.
-
-
Method Details
-
composeChat
@Deprecated @NotNull @NotNull Component composeChat(@NotNull @NotNull Player source, @NotNull @NotNull Component displayName, @NotNull @NotNull Component message)Deprecated.for removal with 1.17Composes a chat message.- Parameters:
source
- the message sourcedisplayName
- the display name of thePlayer
sending the messagemessage
- the chat message- Returns:
- a composed chat message
-
ChatRenderer