I've got some good news and some bad news for you.
The good news is I've identified the issue that made Wurst incompatible with the Gate of Babylon mod. I just patched the problem in this commit: Wurst-Imperium/Wurst7@
The bad news is that Minecraft 1.18.1 reached end of support about a year ago and unfortunately won't be getting this patch. I'd encourage you to update to a recent version of Minecraft to get this fix.
Sorry for the inconvenience, and I hope this helps at least a little bit.