Removed liquids from nofog

This commit is contained in:
2026-03-20 21:55:29 +01:00
parent 4054a8bec6
commit 2969a8340a
@@ -15,7 +15,6 @@ import org.saturnclient.feature.FeatureDetails;
public class NoFogFeature extends Feature { public class NoFogFeature extends Feature {
private static final BoolProperty enabled = Property.bool(false); private static final BoolProperty enabled = Property.bool(false);
private static final BoolProperty liquids = Property.bool(false);
public NoFogFeature() { public NoFogFeature() {
super( super(
@@ -23,24 +22,14 @@ public class NoFogFeature extends Feature {
.description("Stops fog from rendering") .description("Stops fog from rendering")
.tags("Camera") .tags("Camera")
.version("v0.2.0"), .version("v0.2.0"),
enabled.named("Enabled"), enabled.named("Enabled"));
liquids.named("See through liquids"));
} }
// ---------------------------------------------------------------
// Mixin query API
// ---------------------------------------------------------------
/** Returns {@code true} when fog should be suppressed. */ /** Returns {@code true} when fog should be suppressed. */
public static boolean isActive() { public static boolean isActive() {
return enabled.value; return enabled.value;
} }
/** Returns {@code true} when liquid-fog suppression is also active. */
public static boolean liquids() {
return liquids.value;
}
// --------------------------------------------------------------- // ---------------------------------------------------------------
// Feature contract // Feature contract
// --------------------------------------------------------------- // ---------------------------------------------------------------