feat: Add far and height fog to the fog config API
This commit is contained in:
+14
@@ -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 //
|
||||
//====================//
|
||||
|
||||
+2
@@ -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; }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user