Blur 3.0.0 - Fade out & 1.19.4

- Add fade out effect (closes #41)
  - Duration can be configured seperately
  - Disabled by default until I get some feedback on it
- Improve config screen (tabs & sliders)
- French translations by @Calvineries
- Update to 1.19.4 by @backryun & @byquanton
This commit is contained in:
Motschen
2023-03-22 18:19:22 +01:00
parent a51b02aa04
commit ab80391b29
8 changed files with 58 additions and 31 deletions

View File

@@ -8,10 +8,10 @@ import java.util.List;
public class BlurConfig extends MidnightConfig {
public static final String style = "style";
public static final String misc = "misc";
public static final String screens = "screens";
@Entry(category = misc)
@Entry(category = screens)
public static List<String> blurExclusions = Lists.newArrayList(ChatScreen.class.getName(),
"com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiOverlay$UserInputGuiScreen",
"ai.arcblroth.projectInception.client.InceptionInterfaceScreen",
@@ -21,7 +21,7 @@ public class BlurConfig extends MidnightConfig {
@Entry(category = style, min = 0, max = 5000, width = 4)
public static int fadeTimeMillis = 200;
@Entry(category = style, min = 0, max = 5000, width = 4)
public static int fadeOutTimeMillis = 200;
public static int fadeOutTimeMillis = 0;
@Entry(category = style)
public static boolean ease = true;
@Entry(category = style, isSlider = true, min = 0, max = 100)
@@ -34,6 +34,6 @@ public class BlurConfig extends MidnightConfig {
public static String gradientEnd = "#000000";
@Entry(category = style, isSlider = true, min = 0, max = 255)
public static int gradientEndAlpha = 75;
@Entry(category = misc)
@Entry(category = screens)
public static boolean showScreenTitle = false;
}