package openonyx.features.hud; import openonyx.history.SettingGroup; import openonyx.history.internal.BooleanSetting; import openonyx.history.internal.NumberSetting; public final class CustomGuiPart8 extends SettingGroup { public final BooleanSetting blur; public final NumberSetting minWidth; public final NumberSetting background = new NumberSetting("Background", 70.0, 0.0, 100.0, 1.0) .withSuffix("%") .describe("Opacity of the card behind the rows"); public final NumberSetting positionY; public final NumberSetting positionX; public final NumberSetting scale; private CustomGuiPart8() { super("Scoreboard", true); this.minWidth = new NumberSetting("Min width", 60.0, 40.0, 260.0, 1.0) .withSuffix(" px") .describe("The card never draws narrower than this, however short its rows are"); this.blur = new BooleanSetting("Blur", true).describe("Frost the card over what is behind it (needs ClickGui's frosted glass)"); this.positionX = new NumberSetting("Position X", 100.0, 0.0, 100.0, 0.01).visibleWhen(() -> false); this.positionY = new NumberSetting("Position Y", 45.0, 0.0, 100.0, 0.01).visibleWhen(() -> false); this.scale = new NumberSetting("Scale", 1.0, 0.5, 2.0, 0.05).visibleWhen(() -> false); } }