mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-15 19:25:09 +01:00
Port to 1.16-rc1
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user