and one more thing

This commit is contained in:
kawaiizenbo 2024-09-09 13:10:24 -07:00
parent a055d56084
commit ccbb4c00ce
2 changed files with 28 additions and 1 deletions

View file

@ -24,7 +24,8 @@ public class ModuleManager
new AutoJump(), new AutoJump(),
new Reach(), new Reach(),
new AntiPowderSnow(), new AntiPowderSnow(),
new AutoTotem() new AutoTotem(),
new AutoWalk()
/*new Timer()*/ /*new Timer()*/
); );
} }

View file

@ -0,0 +1,26 @@
package me.kawaiizenbo.moonlight.module.modules;
import me.kawaiizenbo.moonlight.module.Category;
import me.kawaiizenbo.moonlight.module.Module;
public class AutoWalk extends Module
{
public AutoWalk()
{
super("Auto Walk", "Automatically moves forward.", Category.MOVEMENT);
}
@Override
public void tick()
{
mc.options.forwardKey.setPressed(true);
}
@Override
public void onDisable()
{
super.onDisable();
mc.options.forwardKey.setPressed(false);
}
}