diff options
| author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-05-02 19:15:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-02 19:15:50 +0200 |
| commit | a2193642bab3a35a7147fff6cc8d5c6924e1c6dd (patch) | |
| tree | 17996716e51f47c33f496fe8bcbcff5aa367ea52 /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java | |
| parent | 156de663b37184bc2dc67f4004947c7de1d3413e (diff) | |
| download | notenoughupdates-a2193642bab3a35a7147fff6cc8d5c6924e1c6dd.tar.gz notenoughupdates-a2193642bab3a35a7147fff6cc8d5c6924e1c6dd.tar.bz2 notenoughupdates-a2193642bab3a35a7147fff6cc8d5c6924e1c6dd.zip | |
Add Line to Metal Detector Solution (#1131)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
