Port to 1.16-rc1

This commit is contained in:
Motschen
2020-06-21 12:33:45 +02:00
parent 28a8530c52
commit 7e8194a529
4 changed files with 9 additions and 9 deletions

View File

@@ -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');

View File

@@ -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

View File

@@ -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);

View File

@@ -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",