Cleaned up the code a bunch. Still doesn't work properly with ghasts, slimes, magmacubes, bats, and vexes, this may be fixed later if I have a sudden burst of motivation.
(Re-upload because I attached a broken jar for the last one)
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" }