Step 2: The Reformation

This commit is contained in:
AbrarSyed committed 2013-11-09 15:57:08 -06:00
1 parent 9332673944
commit 797399ff7f
198 files changed
+24 -10

No files matched your search

@@ -0,0 +1,20 @@
package net.minecraftforge.event;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.util.ChatMessageComponent;
@Cancelable
public class ServerChatEvent extends Event
{
public final String message, username;
public final EntityPlayerMP player;
public ChatMessageComponent component;
public ServerChatEvent(EntityPlayerMP player, String message, ChatMessageComponent component)
{
super();
this.message = message;
this.player = player;
this.username = player.username;
this.component = component;
}
}