From 7d86e24db598c977bcfd842a0d18591d41ca9e39 Mon Sep 17 00:00:00 2001 From: cola98765 Date: Sun, 12 Dec 2021 00:25:51 +0100 Subject: [PATCH] attempt to fix generation below y=0 --- .../com/seibel/lod/core/builders/lodBuilding/LodBuilder.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/seibel/lod/core/builders/lodBuilding/LodBuilder.java b/src/main/java/com/seibel/lod/core/builders/lodBuilding/LodBuilder.java index 25a2f9c5b..e695850a7 100644 --- a/src/main/java/com/seibel/lod/core/builders/lodBuilding/LodBuilder.java +++ b/src/main/java/com/seibel/lod/core/builders/lodBuilding/LodBuilder.java @@ -48,6 +48,7 @@ import com.seibel.lod.core.wrapperInterfaces.minecraft.IMinecraftWrapper; import com.seibel.lod.core.wrapperInterfaces.world.IBiomeWrapper; import com.seibel.lod.core.wrapperInterfaces.world.IDimensionTypeWrapper; import com.seibel.lod.core.wrapperInterfaces.world.IWorldWrapper; +import com.seibel.lod.forge.wrappers.chunk.ChunkWrapper; /** * This object is in charge of creating Lod related objects. @@ -64,9 +65,9 @@ import com.seibel.lod.core.wrapperInterfaces.world.IWorldWrapper; private static final IWrapperFactory FACTORY = SingletonHandler.get(IWrapperFactory.class); /** If no blocks are found in the area in determineBottomPointForArea return this */ - public static final short DEFAULT_DEPTH = -64; //TODO replace with value from version specific constants + public static final short DEFAULT_DEPTH = ChunkWrapper.MIN_HEIGHT; /** If no blocks are found in the area in determineHeightPointForArea return this */ - public static final short DEFAULT_HEIGHT = -64; //TODO replace with value from version specific constants + public static final short DEFAULT_HEIGHT = ChunkWrapper.MIN_HEIGHT; /** Minecraft's max light value */ public static final short DEFAULT_MAX_LIGHT = 15;