aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FairySouls.java
diff options
context:
space:
mode:
authorVixid <52578495+Vixid1@users.noreply.github.com>2022-10-30 10:26:40 +0000
committerGitHub <noreply@github.com>2022-10-30 21:26:40 +1100
commite4033c2dad92fedb7feb7cfdd205aa6290e4294b (patch)
treec27fb17b9d6c12c6cd115e1d002285abf5c1fedb /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FairySouls.java
parent0ff09b9032d2f1a9c5a8cab3c876037702445af6 (diff)
downloadnotenoughupdates-e4033c2dad92fedb7feb7cfdd205aa6290e4294b.tar.gz
notenoughupdates-e4033c2dad92fedb7feb7cfdd205aa6290e4294b.tar.bz2
notenoughupdates-e4033c2dad92fedb7feb7cfdd205aa6290e4294b.zip
Recipe History and Fairy Soul distance meter. (#357)
Co-authored-by: Roman / Linnea Gräf <roman.graef@gmail.com> Co-authored-by: Walker Selby <git@walkerselby.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FairySouls.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FairySouls.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FairySouls.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FairySouls.java
index 4cdb1557..5fa68fc2 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FairySouls.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/FairySouls.java
@@ -177,6 +177,7 @@ public class FairySouls {
double factor = normalize(currentDistSq, 0.0, farSoulDistSq);
int rgb = interpolateColors(closeColor, farColor, Math.min(0.40, factor));
RenderUtils.renderBeaconBeamOrBoundingBox(currentSoul, rgb, 1.0f, event.partialTicks);
+ if (NotEnoughUpdates.INSTANCE.config.misc.fairySoulWaypointDistance) RenderUtils.renderWayPoint(currentSoul, event.partialTicks);
}
}