public static interface ChatRenderer.ViewerUnaware
ChatRenderer
, but without knowledge of the message viewer.Modifier and Type | Method and Description |
---|---|
@NotNull net.kyori.adventure.text.Component |
render(@NotNull Player source,
@NotNull net.kyori.adventure.text.Component sourceDisplayName,
@NotNull net.kyori.adventure.text.Component message)
Renders a chat message.
|
@NotNull @NotNull net.kyori.adventure.text.Component render(@NotNull @NotNull Player source, @NotNull @NotNull net.kyori.adventure.text.Component sourceDisplayName, @NotNull @NotNull net.kyori.adventure.text.Component message)
source
- the message sourcesourceDisplayName
- the display name of the source playermessage
- the chat messageCopyright © 2021. All rights reserved.