From a2193642bab3a35a7147fff6cc8d5c6924e1c6dd Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Thu, 2 May 2024 19:15:50 +0200 Subject: Add Line to Metal Detector Solution (#1131) --- .../notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java index a78a28f4..0624d9fa 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java @@ -369,6 +369,9 @@ public class CrystalMetalDetectorSolver { RenderUtils.renderBeaconBeam(block.add(0, 1, 0), beaconRGB, 1.0f, partialTicks); RenderUtils.renderWayPoint("Treasure", possibleBlocks.iterator().next().add(0, 2.5, 0), partialTicks); + if (NotEnoughUpdates.INSTANCE.config.mining.metalDetectorLineToSolution) { + RenderUtils.renderLineToBlock(block.add(0, 1, 0), 0x1fd8f1, partialTicks); + } } else if (possibleBlocks.size() > 1 && NotEnoughUpdates.INSTANCE.config.mining.metalDetectorShowPossible) { for (BlockPos block : possibleBlocks) { RenderUtils.renderBeaconBeam(block.add(0, 1, 0), beaconRGB, 1.0f, partialTicks); -- cgit