Blur 2.4.0 - Ingame-Configurable Exclusions & Fixes

- Made Blur exclusions configurable in-game
- ReplayMod and ProjectInception screens are excluded by default
- Update to MidnightLib 3.0.0
- Fix version in fabric.mod.json
This commit is contained in:
Motschen
2021-10-31 16:20:23 +01:00
parent 895448b13d
commit f792d34295
15 changed files with 208 additions and 148 deletions

View File

@@ -1,11 +1,13 @@
package com.tterrag.blur.config;
import com.tterrag.blur.Blur;
import eu.midnightdust.lib.config.MidnightConfig;
import net.minecraft.client.gui.screen.ChatScreen;
import java.util.List;
public class BlurConfig extends MidnightConfig {
@Entry
public static String[] blurExclusions = new String[]{ ChatScreen.class.getName() };
public static List<String> blurExclusions = Blur.defaultExclusions;
@Entry(min = 0, max = 5000, width = 4)
public static int fadeTimeMillis = 200;
@Entry(min = 0, max = 500, width = 3)
@@ -14,4 +16,6 @@ public class BlurConfig extends MidnightConfig {
public static int gradientStartColor = 75000000;
@Entry(min = 0, max = 99999999, width = 8)
public static int gradientEndColor = 75000000;
@Entry
public static boolean showScreenTitle = false;
}