mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-15 19:25:09 +01:00
1.19.4 Port
This commit is contained in:
@@ -3,17 +3,17 @@ org.gradle.jvmargs=-Xmx1G
|
||||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/develop
|
||||
minecraft_version=1.19.3
|
||||
yarn_mappings=1.19.3+build.5
|
||||
minecraft_version=1.19.4
|
||||
yarn_mappings=1.19.4+build.1
|
||||
loader_version=0.14.17
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 2.6.1
|
||||
maven_group = com.tterrag.blur
|
||||
archives_base_name = blur
|
||||
mod_version=2.7.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.75.1+1.19.3
|
||||
satin_version = 1.10.0
|
||||
midnightlib_version=1.1.0-fabric
|
||||
fabric_version=0.76.0+1.19.4
|
||||
satin_version=1.11.0
|
||||
midnightlib_version=1.2.1-fabric
|
||||
|
||||
@@ -11,7 +11,6 @@ import net.minecraft.client.MinecraftClient;
|
||||
import net.minecraft.client.gui.screen.ChatScreen;
|
||||
import net.minecraft.client.gui.screen.Screen;
|
||||
import net.minecraft.util.Identifier;
|
||||
import java.awt.Color;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
package com.tterrag.blur.mixin;
|
||||
|
||||
import com.tterrag.blur.config.BlurConfig;
|
||||
import net.minecraft.client.MinecraftClient;
|
||||
import net.minecraft.client.font.TextRenderer;
|
||||
import net.minecraft.client.util.math.MatrixStack;
|
||||
import net.minecraft.text.TextColor;
|
||||
import net.minecraft.util.Formatting;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
@@ -26,8 +21,6 @@ public abstract class MixinScreen {
|
||||
|
||||
@Shadow @Nullable protected MinecraftClient client;
|
||||
|
||||
@Shadow protected TextRenderer textRenderer;
|
||||
|
||||
@Inject(at = @At("HEAD"), method = "tick")
|
||||
private void blur$reloadShader(CallbackInfo ci) {
|
||||
if (this.getClass().toString().toLowerCase(Locale.ROOT).contains("midnightconfigscreen") && this.client != null) {
|
||||
|
||||
Reference in New Issue
Block a user