Figks bleur

This commit is contained in:
StormyBytes
2021-06-18 13:29:45 +07:00
parent efcb373580
commit 13806811a2

View File

@@ -68,10 +68,12 @@ public class MeteorRoundedGuiTheme extends GuiTheme {
.build() .build()
); );
public final Setting<Boolean> blur = sgGeneral.add(new BoolSetting.Builder() public final Setting<Integer> blur = sgGeneral.add(new IntSetting.Builder()
.name("blur") .name("blur")
.description("Apply blur behind the GUI.") .description("How much blur to apply behind the GUI.")
.defaultValue(false) .defaultValue(0)
.min(0)
.sliderMax(6)
.build() .build()
); );
@@ -306,7 +308,7 @@ public class MeteorRoundedGuiTheme extends GuiTheme {
} }
@Override @Override
public boolean blur() { public int blur() {
return blur.get(); return blur.get();
} }