aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-05-08 23:55:28 -0400
committerbowser0000 <bowser0000@gmail.com>2021-05-08 23:55:28 -0400
commitbcf86f8f76994cd31cd8ebecde855c4cfc5fd773 (patch)
treed8f68f4056fb1e1f0aa62f0d0ede5ce45f4ac850 /src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java
parent1ca7e7a34464af3246b3d8f00c5486a357c7b1bc (diff)
downloadSkyblockMod-bcf86f8f76994cd31cd8ebecde855c4cfc5fd773.tar.gz
SkyblockMod-bcf86f8f76994cd31cd8ebecde855c4cfc5fd773.tar.bz2
SkyblockMod-bcf86f8f76994cd31cd8ebecde855c4cfc5fd773.zip
Add option to hides lines in creeper solver
Diffstat (limited to 'src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java')
-rw-r--r--src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java b/src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java
index cd6bcf4..eb9e268 100644
--- a/src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java
+++ b/src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java
@@ -81,7 +81,8 @@ public class CreeperSolver {
Vec3 pos1 = creeperLines.get(i)[0];
Vec3 pos2 = creeperLines.get(i)[1];
int colour = CREEPER_COLOURS[i % 10];
- Utils.draw3DLine(pos1, pos2, colour, 2, true, event.partialTicks);
+
+ if (ToggleCommand.creeperLinesToggled) Utils.draw3DLine(pos1, pos2, colour, 2, true, event.partialTicks);
Utils.drawFilled3DBox(new AxisAlignedBB(pos1.xCoord - 0.51, pos1.yCoord - 0.51, pos1.zCoord - 0.51, pos1.xCoord + 0.51, pos1.yCoord + 0.51, pos1.zCoord + 0.51), colour, true, true, event.partialTicks);
Utils.drawFilled3DBox(new AxisAlignedBB(pos2.xCoord - 0.51, pos2.yCoord - 0.51, pos2.zCoord - 0.51, pos2.xCoord + 0.51, pos2.yCoord + 0.51, pos2.zCoord + 0.51), colour, true, true, event.partialTicks);
}