feat: Add far and height fog to the fog config API

This commit is contained in:
Steveplays28
2023-11-07 20:23:07 +01:00
parent d07a285323
commit ebc5f30863
2 changed files with 16 additions and 0 deletions
@@ -40,6 +40,20 @@ import com.seibel.distanthorizons.api.interfaces.config.IDhApiConfigValue;
public interface IDhApiFogConfig extends IDhApiConfigGroup
{
//===============//
// inner configs //
//===============//
/**
* The advanced fog config.
*/
IDhApiFarFogConfig farFog();
/**
* The height fog config.
*/
IDhApiHeightFogConfig heightFog();
//====================//
// basic fog settings //
//====================//
@@ -41,7 +41,9 @@ public class DhApiFogConfig implements IDhApiFogConfig
// inner configs //
//===============//
@Override
public IDhApiFarFogConfig farFog() { return DhApiFarFogConfig.INSTANCE; }
@Override
public IDhApiHeightFogConfig heightFog() { return DhApiHeightFogConfig.INSTANCE; }