diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-08-28 02:56:06 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-08-28 02:56:06 -0400 |
commit | ea8413504f2a6663608367ad6ab5fbcad7e6c029 (patch) | |
tree | ff19616c49487a4c7ea338c46f5319e6f2c47555 /src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java | |
parent | 4ea49e306ca14e2f4045045f7895e2c1c5d51d6d (diff) | |
download | SkyblockMod-ea8413504f2a6663608367ad6ab5fbcad7e6c029.tar.gz SkyblockMod-ea8413504f2a6663608367ad6ab5fbcad7e6c029.tar.bz2 SkyblockMod-ea8413504f2a6663608367ad6ab5fbcad7e6c029.zip |
A lot of internal changes
Rename RenderOverlay -> RenderOverlayEvent
Split loot trackers into own classes
Add packet read and write events
Move render functions form Utils to RenderUtils
Fix warnings in installer frame
Move spirit boots fix to own class
Diffstat (limited to 'src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java')
-rw-r--r-- | src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java b/src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java index eb9e268..e35abe3 100644 --- a/src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java +++ b/src/main/java/me/Danker/features/puzzlesolvers/CreeperSolver.java @@ -2,6 +2,7 @@ package me.Danker.features.puzzlesolvers; import me.Danker.DankersSkyblockMod; import me.Danker.commands.ToggleCommand; +import me.Danker.utils.RenderUtils; import me.Danker.utils.Utils; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; @@ -82,9 +83,9 @@ public class CreeperSolver { Vec3 pos2 = creeperLines.get(i)[1]; int colour = CREEPER_COLOURS[i % 10]; - 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); + if (ToggleCommand.creeperLinesToggled) RenderUtils.draw3DLine(pos1, pos2, colour, 2, true, event.partialTicks); + RenderUtils.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); + RenderUtils.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); } } } |