Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
Update to 24w14potato
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Apr 1, 2024
1 parent 00b5daa commit b81a4bc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/wurstclient/hacks/ParkourHack.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void onUpdate()
Box adjustedBox = box.stretch(0, -minDepth.getValue(), 0)
.expand(-edgeDistance.getValue(), 0, -edgeDistance.getValue());

if(!MC.world.isSpaceEmpty(MC.player, adjustedBox))
if(!MC.world.method_59085(MC.player, adjustedBox))
return;

MC.player.jump();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/wurstclient/hacks/SafeWalkHack.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void onClipAtLedge(boolean clipping)
Box adjustedBox = box.stretch(0, -player.getStepHeight(), 0)
.expand(-edgeDistance.getValue(), 0, -edgeDistance.getValue());

if(MC.world.isSpaceEmpty(player, adjustedBox))
if(MC.world.method_59085(player, adjustedBox))
clipping = true;

setSneaking(clipping);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/wurstclient/hacks/StepHack.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void onUpdate()
return;

Box box = player.getBoundingBox().offset(0, 0.05, 0).expand(0.05);
if(!MC.world.isSpaceEmpty(player, box.offset(0, 1, 0)))
if(!MC.world.method_59085(player, box.offset(0, 1, 0)))
return;

double stepHeight = BlockUtils.getBlockCollisions(box)
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"accessWidener" : "wurst.accesswidener",

"depends": {
"fabricloader": ">=0.15.7",
"fabric-api": ">=0.96.12",
"minecraft": "~1.20.5-alpha.24.12.a",
"fabricloader": ">=0.15.9",
"fabric-api": ">=0.96.14",
"minecraft": "~1.20.5-alpha.24.12.potato",
"java": ">=17"
},
"suggests": {
Expand Down

0 comments on commit b81a4bc

Please sign in to comment.