resent-1.8/src/main/java/dev/resent/module/impl/movement/AutoWalk.java
ThisIsALegitUsername 20907f090c import resent source
2022-12-27 20:54:38 +00:00

18 lines
501 B
Java

package dev.resent.module.impl.movement;
import dev.resent.Resent;
import dev.resent.event.impl.EventUpdate;
import dev.resent.module.base.Category;
import dev.resent.module.base.Mod;
public class AutoWalk extends Mod {
public AutoWalk(){
super("AutoWalk", Category.MOVEMENT);
Resent.INSTANCE.events().subscribe(EventUpdate.class, event -> {
if (this.isEnabled()) {
mc.gameSettings.keyBindForward.pressed = true;
}
});
}
}