This error keeps happening likely due to a lot of trees being set on fire thanks to explosive bitters from the mod of the same name. I was also out exploring when it happened.
Thanks! Deadlock's lamp mod seems to be OK, but there are some other mods which haven't been updated to 0.18 yet. Anyway, downloading 130 mods right now. I hope I can find a solution. :-)
I loss track of which mods are still in 0.17 but the ones that haven't are likely the minor ones like pressure plate. Oh you need to disable some tiles otherwise it goes over the 255 limit.
Sorry this took so long! The fix was embarrassingly easy, just reproducing the crash was tricky. Even in a new game where the whole surface was covered with trees, and with time frozen at midnight, it could take several minutes until a new entity became immediately invalid.