aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorHiZe_ <superhize@hotmail.com>2023-07-01 00:21:32 +0200
committerGitHub <noreply@github.com>2023-07-01 00:21:32 +0200
commit6358190311cc90a8713da774010e6fd6fefd83ee (patch)
tree6ed6469ec158adf5c506c99d1f0341f124bf6e2b /src/main/java/at/hannibal2/skyhanni/features
parent95601fae4578561ce32391036bbdeaaa1cf0f762 (diff)
downloadskyhanni-6358190311cc90a8713da774010e6fd6fefd83ee.tar.gz
skyhanni-6358190311cc90a8713da774010e6fd6fefd83ee.tar.bz2
skyhanni-6358190311cc90a8713da774010e6fd6fefd83ee.zip
Vampire slayers support (#271)
Co-authored-by: superhize <superhize@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerType.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerType.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerType.kt
index 73069c586..8c44dbd3b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerType.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerType.kt
@@ -1,5 +1,6 @@
package at.hannibal2.skyhanni.features.slayer
+import net.minecraft.client.entity.EntityOtherPlayerMP
import net.minecraft.entity.monster.EntityBlaze
import net.minecraft.entity.monster.EntityEnderman
import net.minecraft.entity.monster.EntitySpider
@@ -12,6 +13,7 @@ enum class SlayerType(val displayName: String, val clazz: Class<*>) {
SVEN("Sven Packmaster", EntityWolf::class.java),
VOID("Voidgloom Seraph", EntityEnderman::class.java),
INFERNO("Inferno Demonlord", EntityBlaze::class.java),
+ VAMPIRE("Riftstalker Bloodfiend", EntityOtherPlayerMP::class.java)
;
companion object {
@@ -40,6 +42,10 @@ enum class SlayerType(val displayName: String, val clazz: Class<*>) {
"Smoldering Tomb",
-> INFERNO
+ "Stillgore Château",
+ "Oubliette",
+ -> VAMPIRE
+
else -> return null
}
}