mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-15 19:25:09 +01:00
- Port to 1.20.2 by @TheMrEngMan & @backryun - Exclude MidnightControls' touchscreen overlay and Baritone click screen by default (closes #75) - Miscellaneous fixes
40 lines
1.8 KiB
Java
40 lines
1.8 KiB
Java
package com.tterrag.blur.config;
|
|
|
|
import com.google.common.collect.Lists;
|
|
import eu.midnightdust.lib.config.MidnightConfig;
|
|
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";
|
|
|
|
@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",
|
|
"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)
|
|
public static int fadeOutTimeMillis = 200;
|
|
@Entry(category = STYLE)
|
|
public static boolean ease = true;
|
|
@Entry(category = STYLE, isSlider = true, min = 0, max = 100)
|
|
public static int radius = 8;
|
|
@Entry(category = STYLE, isColor = true, width = 7, min = 7)
|
|
public static String gradientStart = "#000000";
|
|
@Entry(category = STYLE, isSlider = true, min = 0, max = 255)
|
|
public static int gradientStartAlpha = 75;
|
|
@Entry(category = STYLE, isColor = true, width = 7, min = 7)
|
|
public static String gradientEnd = "#000000";
|
|
@Entry(category = STYLE, isSlider = true, min = 0, max = 255)
|
|
public static int gradientEndAlpha = 75;
|
|
@Entry(category = SCREENS)
|
|
public static boolean showScreenTitle = false;
|
|
} |