From 3bee25053fda1a0887c361e0020296dbbaa671cd Mon Sep 17 00:00:00 2001 From: James Seibel Date: Fri, 6 Sep 2024 21:55:48 -0500 Subject: [PATCH] Add missing LightingTestChunkWrapper methods --- .../lightingEngine/LightingTestChunkWrapper.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/src/test/java/testItems/lightingEngine/LightingTestChunkWrapper.java b/core/src/test/java/testItems/lightingEngine/LightingTestChunkWrapper.java index faecff38c..ad58e69fd 100644 --- a/core/src/test/java/testItems/lightingEngine/LightingTestChunkWrapper.java +++ b/core/src/test/java/testItems/lightingEngine/LightingTestChunkWrapper.java @@ -27,6 +27,7 @@ import com.seibel.distanthorizons.core.util.objects.DataCorruptedException; import com.seibel.distanthorizons.core.wrapperInterfaces.block.IBlockStateWrapper; import com.seibel.distanthorizons.core.wrapperInterfaces.chunk.ChunkLightStorage; import com.seibel.distanthorizons.core.wrapperInterfaces.chunk.IChunkWrapper; +import com.seibel.distanthorizons.core.wrapperInterfaces.misc.IMutableBlockPosWrapper; import com.seibel.distanthorizons.core.wrapperInterfaces.world.IBiomeWrapper; import com.seibel.distanthorizons.core.wrapperInterfaces.world.ILevelWrapper; import it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap; @@ -416,6 +417,15 @@ public class LightingTestChunkWrapper implements IChunkWrapper int lightEmission = this.blockEmissionStorage.get(new DhBlockPos(relX, relY, relZ).hashCode()); return new LightingTestBlockStateWrapper(opacity, lightEmission); } + @Override + public IBlockStateWrapper getBlockState(int relX, int relY, int relZ, IMutableBlockPosWrapper mcBlockPos, IBlockStateWrapper guess) + { return this.getBlockState(relX, relY, relZ); } + + @Override + public IMutableBlockPosWrapper getMutableBlockPosWrapper() + { + return null; + } @Override public boolean isStillValid() { return true; }