aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md5
-rw-r--r--build.gradle.kts2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt5
4 files changed, 11 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dd19a598c..fd5bc03f4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# SkyHanni - Change Log
+## Version 0.17.UNRELEASED
+
+### Changed
++ Barbarian Duke Damage Indicator only starts showing after getting close (< 30 blocks)
+
## Version 0.16 (2023-02-11)
## Features
diff --git a/build.gradle.kts b/build.gradle.kts
index 8cc87e2d7..fcf749b24 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -10,7 +10,7 @@ plugins {
}
group = "at.hannibal2.skyhanni"
-version = "0.16"
+version = "0.17.UNRELEASED"
// Toolchains:
java {
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java
index 30957537d..73b54a661 100644
--- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java
+++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java
@@ -69,7 +69,7 @@ import java.util.List;
public class SkyHanniMod {
public static final String MODID = "skyhanni";
- public static final String VERSION = "0.16";
+ public static final String VERSION = "0.17.UNRELEASED";
public static Features feature;
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 0be33f168..543949cce 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/MobFinder.kt
@@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.features.dungeon.DungeonData
import at.hannibal2.skyhanni.utils.EntityUtils.hasBossHealth
import at.hannibal2.skyhanni.utils.EntityUtils.hasMaxHealth
import at.hannibal2.skyhanni.utils.EntityUtils.hasNameTagWith
+import at.hannibal2.skyhanni.utils.LocationUtils
import at.hannibal2.skyhanni.utils.LorenzUtils
import at.hannibal2.skyhanni.utils.LorenzVec
import at.hannibal2.skyhanni.utils.StringUtils.matchRegex
@@ -206,7 +207,9 @@ class MobFinder {
return EntityResult(bossType = BossType.NETHER_MAGE_OUTLAW)
}
if (entity.name == "DukeBarb ") {
- return EntityResult(bossType = BossType.NETHER_BARBARIAN_DUKE)
+ if (entity.getLorenzVec().distance(LocationUtils.playerLocation()) < 30) {
+ return EntityResult(bossType = BossType.NETHER_BARBARIAN_DUKE)
+ }
}
}
if (entity is EntityWither) {