mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-16 11:45:09 +01:00
Compare commits
12 Commits
fabric-1.2
...
fabric-1.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0449c77fe4 | ||
|
|
b09180a812 | ||
|
|
43d2b02162 | ||
|
|
c5f81c7eb1 | ||
|
|
210759cf6f | ||
|
|
266a37da20 | ||
|
|
ef583e6ace | ||
|
|
6ee97e7415 | ||
|
|
36514d5901 | ||
|
|
7ed281b2f9 | ||
|
|
b240c303c3 | ||
|
|
a092873127 |
4
.github/workflows/gradle.yml
vendored
4
.github/workflows/gradle.yml
vendored
@@ -1,8 +1,8 @@
|
||||
on:
|
||||
push:
|
||||
branches: [ "fabric-1.19.3" ]
|
||||
branches: [ "fabric-1.20.4" ]
|
||||
pull_request:
|
||||
branches: [ "fabric-1.19.3" ]
|
||||
branches: [ "fabric-1.20.4" ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version '1.3-SNAPSHOT'
|
||||
id 'fabric-loom' version '1.4-SNAPSHOT'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
|
||||
@@ -4,17 +4,17 @@ org.gradle.parallel=true
|
||||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/develop
|
||||
minecraft_version=1.20.2
|
||||
yarn_mappings=1.20.2+build.1
|
||||
loader_version=0.14.22
|
||||
minecraft_version=1.20.4
|
||||
yarn_mappings=1.20.4+build.3
|
||||
loader_version=0.15.3
|
||||
|
||||
# Mod Properties
|
||||
mod_version=3.1.1
|
||||
mod_version=3.2.0
|
||||
maven_group=com.tterrag.blur
|
||||
archives_base_name=blur
|
||||
|
||||
# Dependencies
|
||||
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
|
||||
fabric_version=0.89.1+1.20.2
|
||||
satin_version=1.14.0
|
||||
midnightlib_version=1.5.0-fabric
|
||||
fabric_version=0.91.3+1.20.4
|
||||
satin_version=1.15.0
|
||||
midnightlib_version=1.5.3-fabric
|
||||
|
||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -19,7 +19,7 @@ public class MixinInGameHud {
|
||||
@Final @Shadow private MinecraftClient client;
|
||||
@Inject(at = @At("TAIL"), method = "render")
|
||||
public void blur$onRender(DrawContext context, float tickDelta, CallbackInfo ci) {
|
||||
if (client.currentScreen == null && client.world != null && Blur.start > 0 && BlurConfig.blurExclusions.stream().noneMatch(exclusion -> Blur.prevScreen.startsWith(exclusion)) && Blur.screenHasBackground) {
|
||||
if (client.currentScreen == null && client.world != null && Blur.start > 0 && (Blur.prevScreen == null || BlurConfig.blurExclusions.stream().noneMatch(exclusion -> Blur.prevScreen.startsWith(exclusion))) && Blur.screenHasBackground) {
|
||||
context.fillGradient(0, 0, this.scaledWidth, this.scaledHeight, Blur.getBackgroundColor(false, false), Blur.getBackgroundColor(true, false));
|
||||
}
|
||||
}
|
||||
|
||||
15
src/main/resources/assets/blur/lang/es_mx.json
Normal file
15
src/main/resources/assets/blur/lang/es_mx.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"blur.midnightconfig.title": "Configuración de Desenfoque",
|
||||
"blur.midnightconfig.category.style": "Estilo",
|
||||
"blur.midnightconfig.category.screens": "Pantallas",
|
||||
"blur.midnightconfig.blurExclusions": "Exclusiones de Desenfoque",
|
||||
"blur.midnightconfig.fadeTimeMillis": "Tiempo de Desvanecimiento (en milisegundos)",
|
||||
"blur.midnightconfig.fadeOutTimeMillis": "Tiempo de Desvanecimiento Saliente (en milisegundos)",
|
||||
"blur.midnightconfig.ease": "Animación Suave",
|
||||
"blur.midnightconfig.radius": "Radio",
|
||||
"blur.midnightconfig.gradientStart": "Color de Inicio del Degradado",
|
||||
"blur.midnightconfig.gradientEnd": "Color de Fin del Degradado",
|
||||
"blur.midnightconfig.gradientStartAlpha": "Alfa de Inicio del Degradado",
|
||||
"blur.midnightconfig.gradientEndAlpha": "Alfa de Fin del Degradado",
|
||||
"blur.midnightconfig.showScreenTitle": "Mostrar título de pantalla"
|
||||
}
|
||||
Reference in New Issue
Block a user