Interface PlayerManagerEvent.PlayerChatted

Enclosing interface:
PlayerManagerEvent

public static interface PlayerManagerEvent.PlayerChatted
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    invoke(net.minecraft.server.network.ServerPlayerEntity player, String chatMessage)
    A TEvent that is invoked when a ServerPlayerEntity sends a chat message.
  • Method Details

    • invoke

      void invoke(net.minecraft.server.network.ServerPlayerEntity player, String chatMessage)
      A TEvent that is invoked when a ServerPlayerEntity sends a chat message.
      Parameters:
      player - The ServerPlayerEntity that chatted.
      chatMessage - The chat message they sent.