Added Air lod container

This commit is contained in:
Morippi
2022-05-11 09:33:57 +02:00
parent c01f81b4ad
commit 3f6a2d5195
@@ -28,6 +28,7 @@ public class RenderDataContainer
public final int verticalSize;
public final long[] dataContainer;
public final int[] airDataContainer;
/**
* Constructor of the RenderDataContainer
@@ -38,7 +39,7 @@ public class RenderDataContainer
this.detailLevel = detailLevel;
verticalSize = DetailDistanceUtil.getMaxVerticalData(detailLevel);
dataContainer = new long[SECTION_SIZE * SECTION_SIZE * DetailDistanceUtil.getMaxVerticalData(detailLevel)];
dataContainer = new long[SECTION_SIZE * SECTION_SIZE * DetailDistanceUtil.getMaxVerticalData(detailLevel)];
airDataContainer = new int[AIR_SECTION_SIZE * AIR_SECTION_SIZE * DetailDistanceUtil.getMaxVerticalData(detailLevel)];
minHeight = SingletonHandler.get(IMinecraftClientWrapper.class).getWrappedClientWorld().getMinHeight();
}