diff options
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin')
-rw-r--r-- | src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java | 21 |
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; + } + +} |