diff --git a/build.gradle b/build.gradle index 3a6464f..8c0f24f 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { id 'idea' id 'eclipse' id 'com.matthewprenger.cursegradle' version '1.0.9' - id 'fabric-loom' version '0.2.5-SNAPSHOT' + id 'fabric-loom' version '0.4-SNAPSHOT' } boolean dev = System.getenv('RELEASE') == null || System.getenv('RELEASE').equals('false'); diff --git a/gradle.properties b/gradle.properties index e5e08bb..97edc39 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,13 +1,13 @@ -minecraft_version=19w34a +minecraft_version=1.16-rc1 mod_version=1.0.5 -fabric_loader_version=0.5.0+build.162 -fabric_version=0.3.1+build.208 -mappings_version=19w34a+build.10 +fabric_loader_version=0.8.8+build.202 +fabric_version=0.12.5+build.367-1.16 +mappings_version=1.16-rc1+build.8 # Satin library -satin_version = 1.15-SNAPSHOT +satin_version = 1.16-SNAPSHOT project_id=268324 release_type=release diff --git a/src/main/java/com/tterrag/blur/mixin/MixinScreen.java b/src/main/java/com/tterrag/blur/mixin/MixinScreen.java index 40fde02..042ff8a 100644 --- a/src/main/java/com/tterrag/blur/mixin/MixinScreen.java +++ b/src/main/java/com/tterrag/blur/mixin/MixinScreen.java @@ -12,14 +12,14 @@ import net.minecraft.client.gui.screen.Screen; public class MixinScreen { @ModifyConstant( - method = "renderBackground(I)V", + method = "renderBackground(Lnet/minecraft/client/util/math/MatrixStack;I)V", constant = @Constant(intValue = -1072689136)) public int getFirstBackgroundColor(int color) { return Blur.INSTANCE.getBackgroundColor(false); } @ModifyConstant( - method = "renderBackground(I)V", + method = "renderBackground(Lnet/minecraft/client/util/math/MatrixStack;I)V", constant = @Constant(intValue = -804253680)) public int getSecondBackgroundColor(int color) { return Blur.INSTANCE.getBackgroundColor(true); diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 9d3a00a..f2294af 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "id": "blur", "name": "Blur", - "version": "$version", + "version": "1.0.6", "environment": "client", "license": "MIT", "icon": "assets/blur/icon.png",