aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java
blob: 2e3fb0d33ebdf2ed64613eff9a0ca29499f91fa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;

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 {

    @Dynamic
    @Shadow
    private int ofFogType;
    
    public int getOfFogType() {
        return ofFogType;
    }
    
}