Package io.papermc.paper.chat
Interface ChatRenderer.ViewerUnaware
- Enclosing interface:
- ChatRenderer
public static interface ChatRenderer.ViewerUnaware
Similar to
ChatRenderer
, but without knowledge of the message viewer.-
Method Summary
-
Method Details
-
render
@NotNull @NotNull Component render(@NotNull @NotNull Player source, @NotNull @NotNull Component sourceDisplayName, @NotNull @NotNull Component message) Renders a chat message.- Parameters:
source
- the message sourcesourceDisplayName
- the display name of the source playermessage
- the chat message- Returns:
- a rendered chat message
-