I deleted that, and the world loaded fine this time, no flashing. I'll try out everything and see if everything works as intended
(thank you @TileEntity btw)
I tried that older version, no dice, and I tried deleting the mod, and it crashed differently after trying to load 3 separate test worlds. the most strange part is that before the crash, the world was loading and unloading all the chunks around my character, making a strobing effect.
https://pastebin.com/9Q5NZ0QD