FullBright Module

This commit is contained in:
Patrick
2026-07-12 16:11:35 +02:00
parent 738713e51b
commit 9ae37ca894
6 changed files with 67 additions and 3 deletions
@@ -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);
}