MisterCheezeCake / NoMenuBlur

A Minecraft mod that allows you to disable the blur effect in the pause menu, along with allowing additional customization of that menu
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Use more precise mixins #1

Open MisterCheezeCake opened 3 months ago

MisterCheezeCake commented 3 months ago

Currently, the mod's entire mixin logic is a giant @Inject, which is not a very clean way of doing thing, and causes duplication of Minecraft code. My goal is to split this out into more precise mixins and hopefully improve compatibility.

MicrocontrollersDev commented 2 months ago

I've done something similar here: https://github.com/MicrocontrollersDev/OverlayTweaks/blob/multiversion/src/main/java/dev/microcontrollers/overlaytweaks/mixin/ScreenMixin.java

license LGPL 3 so feel free to use the code how you please.

to disable blur haven't actually looked into it but I'm pretty sure you can just wrapwithcondition the applyblur method call