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; } }); } }