mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-16 03:35:10 +01:00
Update to 1.21.3
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user