mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-16 03:35:10 +01:00
Implement fade out effect, better config screen
This commit is contained in:
@@ -1,27 +1,39 @@
|
||||
package com.tterrag.blur.config;
|
||||
|
||||
import com.tterrag.blur.Blur;
|
||||
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 {
|
||||
@Entry
|
||||
public static List<String> blurExclusions = Blur.defaultExclusions;
|
||||
@Entry(min = 0, max = 5000, width = 4)
|
||||
public static final String style = "style";
|
||||
public static final String misc = "misc";
|
||||
|
||||
|
||||
@Entry(category = misc)
|
||||
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",
|
||||
"io.github.darkkronicle.advancedchatcore.chat.AdvancedChatScreen",
|
||||
"net.coderbot.iris.gui.screen.ShaderPackScreen");
|
||||
@Entry(category = style, min = 0, max = 5000, width = 4)
|
||||
public static int fadeTimeMillis = 200;
|
||||
@Entry
|
||||
@Entry(category = style, min = 0, max = 5000, width = 4)
|
||||
public static int fadeOutTimeMillis = 200;
|
||||
@Entry(category = style)
|
||||
public static boolean ease = true;
|
||||
@Entry(min = 0, max = 500, width = 3)
|
||||
@Entry(category = style, isSlider = true, min = 0, max = 100)
|
||||
public static int radius = 8;
|
||||
@Entry(isColor = true, width = 7, min = 7)
|
||||
@Entry(category = style, isColor = true, width = 7, min = 7)
|
||||
public static String gradientStart = "#000000";
|
||||
@Entry(min = 0, max = 255)
|
||||
@Entry(category = style, isSlider = true, min = 0, max = 255)
|
||||
public static int gradientStartAlpha = 75;
|
||||
@Entry(isColor = true, width = 7, min = 7)
|
||||
@Entry(category = style, isColor = true, width = 7, min = 7)
|
||||
public static String gradientEnd = "#000000";
|
||||
@Entry(min = 0, max = 255)
|
||||
@Entry(category = style, isSlider = true, min = 0, max = 255)
|
||||
public static int gradientEndAlpha = 75;
|
||||
@Entry
|
||||
@Entry(category = misc)
|
||||
public static boolean showScreenTitle = false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user