Blur 3.1.1 - 1.20.2 & New excluded screens

- Port to 1.20.2 by @TheMrEngMan & @backryun
- Exclude MidnightControls' touchscreen overlay and Baritone click screen by default (closes #75)
- Miscellaneous fixes
This commit is contained in:
Motschen
2023-09-30 10:31:11 +02:00
parent d8b6a14e7f
commit bd3b58adcb
3 changed files with 17 additions and 17 deletions

View File

@@ -7,33 +7,34 @@ import net.minecraft.client.gui.screen.ChatScreen;
import java.util.List;
public class BlurConfig extends MidnightConfig {
public static final String style = "style";
public static final String screens = "screens";
public static final String STYLE = "style";
public static final String SCREENS = "screens";
@Entry(category = screens)
@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",
"net.optifine.gui.GuiChatOF",
"baritone.",
"io.github.darkkronicle.advancedchatcore.chat.AdvancedChatScreen",
"net.coderbot.iris.gui.screen.ShaderPackScreen");
@Entry(category = style, min = 0, max = 5000, width = 4)
"net.coderbot.iris.gui.screen.ShaderPackScreen",
"eu.midnightdust.midnightcontrols.client.gui.TouchscreenOverlay");
@Entry(category = STYLE, min = 0, max = 5000, width = 4)
public static int fadeTimeMillis = 200;
@Entry(category = style, min = 0, max = 5000, width = 4)
@Entry(category = STYLE, min = 0, max = 5000, width = 4)
public static int fadeOutTimeMillis = 200;
@Entry(category = style)
@Entry(category = STYLE)
public static boolean ease = true;
@Entry(category = style, isSlider = true, min = 0, max = 100)
@Entry(category = STYLE, isSlider = true, min = 0, max = 100)
public static int radius = 8;
@Entry(category = style, isColor = true, width = 7, min = 7)
@Entry(category = STYLE, isColor = true, width = 7, min = 7)
public static String gradientStart = "#000000";
@Entry(category = style, isSlider = true, min = 0, max = 255)
@Entry(category = STYLE, isSlider = true, min = 0, max = 255)
public static int gradientStartAlpha = 75;
@Entry(category = style, isColor = true, width = 7, min = 7)
@Entry(category = STYLE, isColor = true, width = 7, min = 7)
public static String gradientEnd = "#000000";
@Entry(category = style, isSlider = true, min = 0, max = 255)
@Entry(category = STYLE, isSlider = true, min = 0, max = 255)
public static int gradientEndAlpha = 75;
@Entry(category = screens)
@Entry(category = SCREENS)
public static boolean showScreenTitle = false;
}