Ah, thanks for warning me!
After snooping around for a bit, I can see that it will be very hacky.
So far the best option I have found would be to replace the static generateCache function in the ChunkRenderCache class, but I'd like to avoid using reflection if possible (Although it's probably unavoidable).