public final class AsyncChatEvent extends AbstractChatEvent
Player
sends a chat message to the server.Event.Result
player
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 ChatComposer composer,
@NotNull net.kyori.adventure.text.Component message)
Deprecated.
for removal with 1.17, use
AsyncChatEvent(boolean, Player, Set, ChatRenderer, Component) |
AsyncChatEvent(boolean async,
@NotNull Player player,
@NotNull Set<Player> recipients,
@NotNull ChatFormatter formatter,
@NotNull net.kyori.adventure.text.Component message)
Deprecated.
for removal with 1.17, use
AsyncChatEvent(boolean, Player, Set, ChatRenderer, Component) |
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) |
Modifier and Type | Method and Description |
---|---|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
composer, composer, formatter, formatter, isCancelled, message, message, originalMessage, recipients, renderer, renderer, setCancelled, viewers
getPlayer
callEvent, getEventName, isAsynchronous
public AsyncChatEvent(boolean async, @NotNull @NotNull Player player, @NotNull @NotNull Set<net.kyori.adventure.audience.Audience> viewers, @NotNull @NotNull ChatRenderer renderer, @NotNull @NotNull net.kyori.adventure.text.Component message)
@Deprecated public AsyncChatEvent(boolean async, @NotNull @NotNull Player player, @NotNull @NotNull Set<Player> recipients, @NotNull @NotNull Set<net.kyori.adventure.audience.Audience> viewers, @NotNull @NotNull ChatRenderer renderer, @NotNull @NotNull net.kyori.adventure.text.Component message)
AsyncChatEvent(boolean, Player, Set, ChatRenderer, Component)
@Deprecated public AsyncChatEvent(boolean async, @NotNull @NotNull Player player, @NotNull @NotNull Set<Player> recipients, @NotNull @NotNull ChatComposer composer, @NotNull @NotNull net.kyori.adventure.text.Component message)
AsyncChatEvent(boolean, Player, Set, ChatRenderer, Component)
@Deprecated public AsyncChatEvent(boolean async, @NotNull @NotNull Player player, @NotNull @NotNull Set<Player> recipients, @NotNull @NotNull ChatFormatter formatter, @NotNull @NotNull net.kyori.adventure.text.Component message)
AsyncChatEvent(boolean, Player, Set, ChatRenderer, Component)
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.