net.minecraftforge.event

## Class ServerChatEvent

- java.lang.Object
- - net.minecraftforge.event.Event
  - - net.minecraftforge.event.ServerChatEvent

-     public class ServerChatEvent
      extends Event

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class net.minecraftforge.event.Event

      `Event.HasResult, Event.Result`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `ChatMessageComponent` | `component`
    `String` | `message`
    `EntityPlayerMP` | `player`
    `String` | `username`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerChatEvent(EntityPlayerMP player, String message, ChatMessageComponent component)`

  - ### Method Summary

    - ### Methods inherited from class net.minecraftforge.event.Event

      `getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### message

          public final String message

    - #### username

          public final String username

    - #### player

          public final EntityPlayerMP player

    - #### component

          public ChatMessageComponent component

  - ### Constructor Detail

    - #### ServerChatEvent

          public ServerChatEvent(EntityPlayerMP player,
                         String message,
                         ChatMessageComponent component)