Whoops!
I used the wrong key in the lang file for the new custom damage type, so it just reported "death.attack.scrying" instead of the new custom "had an out of body experience" death message.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }