port: Chase the Skies (1.21.6)

Surprising amount of changes – even more surprised I got this working so fast :)
This commit is contained in:
Martin Prokoph
2025-06-17 19:13:41 +02:00
parent 5e4f4abd3b
commit 7d207e8197
12 changed files with 32 additions and 41 deletions

View File

@@ -20,7 +20,7 @@ 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();
if (BlurConfig.blurContainers) this.applyBlur(context);
}
@Inject(at = @At("HEAD"), method = "render")
public void blur$processScreenChange(DrawContext context, int mouseX, int mouseY, float delta, CallbackInfo ci) {