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.
- Loading branch information
Showing
17 changed files
with
104 additions
and
145 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
minecraft_version=1.16.2 | ||
|
||
mod_version=1.0.7 | ||
mod_version=2.0.0 | ||
|
||
fabric_loader_version=0.9.1+build.205 | ||
fabric_version=0.18.0+build.397-1.16 | ||
mappings_version=1.16.2+build.19 | ||
|
||
auto_config_version = 3.2.0-unstable | ||
cloth_config_version = 4.7.0-unstable | ||
mod_menu_version = 1.14.6+build.31 | ||
|
||
# Satin library | ||
satin_version = 1.4.1 | ||
satin_version = 1.5.1 | ||
|
||
project_id=268324 | ||
release_type=release |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
67 changes: 0 additions & 67 deletions
67
pack_template/assets/minecraft/shaders/post/fade_in_blur.json.template
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.tterrag.blur.config; | ||
|
||
import com.sun.org.apache.xerces.internal.xs.StringList; | ||
import me.sargunvohra.mcmods.autoconfig1u.ConfigData; | ||
import me.sargunvohra.mcmods.autoconfig1u.ConfigHolder; | ||
import me.sargunvohra.mcmods.autoconfig1u.ConfigManager; | ||
import me.sargunvohra.mcmods.autoconfig1u.annotation.Config; | ||
import me.sargunvohra.mcmods.autoconfig1u.annotation.ConfigEntry; | ||
import me.sargunvohra.mcmods.autoconfig1u.gui.registry.DefaultGuiRegistryAccess; | ||
import me.shedaniel.clothconfig2.api.ConfigScreen; | ||
import net.minecraft.client.gui.screen.ChatScreen; | ||
import net.minecraft.util.Identifier; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
@Config(name = "blur") | ||
@SuppressWarnings("No GUI provider registered") | ||
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"; | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/java/com/tterrag/blur/config/ModMenuIntegration.java
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.tterrag.blur.config; | ||
|
||
import io.github.prospector.modmenu.api.ConfigScreenFactory; | ||
import io.github.prospector.modmenu.api.ModMenuApi; | ||
import me.sargunvohra.mcmods.autoconfig1u.AutoConfig; | ||
import net.fabricmc.api.EnvType; | ||
import net.fabricmc.api.Environment; | ||
|
||
@Environment(EnvType.CLIENT) | ||
@SuppressWarnings("No GUI provider registered") | ||
public class ModMenuIntegration implements ModMenuApi { | ||
|
||
@Override | ||
public ConfigScreenFactory<?> getModConfigScreenFactory() { | ||
return parent -> AutoConfig.getConfigScreen(BlurConfig.class, parent).get(); | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"text.autoconfig.blur.title": "Blur Konfiguration", | ||
"text.autoconfig.blur.option.fadeTimeMillis": "Überblendzeit (in Millisekunden)", | ||
"text.autoconfig.blur.option.radius": "Radius", | ||
"text.autoconfig.blur.option.gradientStartColor": "Farbverlauf-Anfangsfarbe", | ||
"text.autoconfig.blur.option.gradientEndColor": "Farbverlauf-Endfarbe" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"text.autoconfig.blur.title": "Blur Config", | ||
"text.autoconfig.blur.option.fadeTimeMillis": "Fade Time (in milliseconds)", | ||
"text.autoconfig.blur.option.radius": "Radius", | ||
"text.autoconfig.blur.option.gradientStartColor": "Gradient Start Colour", | ||
"text.autoconfig.blur.option.gradientEndColor": "Gradient End Colour" | ||
} |
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,3 +1,7 @@ | ||
{ | ||
"blur.config.title": "Blur Config" | ||
"text.autoconfig.blur.title": "Blur Config", | ||
"text.autoconfig.blur.option.fadeTimeMillis": "Fade Time (in milliseconds)", | ||
"text.autoconfig.blur.option.radius": "Radius", | ||
"text.autoconfig.blur.option.gradientStartColor": "Gradient Start Color", | ||
"text.autoconfig.blur.option.gradientEndColor": "Gradient End Color" | ||
} |
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,28 +1,30 @@ | ||
{ | ||
"schemaVersion": 1, | ||
"id": "blur", | ||
"name": "Blur", | ||
"version": "1.0.6", | ||
"name": "Blur (Fabric)", | ||
"version": "2.0.0", | ||
"environment": "client", | ||
"license": "MIT", | ||
"icon": "assets/blur/icon.png", | ||
"entrypoints": { | ||
"client": [ | ||
"com.tterrag.blur.Blur::INSTANCE" | ||
], | ||
"modmenu": [ | ||
"com.tterrag.blur.config.ModMenuIntegration" | ||
] | ||
}, | ||
"contact": { | ||
"homepage": "https://minecraft.curseforge.com/projects/blur", | ||
"issues": "https://github.com/tterrag1098/Blur/issues" | ||
"homepage": "https://www.curseforge.com/minecraft/mc-mods/blur-fabric", | ||
"issues": "https://github.com/Motschen/Blur/issues" | ||
}, | ||
"authors": [ | ||
"tterrag1098" | ||
"tterrag1098", | ||
"Pyrofab", | ||
"Motschen" | ||
], | ||
"description": "Modifies the background behind Minecraft GUIs to have a blur effect", | ||
"mixins": [ | ||
"mixins.blur.json" | ||
], | ||
"custom": { | ||
"modmenu:clientsideOnly": true | ||
} | ||
] | ||
} |