From e80d60d6e2fa1983060a4157b2a8bc31984c187c Mon Sep 17 00:00:00 2001 From: etianl <115842502+etianl@users.noreply.github.com> Date: Wed, 26 Jun 2024 02:19:27 -0700 Subject: [PATCH] 0.9.6 MaceKill exploit added, basefinder false positive fix **0.9.6** - Added new **MaceKill** module. This exploits the new Mace mechanics to make the Mace super OP everytime you swing it instead of just when you drop from a height - Removed Red Candles from **BaseFinder**'s default lists as they can throw a false positive from trial chambers (1.21 trouser version only) --- src/main/java/pwn/noobs/trouserstreak/modules/MaceKill.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/MaceKill.java b/src/main/java/pwn/noobs/trouserstreak/modules/MaceKill.java index d8589db6..b9c9a608 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/MaceKill.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/MaceKill.java @@ -5,6 +5,8 @@ import meteordevelopment.meteorclient.settings.*; import meteordevelopment.meteorclient.systems.modules.Module; import meteordevelopment.orbit.EventHandler; +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.entity.LivingEntity; import net.minecraft.item.Items; import net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket; import net.minecraft.network.packet.c2s.play.VehicleMoveC2SPacket; @@ -36,7 +38,7 @@ private void onSendPacket(PacketEvent.Send event) { getTypeMethod.setAccessible(true); Enum interactType = (Enum) getTypeMethod.invoke(packet); - if (interactType.name().equals("ATTACK") && mc.player.getInventory().getMainHandStack().getItem() == Items.MACE) { + if (interactType.name().equals("ATTACK") && mc.player.getInventory().getMainHandStack().getItem() == Items.MACE && packet.getEntity() instanceof LivingEntity) { double blocks = fallHeight.get(); int packetsRequired = (int) Math.ceil(Math.abs(blocks / 10));