Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add condition sendPlayerLookPacket() #1060

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bbe5d6a
Add condition sendPlayerLookPacket()
JAXPLE Aug 31, 2024
34a8373
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Sep 26, 2024
fb9b7a5
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Sep 29, 2024
07acff7
Refactoring Code Format
JAXPLE Sep 29, 2024
79627f8
Merge remote-tracking branch 'origin/Add-Aura-PlayerLook-Remove' into…
JAXPLE Sep 29, 2024
1ddac73
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Oct 14, 2024
c927a09
Add condition sendPlayerLookPacket()
JAXPLE Aug 31, 2024
e868c8c
Refactoring Code Format
JAXPLE Sep 29, 2024
1e46a45
Increase range of AntiKnockback strength sliders
Alexander01998 Oct 2, 2024
208e198
Fix rotation bug causing AutoFish mcMMO mode to get stuck in vehicles
Alexander01998 Oct 5, 2024
64b881f
ProfileKeys fix
ThisTestUser Oct 4, 2024
2bebdf0
Restore compatibility with old Sodium versions
Alexander01998 Oct 8, 2024
5b0a117
Change version to 7.46.1
Alexander01998 Oct 8, 2024
6956940
Merge remote-tracking branch 'origin/Add-Aura-PlayerLook-Remove' into…
JAXPLE Oct 14, 2024
271cac5
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Oct 20, 2024
d61a3fa
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Oct 25, 2024
13597ba
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Oct 27, 2024
ed239e6
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Nov 2, 2024
f111ae8
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Nov 2, 2024
10e9dbc
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Nov 4, 2024
793c601
Merge branch 'master' into Add-Aura-PlayerLook-Remove
Alexander01998 Nov 5, 2024
88ea592
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Nov 5, 2024
35636e3
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Nov 6, 2024
cc78064
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Nov 8, 2024
13264c2
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Nov 18, 2024
e34b8f3
Merge branch 'master' into Add-Aura-PlayerLook-Remove
JAXPLE Nov 19, 2024
c5899d5
Merge remote-tracking branch 'origin/Add-Aura-PlayerLook-Remove' into…
JAXPLE Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/main/java/net/wurstclient/hacks/MultiAuraHack.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,19 @@ public void onUpdate()
// attack entities
for(Entity entity : entities)
{
RotationUtils
.getNeededRotations(entity.getBoundingBox().getCenter())
.sendPlayerLookPacket();
if(swingHand.getSelected() != SwingHand.OFF)
sendRotationPacket(entity);

MC.interactionManager.attackEntity(MC.player, entity);
}

swingHand.swing(Hand.MAIN_HAND);
speed.resetTimer();
}

private void sendRotationPacket(Entity entity)
{
RotationUtils.getNeededRotations(entity.getBoundingBox().getCenter())
.sendPlayerLookPacket();
}
}
6 changes: 4 additions & 2 deletions src/main/java/net/wurstclient/hacks/TpAuraHack.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,10 @@ public void onUpdate()
return;

// attack entity
RotationUtils.getNeededRotations(entity.getBoundingBox().getCenter())
.sendPlayerLookPacket();
if(swingHand.getSelected() != SwingHand.OFF)
RotationUtils
.getNeededRotations(entity.getBoundingBox().getCenter())
.sendPlayerLookPacket();

MC.interactionManager.attackEntity(player, entity);
swingHand.swing(Hand.MAIN_HAND);
Expand Down