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

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