    001package net.minecraftforge.event;
    002
    003import net.minecraft.entity.player.EntityPlayerMP;
    004
    005@Cancelable
    006public class ServerChatEvent extends Event
    007{
    008    public final String message, username;
    009    public final EntityPlayerMP player;
    010    public String line;
    011    public ServerChatEvent(EntityPlayerMP player, String message, String line)
    012    {
    013        super();
    014        this.message = message;
    015        this.player = player;
    016        this.username = player.username;
    017        this.line = line;
    018    }
    019}