Class MessageSender
java.lang.Object
com.github.retrooper.packetevents.protocol.chat.MessageSender
-
Constructor Summary
ConstructorDescriptionMessageSender
(@NotNull UUID uuid, @Nullable net.kyori.adventure.text.Component displayName, @Nullable net.kyori.adventure.text.Component teamName) MessageSender
(@Nullable net.kyori.adventure.text.Component displayName, @Nullable net.kyori.adventure.text.Component teamName) -
Method Summary
Modifier and TypeMethodDescription@Nullable net.kyori.adventure.text.Component
@Nullable net.kyori.adventure.text.Component
getUUID()
void
setDisplayName
(@Nullable net.kyori.adventure.text.Component displayName) void
setTeamName
(@Nullable net.kyori.adventure.text.Component teamName) void
-
Constructor Details
-
MessageSender
public MessageSender(@NotNull @NotNull UUID uuid, @Nullable @Nullable net.kyori.adventure.text.Component displayName, @Nullable @Nullable net.kyori.adventure.text.Component teamName) -
MessageSender
public MessageSender(@Nullable @Nullable net.kyori.adventure.text.Component displayName, @Nullable @Nullable net.kyori.adventure.text.Component teamName) -
MessageSender
public MessageSender()
-
-
Method Details
-
getUUID
-
setUUID
-
getDisplayName
@Nullable public @Nullable net.kyori.adventure.text.Component getDisplayName() -
setDisplayName
public void setDisplayName(@Nullable @Nullable net.kyori.adventure.text.Component displayName) -
getTeamName
@Nullable public @Nullable net.kyori.adventure.text.Component getTeamName() -
setTeamName
public void setTeamName(@Nullable @Nullable net.kyori.adventure.text.Component teamName)
-