small change to light value getters in lod builde. Added WorldLightWrapper for future implementation

This commit is contained in:
Leonardo
2021-10-26 21:59:35 +02:00
parent 923d57b377
commit f2face9782
3 changed files with 9 additions and 2 deletions
@@ -398,7 +398,7 @@ public class LodBuilder
if (world.isEmpty())
if (!world.isEmpty())
{
// server world sky light (always accurate)
blockLight = world.getBlockLight(blockPos);
@@ -9,7 +9,7 @@ public class LigthMapWrapper
public static void setLightMap(NativeImage lightMap)
{
lightMap = null;
lightMap = lightMap;
}
public static int getLightValue(int skyLight, int blockLight)
@@ -0,0 +1,7 @@
package com.seibel.lod.wrappers.World;
//We will use this class to get all the light information from the game like skylight, blocklight and light emission;
public class WorldLightWrapper
{
}