diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-04-08 08:27:56 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-04-08 08:27:56 -0400 |
commit | a288554be92f2f4ff8cdc26cd1d86d4316d7b756 (patch) | |
tree | 182816adb066d12b1b707493b60516028b048502 /src/main/java | |
parent | df1f83cf4ddb80969d2086cf1d7a86df9dc90653 (diff) | |
download | SkyblockMod-a288554be92f2f4ff8cdc26cd1d86d4316d7b756.tar.gz SkyblockMod-a288554be92f2f4ff8cdc26cd1d86d4316d7b756.tar.bz2 SkyblockMod-a288554be92f2f4ff8cdc26cd1d86d4316d7b756.zip |
Fix hitboxes for arachne/broodfather highlight
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/me/Danker/features/ArachneESP.java | 8 | ||||
-rw-r--r-- | src/main/java/me/Danker/features/SlayerESP.java | 3 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/main/java/me/Danker/features/ArachneESP.java b/src/main/java/me/Danker/features/ArachneESP.java index 491c42a..c78c385 100644 --- a/src/main/java/me/Danker/features/ArachneESP.java +++ b/src/main/java/me/Danker/features/ArachneESP.java @@ -21,12 +21,10 @@ import java.util.List; public class ArachneESP { - static Entity arachne = null; static boolean arachneActive = true; public static int ARACHANE_COLOUR; - @SubscribeEvent public void onWorldChange(WorldEvent.Load event) { arachne = null; @@ -67,9 +65,9 @@ public class ArachneESP { if (!Utils.inSkyblock) return; if (arachne != null) { if (arachneActive && ToggleCommand.highlightArachne) { - AxisAlignedBB aabb = new AxisAlignedBB(arachne.posX - 0.5, arachne.posY - 1, arachne.posZ - 0.5, arachne.posX + 0.5, arachne.posY, arachne.posZ + 0.5); - Utils.draw3DBox(aabb, ARACHANE_COLOUR, event.partialTicks); - } + AxisAlignedBB aabb = new AxisAlignedBB(arachne.posX - 0.75, arachne.posY - 1, arachne.posZ - 0.75, arachne.posX + 0.75, arachne.posY, arachne.posZ + 0.75); + Utils.draw3DBox(aabb, ARACHANE_COLOUR, event.partialTicks); + } } } diff --git a/src/main/java/me/Danker/features/SlayerESP.java b/src/main/java/me/Danker/features/SlayerESP.java index 51537ba..522e696 100644 --- a/src/main/java/me/Danker/features/SlayerESP.java +++ b/src/main/java/me/Danker/features/SlayerESP.java @@ -37,7 +37,6 @@ public class SlayerESP { wolf = null; } - @SubscribeEvent public void onTick(TickEvent.ClientTickEvent event) { if (!Utils.inSkyblock) return; @@ -105,7 +104,7 @@ public class SlayerESP { return; } if (spider != null) { - AxisAlignedBB aabb = new AxisAlignedBB(spider.posX - 0.5, spider.posY - 1, spider.posZ - 0.5, spider.posX + 0.5, spider.posY, spider.posZ + 0.5); + AxisAlignedBB aabb = new AxisAlignedBB(spider.posX - 0.75, spider.posY - 1, spider.posZ - 0.75, spider.posX + 0.75, spider.posY, spider.posZ + 0.75); Utils.draw3DBox(aabb, SLAYER_COLOUR, event.partialTicks); return; } |