boop
This commit is contained in:
parent
5981e5ce50
commit
3de1c7130a
13 changed files with 107 additions and 43 deletions
|
@ -0,0 +1,25 @@
|
|||
package me.kawaiizenbo.moonlight.module.modules;
|
||||
|
||||
import me.kawaiizenbo.moonlight.module.Category;
|
||||
import me.kawaiizenbo.moonlight.module.Module_;
|
||||
|
||||
public class Fullbright extends Module_
|
||||
{
|
||||
public Fullbright()
|
||||
{
|
||||
super("Fullbright", "Allows you to see in the dark.", Category.RENDER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnable()
|
||||
{
|
||||
// i dont know why but this makes it darker than 1.0
|
||||
mc.options.getGamma().setValue(100.0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDisable()
|
||||
{
|
||||
mc.options.getGamma().setValue(1.0);
|
||||
}
|
||||
}
|
|
@ -2,12 +2,24 @@ package me.kawaiizenbo.moonlight.module.modules;
|
|||
|
||||
import me.kawaiizenbo.moonlight.module.Category;
|
||||
import me.kawaiizenbo.moonlight.module.Module_;
|
||||
import me.kawaiizenbo.moonlight.module.settings.BooleanSetting;
|
||||
|
||||
public class HUDModule extends Module_
|
||||
{
|
||||
public BooleanSetting enableLogo = new BooleanSetting("Logo", true);
|
||||
public BooleanSetting enableFPS = new BooleanSetting("FPS", true);
|
||||
public BooleanSetting enablePing = new BooleanSetting("Ping", true);
|
||||
public BooleanSetting enableSpeed = new BooleanSetting("Speed", true);
|
||||
public BooleanSetting enableCoordinates = new BooleanSetting("Coordinates", true);
|
||||
|
||||
public HUDModule()
|
||||
{
|
||||
super("HUD", "Enables or disables the Moonlight HUD.", Category.RENDER);
|
||||
this.enabled = true;
|
||||
settings.add(enableLogo);
|
||||
settings.add(enableFPS);
|
||||
settings.add(enablePing);
|
||||
settings.add(enableSpeed);
|
||||
settings.add(enableCoordinates);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ public class Step extends Module_
|
|||
public Step()
|
||||
{
|
||||
super("Step", "Allows you to step up full blocks.", Category.MOVEMENT);
|
||||
settings.add(stepHeight);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
package me.kawaiizenbo.moonlight.module.modules;
|
||||
|
||||
import me.kawaiizenbo.moonlight.module.Category;
|
||||
import me.kawaiizenbo.moonlight.module.Module_;
|
||||
import me.kawaiizenbo.moonlight.module.settings.DoubleSetting;
|
||||
|
||||
public class TestDisplay extends Module_
|
||||
{
|
||||
DoubleSetting test1 = new DoubleSetting("test1", 1, 0, 20, 0);
|
||||
DoubleSetting test2 = new DoubleSetting("test2", 0, 0, 1, 1);
|
||||
|
||||
public TestDisplay()
|
||||
{
|
||||
super("TestDisplay", "Test of settings window", Category.RENDER);
|
||||
this.settings.add(test1);
|
||||
this.settings.add(test2);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue