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