package openonyx.features.hud; import openonyx.history.SettingGroup; import openonyx.history.internal.NumberSetting; public final class CustomGuiPart2 extends SettingGroup { public final NumberSetting positionY; public final NumberSetting positionX = new NumberSetting("Position X", 50.0, 0.0, 100.0, 0.01).visibleWhen(() -> false); public final NumberSetting scale; private CustomGuiPart2() { super("Title", true); this.positionY = new NumberSetting("Position Y", 38.0, 0.0, 100.0, 0.01).visibleWhen(() -> false); this.scale = new NumberSetting("Scale", 1.0, 0.5, 2.0, 0.05).visibleWhen(() -> false); } }