Package dev.plex.listener.impl
Class ChatListener.PlexChatRenderer
java.lang.Object
dev.plex.listener.impl.ChatListener.PlexChatRenderer
- All Implemented Interfaces:
io.papermc.paper.chat.ChatRenderer
- Enclosing class:
- ChatListener
public static class ChatListener.PlexChatRenderer
extends Object
implements io.papermc.paper.chat.ChatRenderer
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.papermc.paper.chat.ChatRenderer
io.papermc.paper.chat.ChatRenderer.Default, io.papermc.paper.chat.ChatRenderer.ViewerUnaware
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.text.Component
render
(@NotNull org.bukkit.entity.Player source, @NotNull net.kyori.adventure.text.Component sourceDisplayName, @NotNull net.kyori.adventure.text.Component message, @NotNull net.kyori.adventure.audience.Audience viewer)
-
Field Details
-
hasPrefix
public boolean hasPrefix -
prefix
public net.kyori.adventure.text.Component prefix -
before
-
-
Constructor Details
-
PlexChatRenderer
public PlexChatRenderer()
-
-
Method Details
-
render
@NotNull public @NotNull net.kyori.adventure.text.Component render(@NotNull @NotNull org.bukkit.entity.Player source, @NotNull @NotNull net.kyori.adventure.text.Component sourceDisplayName, @NotNull @NotNull net.kyori.adventure.text.Component message, @NotNull @NotNull net.kyori.adventure.audience.Audience viewer) - Specified by:
render
in interfaceio.papermc.paper.chat.ChatRenderer
-