Update to 1.21.3

This commit is contained in:
Martin Prokoph
2024-11-05 10:48:31 +01:00
parent d79dfc004b
commit 6f10a7f3df
8 changed files with 18 additions and 18 deletions

View File

@@ -18,6 +18,6 @@ public class MixinHandledScreen extends Screen {
@Inject(method = "renderBackground", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V", shift = At.Shift.BEFORE))
private void blur$renderContainerBlur(DrawContext context, int mouseX, int mouseY, float delta, CallbackInfo ci) { // Applies the blur effect in containers (Inventory, Chest, etc.)
if (BlurConfig.blurContainers) this.applyBlur(delta);
if (BlurConfig.blurContainers) this.applyBlur();
}
}