    001    package cpw.mods.fml.common.network;
    002
    003    import net.minecraft.network.packet.*;
    004
    005    public interface IChatListener
    006    {
    007        /**
    008         * Called when there is a chat message received on the server
    009         * @param handler
    010         * @param message
    011         */
    012        public Packet3Chat serverChat(NetHandler handler, Packet3Chat message);
    013
    014        /**
    015         * Called when there is a chat message recived on the client
    016         *
    017         * @param handler
    018         * @param message
    019         */
    020        public Packet3Chat clientChat(NetHandler handler, Packet3Chat message);
    021    }