Rearrange API packages
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* NONE, <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* CONSTANT <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* NONE <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* AUTO <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* AUTO, <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* LOWEST <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* Low <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* FAST, <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
import org.apache.logging.log4j.Level;
|
||||
|
||||
public enum ELoggerMode
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* AUTO, <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* NONE, GAME_SHADING
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* NEVER, <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.config;
|
||||
package com.seibel.lod.api.enums.config;
|
||||
|
||||
/**
|
||||
* heightmap <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.rendering;
|
||||
package com.seibel.lod.api.enums.rendering;
|
||||
|
||||
/**
|
||||
* OFF, <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.rendering;
|
||||
package com.seibel.lod.api.enums.rendering;
|
||||
|
||||
/**
|
||||
* USE_DEFAULT_FOG_COLOR, <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.rendering;
|
||||
package com.seibel.lod.api.enums.rendering;
|
||||
|
||||
/**
|
||||
* NEAR, FAR, or NEAR_AND_FAR.
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.rendering;
|
||||
package com.seibel.lod.api.enums.rendering;
|
||||
|
||||
/**
|
||||
* USE_OPTIFINE_FOG_SETTING, <br>
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.api.items.enums.rendering;
|
||||
package com.seibel.lod.api.enums.rendering;
|
||||
|
||||
/**
|
||||
* LINEAR, <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.rendering;
|
||||
package com.seibel.lod.api.enums.rendering;
|
||||
|
||||
/**
|
||||
* Minecraft, Lod_Builder, None
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.rendering;
|
||||
package com.seibel.lod.api.enums.rendering;
|
||||
|
||||
/**
|
||||
* BASIC <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.rendering;
|
||||
package com.seibel.lod.api.enums.rendering;
|
||||
|
||||
/**
|
||||
* ABOVE_CAMERA, <br>
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.rendering;
|
||||
package com.seibel.lod.api.enums.rendering;
|
||||
|
||||
/**
|
||||
* Default
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.enums.rendering;
|
||||
package com.seibel.lod.api.enums.rendering;
|
||||
|
||||
/**
|
||||
* OFF, <br>
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.api.items.enums.worldGeneration;
|
||||
package com.seibel.lod.api.enums.worldGeneration;
|
||||
|
||||
/**
|
||||
* SERVER_LEVEL, <br>
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.api.items.enums.worldGeneration;
|
||||
package com.seibel.lod.api.enums.worldGeneration;
|
||||
|
||||
/**
|
||||
* MULTI_THREADED, <br>
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.api.items.enums.worldGeneration;
|
||||
package com.seibel.lod.api.enums.worldGeneration;
|
||||
|
||||
/**
|
||||
* EMPTY, <br>
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.api.items.interfaces;
|
||||
package com.seibel.lod.api.interfaces;
|
||||
|
||||
/**
|
||||
* The Distant Horizons' API objects can't cover
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.seibel.lod.api.interfaces.config;
|
||||
|
||||
import com.seibel.lod.api.interfaces.config.both.IDhApiWorldGenerationConfig;
|
||||
import com.seibel.lod.api.interfaces.config.client.IDhApiBuffersConfig;
|
||||
import com.seibel.lod.api.interfaces.config.client.IDhApiGraphicsConfig;
|
||||
import com.seibel.lod.api.interfaces.config.client.IDhApiMultiplayerConfig;
|
||||
import com.seibel.lod.api.interfaces.config.client.IDhApiThreadingConfig;
|
||||
|
||||
/**
|
||||
* This interfaces holds all of the config groups
|
||||
* the API has access to for easy access to all config values.
|
||||
*
|
||||
* @author James Seibel
|
||||
* @version 9-15-2022
|
||||
*/
|
||||
public interface IDhApiConfig
|
||||
{
|
||||
|
||||
IDhApiWorldGenerationConfig getWorldGeneratorConfig();
|
||||
IDhApiBuffersConfig getBufferConfig();
|
||||
IDhApiGraphicsConfig getGraphicsConfig();
|
||||
IDhApiMultiplayerConfig getMultiplayerConfig();
|
||||
IDhApiThreadingConfig getThreadingConfig();
|
||||
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.api.items.interfaces.config;
|
||||
package com.seibel.lod.api.interfaces.config;
|
||||
|
||||
import com.seibel.lod.core.interfaces.dependencyInjection.IBindable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.api.items.interfaces.config;
|
||||
package com.seibel.lod.api.interfaces.config;
|
||||
|
||||
/**
|
||||
* An interface for Distant Horizon's Config.
|
||||
+7
-7
@@ -17,14 +17,14 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.interfaces.config.both;
|
||||
package com.seibel.lod.api.interfaces.config.both;
|
||||
|
||||
import com.seibel.lod.api.items.enums.config.EBlocksToAvoid;
|
||||
import com.seibel.lod.api.items.enums.config.EDistanceGenerationMode;
|
||||
import com.seibel.lod.api.items.enums.config.EGenerationPriority;
|
||||
import com.seibel.lod.api.items.enums.config.ELightGenerationMode;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigGroup;
|
||||
import com.seibel.lod.api.enums.config.EBlocksToAvoid;
|
||||
import com.seibel.lod.api.enums.config.EDistanceGenerationMode;
|
||||
import com.seibel.lod.api.enums.config.EGenerationPriority;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.enums.config.ELightGenerationMode;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigGroup;
|
||||
|
||||
/**
|
||||
* Distant Horizons' world generation configuration. <br><br>
|
||||
+4
-4
@@ -17,11 +17,11 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.interfaces.config.client;
|
||||
package com.seibel.lod.api.interfaces.config.client;
|
||||
|
||||
import com.seibel.lod.api.items.enums.config.EGpuUploadMethod;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigGroup;
|
||||
import com.seibel.lod.api.enums.config.EGpuUploadMethod;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigGroup;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigValue;
|
||||
|
||||
/**
|
||||
* Distant Horizons' OpenGL buffer configuration.
|
||||
+4
-4
@@ -17,11 +17,11 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.interfaces.config.client;
|
||||
package com.seibel.lod.api.interfaces.config.client;
|
||||
|
||||
import com.seibel.lod.api.items.enums.rendering.EDebugMode;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigGroup;
|
||||
import com.seibel.lod.api.enums.rendering.EDebugMode;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigGroup;
|
||||
|
||||
/**
|
||||
* Distant Horizons' debug configuration.
|
||||
+5
-4
@@ -17,12 +17,13 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.interfaces.config.client;
|
||||
package com.seibel.lod.api.interfaces.config.client;
|
||||
|
||||
import com.seibel.lod.api.enums.config.*;
|
||||
import com.seibel.lod.api.enums.rendering.ERendererMode;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.items.enums.config.*;
|
||||
import com.seibel.lod.api.items.enums.rendering.ERendererMode;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigGroup;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigGroup;
|
||||
|
||||
/**
|
||||
* Distant Horizons' graphics/rendering configuration.
|
||||
+4
-3
@@ -17,11 +17,12 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.interfaces.config.client;
|
||||
package com.seibel.lod.api.interfaces.config.client;
|
||||
|
||||
import com.seibel.lod.api.enums.rendering.*;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigGroup;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.items.enums.rendering.*;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigGroup;
|
||||
|
||||
/**
|
||||
* Distant Horizons' fog configuration. <br><br>
|
||||
+4
-4
@@ -17,11 +17,11 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.interfaces.config.client;
|
||||
package com.seibel.lod.api.interfaces.config.client;
|
||||
|
||||
import com.seibel.lod.api.items.enums.config.EServerFolderNameMode;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigGroup;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.enums.config.EServerFolderNameMode;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigGroup;
|
||||
|
||||
/**
|
||||
* Distant Horizons' client-side multiplayer configuration.
|
||||
+3
-3
@@ -17,10 +17,10 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.interfaces.config.client;
|
||||
package com.seibel.lod.api.interfaces.config.client;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigGroup;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigGroup;
|
||||
|
||||
/**
|
||||
* Distant Horizons' threading configuration.
|
||||
+5
-5
@@ -1,9 +1,9 @@
|
||||
package com.seibel.lod.api.items.interfaces.override;
|
||||
package com.seibel.lod.api.interfaces.override;
|
||||
|
||||
import com.seibel.lod.api.items.enums.worldGeneration.EDhApiWorldGenerationStep;
|
||||
import com.seibel.lod.api.items.enums.worldGeneration.EDhApiWorldGenThreadMode;
|
||||
import com.seibel.lod.api.items.interfaces.world.IDhApiChunkWrapper;
|
||||
import com.seibel.lod.api.items.interfaces.world.IDhApiLevelWrapper;
|
||||
import com.seibel.lod.api.interfaces.world.IDhApiLevelWrapper;
|
||||
import com.seibel.lod.api.enums.worldGeneration.EDhApiWorldGenerationStep;
|
||||
import com.seibel.lod.api.enums.worldGeneration.EDhApiWorldGenThreadMode;
|
||||
import com.seibel.lod.api.interfaces.world.IDhApiChunkWrapper;
|
||||
|
||||
/**
|
||||
* @author James Seibel
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.api.items.interfaces.override;
|
||||
package com.seibel.lod.api.interfaces.override;
|
||||
|
||||
import com.seibel.lod.core.interfaces.dependencyInjection.IBindable;
|
||||
import com.seibel.lod.core.interfaces.dependencyInjection.IOverrideInjector;
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package com.seibel.lod.api.interfaces.override.worldGenerator;
|
||||
|
||||
import com.seibel.lod.api.enums.worldGeneration.EDhApiWorldGenThreadMode;
|
||||
import com.seibel.lod.api.enums.worldGeneration.EDhApiWorldGenerationStep;
|
||||
import com.seibel.lod.api.interfaces.override.IDhApiOverrideable;
|
||||
import com.seibel.lod.api.interfaces.world.IDhApiChunkWrapper;
|
||||
import com.seibel.lod.api.interfaces.world.IDhApiLevelWrapper;
|
||||
|
||||
/**
|
||||
* @author James Seibel
|
||||
* @version 2022-9-8
|
||||
*/
|
||||
public interface IDhApiWorldGenerator extends IDhApiOverrideable
|
||||
{
|
||||
/** Returns which thread chunk generation requests can be created on. */
|
||||
EDhApiWorldGenThreadMode getCoreThreadingMode();
|
||||
|
||||
IDhApiChunkWrapper generateCoreChunk(int chunkPosX, int chunkPosZ, IDhApiLevelWrapper serverLevelWrapper, EDhApiWorldGenerationStep maxStepToGenerate);
|
||||
|
||||
}
|
||||
+2
-2
@@ -17,9 +17,9 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.interfaces.world;
|
||||
package com.seibel.lod.api.interfaces.world;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.IDhApiUnsafeWrapper;
|
||||
import com.seibel.lod.api.interfaces.IDhApiUnsafeWrapper;
|
||||
|
||||
/**
|
||||
* @author James Seibel
|
||||
+2
-2
@@ -17,9 +17,9 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.interfaces.world;
|
||||
package com.seibel.lod.api.interfaces.world;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.IDhApiUnsafeWrapper;
|
||||
import com.seibel.lod.api.interfaces.IDhApiUnsafeWrapper;
|
||||
|
||||
/**
|
||||
* @author James Seibel
|
||||
+3
-3
@@ -17,10 +17,10 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.seibel.lod.api.items.interfaces.world;
|
||||
package com.seibel.lod.api.interfaces.world;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.IDhApiUnsafeWrapper;
|
||||
import com.seibel.lod.api.items.enums.worldGeneration.EDhApiLevelType;
|
||||
import com.seibel.lod.api.interfaces.IDhApiUnsafeWrapper;
|
||||
import com.seibel.lod.api.enums.worldGeneration.EDhApiLevelType;
|
||||
|
||||
/**
|
||||
* Can be either a Server or Client level.
|
||||
@@ -1,25 +0,0 @@
|
||||
package com.seibel.lod.api.items.interfaces.config;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.config.both.IDhApiWorldGenerationConfig;
|
||||
import com.seibel.lod.api.items.interfaces.config.client.IDhApiBuffersConfig;
|
||||
import com.seibel.lod.api.items.interfaces.config.client.IDhApiGraphicsConfig;
|
||||
import com.seibel.lod.api.items.interfaces.config.client.IDhApiMultiplayerConfig;
|
||||
import com.seibel.lod.api.items.interfaces.config.client.IDhApiThreadingConfig;
|
||||
|
||||
/**
|
||||
* This interfaces holds all of the config groups
|
||||
* the API has access to for easy access to all config values.
|
||||
*
|
||||
* @author James Seibel
|
||||
* @version 9-15-2022
|
||||
*/
|
||||
public interface IDhApiConfig
|
||||
{
|
||||
|
||||
IDhApiWorldGenerationConfig getWorldGeneratorConfig();
|
||||
IDhApiBuffersConfig getBufferConfig();
|
||||
IDhApiGraphicsConfig getGraphicsConfig();
|
||||
IDhApiMultiplayerConfig getMultiplayerConfig();
|
||||
IDhApiThreadingConfig getThreadingConfig();
|
||||
|
||||
}
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
package com.seibel.lod.api.items.interfaces.override.worldGenerator;
|
||||
|
||||
import com.seibel.lod.api.items.enums.worldGeneration.EDhApiWorldGenThreadMode;
|
||||
import com.seibel.lod.api.items.enums.worldGeneration.EDhApiWorldGenerationStep;
|
||||
import com.seibel.lod.api.items.interfaces.override.IDhApiOverrideable;
|
||||
import com.seibel.lod.api.items.interfaces.world.IDhApiChunkWrapper;
|
||||
import com.seibel.lod.api.items.interfaces.world.IDhApiLevelWrapper;
|
||||
|
||||
/**
|
||||
* @author James Seibel
|
||||
* @version 2022-9-8
|
||||
*/
|
||||
public interface IDhApiWorldGenerator extends IDhApiOverrideable
|
||||
{
|
||||
/** Returns which thread chunk generation requests can be created on. */
|
||||
EDhApiWorldGenThreadMode getCoreThreadingMode();
|
||||
|
||||
IDhApiChunkWrapper generateCoreChunk(int chunkPosX, int chunkPosZ, IDhApiLevelWrapper serverLevelWrapper, EDhApiWorldGenerationStep maxStepToGenerate);
|
||||
|
||||
}
|
||||
@@ -1,10 +1,8 @@
|
||||
package com.seibel.lod.api.methods.events;
|
||||
|
||||
import com.seibel.lod.api.items.objects.DhApiResult;
|
||||
import com.seibel.lod.api.objects.DhApiResult;
|
||||
import com.seibel.lod.api.methods.events.interfaces.IDhApiEvent;
|
||||
import com.seibel.lod.api.DhApiMain;
|
||||
import com.seibel.lod.core.DependencyInjection.DhApiEventInjector;
|
||||
import com.seibel.lod.core.interfaces.dependencyInjection.IDhApiEventInjector;
|
||||
|
||||
/**
|
||||
* Handles adding/removing event handlers.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package com.seibel.lod.api.methods.events.abstractEvents;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.world.IDhApiLevelWrapper;
|
||||
import com.seibel.lod.api.interfaces.world.IDhApiLevelWrapper;
|
||||
import com.seibel.lod.api.methods.events.interfaces.IDhApiEvent;
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package com.seibel.lod.api.methods.events.abstractEvents;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.world.IDhApiLevelWrapper;
|
||||
import com.seibel.lod.api.interfaces.world.IDhApiLevelWrapper;
|
||||
import com.seibel.lod.api.methods.events.interfaces.IDhApiEvent;
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package com.seibel.lod.api.methods.events.abstractEvents;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.world.IDhApiLevelWrapper;
|
||||
import com.seibel.lod.api.interfaces.world.IDhApiLevelWrapper;
|
||||
import com.seibel.lod.api.methods.events.interfaces.IDhApiEvent;
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.api.items.objects;
|
||||
package com.seibel.lod.api.objects;
|
||||
|
||||
/**
|
||||
* Allows for more descriptive non-critical failure states.
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
package com.seibel.lod.api.items.objects.config;
|
||||
package com.seibel.lod.api.objects.config;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.api.interfaces.config.IDhApiConfigValue;
|
||||
import com.seibel.lod.core.interfaces.config.IConfigEntry;
|
||||
import com.seibel.lod.core.interfaces.config.IConverter;
|
||||
import com.seibel.lod.core.interfaces.config.converters.DefaultConverter;
|
||||
import com.seibel.lod.core.util.converters.DefaultConverter;
|
||||
|
||||
/**
|
||||
* A wrapper used to interface with Distant Horizon's Config. <br> <br>
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.api.items.objects.data;
|
||||
package com.seibel.lod.api.objects.data;
|
||||
|
||||
import java.awt.Color;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
package com.seibel.lod.core.DependencyInjection;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.override.IDhApiOverrideable;
|
||||
import com.seibel.lod.api.interfaces.override.IDhApiOverrideable;
|
||||
import com.seibel.lod.core.interfaces.dependencyInjection.IOverrideInjector;
|
||||
import com.seibel.lod.core.util.StringUtil;
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package com.seibel.lod.core.DependencyInjection;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.override.IDhApiOverrideable;
|
||||
import com.seibel.lod.api.interfaces.override.IDhApiOverrideable;
|
||||
import com.seibel.lod.core.interfaces.dependencyInjection.IBindable;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
+2
-2
@@ -19,8 +19,8 @@
|
||||
|
||||
package com.seibel.lod.core.DependencyInjection;
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.override.worldGenerator.IDhApiWorldGenerator;
|
||||
import com.seibel.lod.api.items.interfaces.world.IDhApiLevelWrapper;
|
||||
import com.seibel.lod.api.interfaces.override.worldGenerator.IDhApiWorldGenerator;
|
||||
import com.seibel.lod.api.interfaces.world.IDhApiLevelWrapper;
|
||||
import com.seibel.lod.core.interfaces.dependencyInjection.IBindable;
|
||||
import com.seibel.lod.core.util.StringUtil;
|
||||
|
||||
|
||||
@@ -21,11 +21,6 @@ package com.seibel.lod.core;
|
||||
|
||||
/**
|
||||
* This file is similar to mcmod.info
|
||||
* <br>
|
||||
* If you are looking at this mod's source code and don't
|
||||
* know where to start.
|
||||
* Go to the api/lod package (folder) and take a look at the ClientApi.java file,
|
||||
* Pretty much all of the mod stems from there.
|
||||
*
|
||||
* @author James Seibel
|
||||
* @author Ran
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package com.seibel.lod.core.interfaces.dependencyInjection;
|
||||
|
||||
|
||||
import com.seibel.lod.api.items.interfaces.override.IDhApiOverrideable;
|
||||
import com.seibel.lod.api.interfaces.override.IDhApiOverrideable;
|
||||
|
||||
public interface IOverrideInjector<BindableType extends IBindable>
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.seibel.lod.core.interfaces.config.converters;
|
||||
package com.seibel.lod.core.util.converters;
|
||||
|
||||
import com.seibel.lod.core.interfaces.config.IConverter;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.seibel.lod.core.interfaces.config.converters;
|
||||
package com.seibel.lod.core.util.converters;
|
||||
|
||||
import com.seibel.lod.api.items.enums.rendering.ERendererMode;
|
||||
import com.seibel.lod.api.enums.rendering.ERendererMode;
|
||||
import com.seibel.lod.core.interfaces.config.IConverter;
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user