FullBright Module
This commit is contained in:
@@ -310,11 +310,32 @@ public class MyScreen extends BaseOwoScreen<FlowLayout> {
|
||||
openModuleSettings("Coords", CoordsSettings());
|
||||
},
|
||||
"Module Enabled", "Keystrokes is now active",
|
||||
"Module Disabled", "KeyStrokes is now inactive"
|
||||
"Module Disabled", "Keystrokes is now inactive"
|
||||
);
|
||||
|
||||
FlowLayout fullbrightRow = ModuleRow.build(
|
||||
GLASS_PANEL, DISABLED, FLAT,
|
||||
Identifier.fromNamespaceAndPath("citrus-dev", "textures/icons/block_culling_file.png"),
|
||||
18, 12,
|
||||
MC_FIVE,
|
||||
"Fullbright",
|
||||
"Max brightness in dark areas",
|
||||
new ModuleRow.ToggleState() {
|
||||
public boolean get() { return Module_Fullbright.isEnabled(); }
|
||||
public void set(boolean value) { Module_Fullbright.setEnabled(value); }
|
||||
},
|
||||
Identifier.fromNamespaceAndPath("citrus-dev", "textures/icons/settings.png"),
|
||||
() -> {
|
||||
Config.get().lastModule = "Fullbright";
|
||||
Config.get().save();
|
||||
},
|
||||
"Module Enabled", "Fullbright is now active",
|
||||
"Module Disabled", "Fullbright is now inactive"
|
||||
);
|
||||
content.child(coordinatesRow);
|
||||
content.child(keyStrokesRow);
|
||||
content.child(fpsRow);
|
||||
content.child(fullbrightRow);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user