diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt | 1 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt index 41f01bf63..4755d7dd1 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/BossType.kt @@ -81,6 +81,7 @@ enum class BossType(val fullName: String, val bossTypeToggle: Int, val shortName // The Rift LEECH_SUPREME("§cLeech Supreme", 22), + BACTE("§aBacte", 22), //TODO arachne diff --git a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt index 57be6beeb..1cf80af5d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt @@ -214,6 +214,11 @@ class MobFinder { } } } + if (entity is EntitySlime) { + if (entity.baseMaxHealth == 1_000) { + return EntityResult(bossType = BossType.BACTE) + } + } } else { if (entity is EntityBlaze) { if (entity.name != "Dinnerbone") { |