forked from RepoMirrors/kami-blue
34 lines
757 B
Java
34 lines
757 B
Java
package me.zeroeightsix.kami.module.modules.render;
|
|
|
|
import me.zeroeightsix.kami.module.Module;
|
|
import me.zeroeightsix.kami.setting.Setting;
|
|
import me.zeroeightsix.kami.setting.Settings;
|
|
|
|
/**
|
|
* Created by 086 on 9/04/2018.
|
|
*/
|
|
@Module.Info(
|
|
name = "AntiFog",
|
|
description = "Disables or reduces fog",
|
|
category = Module.Category.RENDER
|
|
)
|
|
public class AntiFog extends Module {
|
|
|
|
public static Setting<VisionMode> mode = Settings.e("Mode", VisionMode.NO_FOG);
|
|
private static AntiFog INSTANCE = new AntiFog();
|
|
|
|
public AntiFog() {
|
|
INSTANCE = this;
|
|
register(mode);
|
|
}
|
|
|
|
public static boolean enabled() {
|
|
return INSTANCE.isEnabled();
|
|
}
|
|
|
|
public enum VisionMode {
|
|
NO_FOG, AIR
|
|
}
|
|
|
|
}
|