Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import meteordevelopment.meteorclient.events.entity.player.CanWalkOnFluidEvent;
import meteordevelopment.meteorclient.systems.modules.Modules;
import meteordevelopment.meteorclient.systems.modules.movement.HighJump;
import meteordevelopment.meteorclient.systems.modules.movement.NoJumpDelay;
import meteordevelopment.meteorclient.systems.modules.movement.Sprint;
import meteordevelopment.meteorclient.systems.modules.movement.elytrafly.ElytraFlightModes;
import meteordevelopment.meteorclient.systems.modules.movement.elytrafly.ElytraFly;
Expand Down Expand Up @@ -147,4 +148,13 @@ private boolean modifyIsSprinting(boolean original) {
// only add the extra velocity if you're actually moving, otherwise you'll jump in place and move forward
return original && (Math.abs(mc.player.forwardSpeed) > 1.0E-5F || Math.abs(mc.player.sidewaysSpeed) > 1.0E-5F);
}

@Unique
NoJumpDelay noJumpDelay = Modules.get().get(NoJumpDelay.class);

@ModifyConstant(method = "tickMovement", constant = @Constant(intValue = 10))
int onTickMovement(int constant) {
if (noJumpDelay.isActive()) return 0;
return constant;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ private void initMovement() {
add(new Jesus());
add(new LongJump());
add(new NoFall());
add(new NoJumpDelay());
add(new NoSlow());
add(new Parkour());
add(new ReverseStep());
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* This file is part of the Meteor Client distribution (https://github.com/MeteorDevelopment/meteor-client).
* Copyright (c) Meteor Development.
*/

package meteordevelopment.meteorclient.systems.modules.movement;

import meteordevelopment.meteorclient.systems.modules.Categories;
import meteordevelopment.meteorclient.systems.modules.Module;

public class NoJumpDelay extends Module {
public NoJumpDelay() {
super(Categories.Movement, "no-jump-delay", "Removes the cooldown between jumps");
}
}