Package | Description |
---|---|
io.papermc.paper.chat | |
io.papermc.paper.event.player |
Modifier and Type | Method and Description |
---|---|
static @NotNull ChatRenderer |
ChatRenderer.defaultRenderer()
Create a new instance of the default
ChatRenderer . |
static @NotNull ChatRenderer |
ChatRenderer.viewerUnaware(@NotNull ChatRenderer.ViewerUnaware renderer)
Creates a new viewer-unaware
ChatRenderer , which will render the chat message a single time,
displaying the same rendered message to every viewing Audience . |
Modifier and Type | Method and Description |
---|---|
@NotNull ChatRenderer |
AbstractChatEvent.renderer()
Gets the chat renderer.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractChatEvent.renderer(@NotNull ChatRenderer renderer)
Sets the chat renderer.
|
Constructor and Description |
---|
AsyncChatEvent(boolean async,
@NotNull Player player,
@NotNull Set<net.kyori.adventure.audience.Audience> viewers,
@NotNull ChatRenderer renderer,
@NotNull net.kyori.adventure.text.Component message) |
AsyncChatEvent(boolean async,
@NotNull Player player,
@NotNull Set<Player> recipients,
@NotNull Set<net.kyori.adventure.audience.Audience> viewers,
@NotNull ChatRenderer renderer,
@NotNull net.kyori.adventure.text.Component message)
Deprecated.
for removal with 1.17, use
AsyncChatEvent(boolean, Player, Set, ChatRenderer, Component) |
ChatEvent(@NotNull Player player,
@NotNull Set<net.kyori.adventure.audience.Audience> viewers,
@NotNull ChatRenderer renderer,
@NotNull net.kyori.adventure.text.Component message)
Deprecated.
|
ChatEvent(@NotNull Player player,
@NotNull Set<Player> recipients,
@NotNull Set<net.kyori.adventure.audience.Audience> viewers,
@NotNull ChatRenderer renderer,
@NotNull net.kyori.adventure.text.Component message)
Deprecated.
for removal with 1.17, use
ChatEvent(Player, Set, ChatRenderer, Component) |
Copyright © 2021. All rights reserved.