aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/mixin
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-07-15 19:27:58 +0200
committermakamys <makamys@outlook.com>2022-07-15 19:53:08 +0200
commite9b96c435214fb6125875ee015f8efedf9b0be07 (patch)
treebc9551566cf8921a26719b026c51e8ab6e29f386 /src/main/java/makamys/neodymium/mixin
parent0c9070cf93b660b29b98c0916f319f3f7b3e1583 (diff)
downloadNeodymium-e9b96c435214fb6125875ee015f8efedf9b0be07.tar.gz
Neodymium-e9b96c435214fb6125875ee015f8efedf9b0be07.tar.bz2
Neodymium-e9b96c435214fb6125875ee015f8efedf9b0be07.zip
O(O)F
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin')
-rw-r--r--src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java b/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java
new file mode 100644
index 0000000..43fa0b9
--- /dev/null
+++ b/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java
@@ -0,0 +1,21 @@
+package makamys.neodymium.mixin;
+
+import org.spongepowered.asm.mixin.Mixin;
+import org.spongepowered.asm.mixin.Pseudo;
+import org.spongepowered.asm.mixin.Shadow;
+
+import makamys.neodymium.ducks.IMixinGameSettings_OptiFine;
+import net.minecraft.client.settings.GameSettings;
+
+@Mixin(value = GameSettings.class, remap = false)
+@Pseudo
+public class MixinGameSettings_OptiFine implements IMixinGameSettings_OptiFine {
+
+ @Shadow
+ private int ofFogType;
+
+ public int getOfFogType() {
+ return ofFogType;
+ }
+
+}