net.minecraftforge.event

## Class ServerChatEvent

- java.lang.Object
- - cpw.mods.fml.common.eventhandler.Event
  - - net.minecraftforge.event.ServerChatEvent

-     public class ServerChatEvent
      extends Event

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class cpw.mods.fml.common.eventhandler.Event

      `Event.HasResult, Event.Result`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `ChatComponentTranslation` | `component`
    `java.lang.String` | `message`
    `EntityPlayerMP` | `player`
    `java.lang.String` | `username`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerChatEvent(EntityPlayerMP player, java.lang.String message, ChatComponentTranslation component)`

  - ### Method Summary

    - ### Methods inherited from class cpw.mods.fml.common.eventhandler.Event

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

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

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

- - ### Field Detail

    - #### message

          public final java.lang.String message

    - #### username

          public final java.lang.String username

    - #### player

          public final EntityPlayerMP player

    - #### component

          public ChatComponentTranslation component

  - ### Constructor Detail

    - #### ServerChatEvent

          public ServerChatEvent(EntityPlayerMP player,
                         java.lang.String message,
                         ChatComponentTranslation component)