Package icu.suc.serverevents
Interface ServerEvents.Player.Leave.ModifyMessage
- Enclosing class:
ServerEvents.Player.Leave
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescription@NotNull net.minecraft.network.chat.Component
modifyLeaveMessage
(@NotNull net.minecraft.server.level.ServerPlayer player, @NotNull net.minecraft.network.chat.Component message) Modifies or provides a message for a player left.
-
Method Details
-
modifyLeaveMessage
@NotNull @NotNull net.minecraft.network.chat.Component modifyLeaveMessage(@NotNull @NotNull net.minecraft.server.level.ServerPlayer player, @NotNull @NotNull net.minecraft.network.chat.Component message) Modifies or provides a message for a player left.- Parameters:
player
- the playermessage
- the leave message- Returns:
- the new leave message
-