    001    package cpw.mods.fml.common.network;
    002
    003    import net.minecraft.network.INetworkManager;
    004    import net.minecraft.network.packet.Packet250CustomPayload;
    005
    006    public interface IPacketHandler
    007    {
    008        /**
    009         * Recieve a packet from one of the registered channels for this packet handler
    010         * @param manager The network manager this packet arrived from
    011         * @param packet The packet itself
    012         * @param player A dummy interface representing the player - it can be cast into a real player instance if needed
    013         */
    014        public void onPacketData(INetworkManager manager, Packet250CustomPayload packet, Player player);
    015    }