mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-17 04:05:10 +01:00
Make mod clientside only
This commit is contained in:
@@ -27,7 +27,7 @@ import net.minecraftforge.fml.common.gameevent.TickEvent.Phase;
|
|||||||
import net.minecraftforge.fml.common.gameevent.TickEvent.RenderTickEvent;
|
import net.minecraftforge.fml.common.gameevent.TickEvent.RenderTickEvent;
|
||||||
import net.minecraftforge.fml.relauncher.ReflectionHelper;
|
import net.minecraftforge.fml.relauncher.ReflectionHelper;
|
||||||
|
|
||||||
@Mod(modid = "blurbg", name = "BlurBG", version = "@VERSION@", acceptedMinecraftVersions = "[1.9, 1.12)")
|
@Mod(modid = "blurbg", name = "BlurBG", version = "@VERSION@", acceptedMinecraftVersions = "[1.9, 1.12)", clientSideOnly = true)
|
||||||
public class BlurBG {
|
public class BlurBG {
|
||||||
|
|
||||||
@Instance
|
@Instance
|
||||||
@@ -51,7 +51,7 @@ public class BlurBG {
|
|||||||
GuiChat.class.getName(),
|
GuiChat.class.getName(),
|
||||||
}, "A list of classes to be excluded from the blur shader.");
|
}, "A list of classes to be excluded from the blur shader.");
|
||||||
|
|
||||||
fadeTime = config.getInt("fadeTime", Configuration.CATEGORY_GENERAL, 300, 0, Integer.MAX_VALUE, "The time it takes for the blur to fade in, in ms.");
|
fadeTime = config.getInt("fadeTime", Configuration.CATEGORY_GENERAL, 200, 0, Integer.MAX_VALUE, "The time it takes for the blur to fade in, in ms.");
|
||||||
|
|
||||||
colorFirst = Integer.parseUnsignedInt(
|
colorFirst = Integer.parseUnsignedInt(
|
||||||
config.getString("gradientStartColor", Configuration.CATEGORY_GENERAL, "66000000", "The start color of the background gradient. Given in ARGB hex."),
|
config.getString("gradientStartColor", Configuration.CATEGORY_GENERAL, "66000000", "The start color of the background gradient. Given in ARGB hex."),
|
||||||
|
|||||||
Reference in New Issue
Block a user