Skip to content

Commit

Permalink
0.9.6 MaceKill exploit added, basefinder false positive fix
Browse files Browse the repository at this point in the history
**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)
  • Loading branch information
etianl authored Jun 26, 2024
1 parent 2215d34 commit e80d60d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/pwn/noobs/trouserstreak/modules/MaceKill.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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));

Expand Down

0 comments on commit e80d60d

Please sign in to comment.