From 952dfc158dfb36034f106242af904ddbacb3fffc Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sat, 15 Jun 2024 20:54:31 +0200 Subject: [PATCH] add ESP highlight --- .../com/baseband/client/feature/modules/render/ESP.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Client/src/main/java/de/com/baseband/client/feature/modules/render/ESP.java b/Client/src/main/java/de/com/baseband/client/feature/modules/render/ESP.java index e4aa795..d1c01a7 100644 --- a/Client/src/main/java/de/com/baseband/client/feature/modules/render/ESP.java +++ b/Client/src/main/java/de/com/baseband/client/feature/modules/render/ESP.java @@ -32,6 +32,9 @@ public class ESP extends Feature { return "ESP"; } + @Config("Highlight") + public boolean highlight; + @Config("Entities") public boolean entities; @@ -102,6 +105,11 @@ public class ESP extends Feature { renderer.accept(mc.world.getBlockState(pos).getBoundingBox(mc.world, pos).offset(pos)); } } + + if(highlight) { + BlockPos pos = mc.objectMouseOver.getBlockPos(); + RenderAdapter.drawAABBNow(mc.world.getBlockState(pos).getBoundingBox(mc.world, pos).offset(pos)); + } }