Interface ServerEvents.Player.ModifyJoinMessage

Enclosing class:
ServerEvents.Player
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated @FunctionalInterface public static interface ServerEvents.Player.ModifyJoinMessage
Since:
1.0.5
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.minecraft.network.chat.Component
    modifyJoinMessage(@NotNull net.minecraft.server.level.ServerPlayer player, @NotNull net.minecraft.network.chat.Component message)
    Deprecated.
    Modifies or provides a message for a player joined.
  • Method Details

    • modifyJoinMessage

      @NotNull @NotNull net.minecraft.network.chat.Component modifyJoinMessage(@NotNull @NotNull net.minecraft.server.level.ServerPlayer player, @NotNull @NotNull net.minecraft.network.chat.Component message)
      Deprecated.
      Modifies or provides a message for a player joined.
      Parameters:
      player - the player
      message - the join message
      Returns:
      the new join message