diff options
author | FalsePattern <me@falsepattern.com> | 2024-01-07 13:51:03 +0100 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2024-01-08 22:49:40 +0100 |
commit | caec6f115cc42e2f2cf73e136892110ba3726251 (patch) | |
tree | fa8004e3f600c62ddf5780195fc58784e09cec69 /src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java | |
parent | ad42f10bad1aa7417ebeb9c3c1f31cd5b19b9220 (diff) | |
download | Neodymium-caec6f115cc42e2f2cf73e136892110ba3726251.tar.gz Neodymium-caec6f115cc42e2f2cf73e136892110ba3726251.tar.bz2 Neodymium-caec6f115cc42e2f2cf73e136892110ba3726251.zip |
more robust mixins
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java')
-rw-r--r-- | src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java b/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java index 43fa0b9..2e3fb0d 100644 --- a/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java +++ b/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java @@ -1,5 +1,6 @@ package makamys.neodymium.mixin; +import org.spongepowered.asm.mixin.Dynamic; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Pseudo; import org.spongepowered.asm.mixin.Shadow; @@ -7,10 +8,12 @@ import org.spongepowered.asm.mixin.Shadow; import makamys.neodymium.ducks.IMixinGameSettings_OptiFine; import net.minecraft.client.settings.GameSettings; -@Mixin(value = GameSettings.class, remap = false) +@Mixin(value = GameSettings.class, + remap = false) @Pseudo public class MixinGameSettings_OptiFine implements IMixinGameSettings_OptiFine { - + + @Dynamic @Shadow private int ofFogType; |