Close !69 (add IDhApiLevelWrapper.getDhSaveFolder())
This commit is contained in:
+13
@@ -23,6 +23,8 @@ import com.seibel.distanthorizons.api.interfaces.IDhApiUnsafeWrapper;
|
||||
import com.seibel.distanthorizons.api.enums.worldGeneration.EDhApiLevelType;
|
||||
import com.seibel.distanthorizons.api.interfaces.render.IDhApiCustomRenderRegister;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* Can be either a Server or Client level.<br>
|
||||
* A level is equivalent to a dimension in vanilla Minecraft.
|
||||
@@ -72,4 +74,15 @@ public interface IDhApiLevelWrapper extends IDhApiUnsafeWrapper
|
||||
*/
|
||||
IDhApiCustomRenderRegister getRenderRegister();
|
||||
|
||||
/**
|
||||
* Returns the folder Distant Horizons uses to save
|
||||
* data associated with this level.
|
||||
* Will return null if the level is not loaded.
|
||||
*
|
||||
* @since API 4.0.0
|
||||
*/
|
||||
File getDhSaveFolder();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user