diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java | 15 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt | 8 |
2 files changed, 11 insertions, 12 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java b/src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java index 9becb348e..eb78ddb53 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java @@ -10,24 +10,23 @@ public class Mobs { @Expose @ConfigOption( - name = "Area Mini Bosses", - desc = "Special mobs in slayer regions that have way more hp than normal mobs:" + - "\nGolden Ghoul, Old Wolf, Voidling Extremist and Millenia-Aged Blaze" + name = "Area Boss", + desc = "Golden Ghoul, Old Wolf, Voidling Extremist and Millenia-Aged Blaze" ) @ConfigEditorAccordion(id = 0) - public boolean areaMiniBosses = false; + public boolean areaBosses = false; @Expose - @ConfigOption(name = "Highlight Mini Bosses", desc = "Highlight area mini bosses") + @ConfigOption(name = "Highlight Area Boss", desc = "Highlight area boss.") @ConfigEditorBoolean @ConfigAccordionId(id = 0) - public boolean areaMiniBossesHighlight = true; + public boolean areaBossHighlight = true; @Expose - @ConfigOption(name = "Mini Bosses Respawn Timer", desc = "Show a timer when area mini bosses spawn.") + @ConfigOption(name = "Area Bosses Respawn Timer", desc = "Show a timer when the area boss spawns.") @ConfigEditorBoolean @ConfigAccordionId(id = 0) - public boolean areaMinisBossesRespawnTimer = false; + public boolean areaBossRespawnTimer = false; @Expose @ConfigOption(name = "Corrupted Mob Highlight", desc = "Highlight corrupted mobs in purple color.") diff --git a/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt index 7866c3b45..163563981 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt @@ -43,11 +43,11 @@ class AreaMiniBossFeatures { } lastTime = time - if (SkyHanniMod.feature.mobs.areaMiniBossesHighlight) { + if (SkyHanniMod.feature.mobs.areaBossHighlight) { val color = bossType.color.toColor().withAlpha(bossType.colorOpacity) RenderLivingEntityHelper.setEntityColor(entity, color) - { SkyHanniMod.feature.mobs.areaMiniBossesHighlight } - RenderLivingEntityHelper.setNoHurtTime(entity) { SkyHanniMod.feature.mobs.areaMiniBossesHighlight } + { SkyHanniMod.feature.mobs.areaBossHighlight } + RenderLivingEntityHelper.setNoHurtTime(entity) { SkyHanniMod.feature.mobs.areaBossHighlight } } // TODO add sound @@ -57,7 +57,7 @@ class AreaMiniBossFeatures { @SubscribeEvent fun onRenderWorld(event: RenderWorldLastEvent) { if (!LorenzUtils.inSkyBlock) return - if (!SkyHanniMod.feature.mobs.areaMinisBossesRespawnTimer) return + if (!SkyHanniMod.feature.mobs.areaBossRespawnTimer) return miniBossType?.apply { val time = getTime() |