forked from Pyrofab/Blur
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to MidnightConfig: - Much smaller file size - Live preview - Fixed #4 Chinise translation by @Enaium Update to 21w08b
- Loading branch information
Showing
11 changed files
with
344 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
package com.tterrag.blur.config; | ||
|
||
import me.sargunvohra.mcmods.autoconfig1u.ConfigData; | ||
import me.sargunvohra.mcmods.autoconfig1u.annotation.Config; | ||
import me.sargunvohra.mcmods.autoconfig1u.annotation.ConfigEntry; | ||
import net.minecraft.client.gui.screen.ChatScreen; | ||
|
||
@Config(name = "blur") | ||
public class BlurConfig implements ConfigData { | ||
@ConfigEntry.Gui.Excluded | ||
public String[] blurExclusions = new String[]{ ChatScreen.class.getName() }; | ||
public int fadeTimeMillis = 200; | ||
public int radius = 8; | ||
public String gradientStartColor = "75000000"; | ||
public String gradientEndColor = "75000000"; | ||
public class BlurConfig extends MidnightConfig { | ||
@Entry | ||
public static String[] blurExclusions = new String[]{ ChatScreen.class.getName() }; | ||
@Entry(min = 0, max = 5000) | ||
public static int fadeTimeMillis = 200; | ||
@Entry(min = 0, max = 500) | ||
public static int radius = 8; | ||
@Entry(min = 0, max = 99999999) | ||
public static int gradientStartColor = 75000000; | ||
@Entry(min = 0, max = 99999999) | ||
public static int gradientEndColor = 75000000; | ||
} |
Oops, something went wrong.