Interface Light
public interface Light
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
array()
static Light
block()
calculateExternal
(Palette blockPalette, Point[] neighbors, Light.LightLookup lightLookup, Light.PaletteLookup paletteLookup) calculateInternal
(Palette blockPalette, int chunkX, int chunkY, int chunkZ, int[] heightmap, int maxY, Light.LightLookup lightLookup) void
flip()
int
getLevel
(int x, int y, int z) static Point[]
getNeighbors
(Chunk chunk, int sectionY) void
boolean
boolean
void
set
(byte[] copyArray) static Light
sky()
-
Method Details
-
sky
-
block
-
requiresSend
boolean requiresSend() -
array
@Internal byte[] array() -
flip
void flip() -
getLevel
int getLevel(int x, int y, int z) -
invalidate
void invalidate() -
requiresUpdate
boolean requiresUpdate() -
set
void set(byte[] copyArray) -
calculateInternal
@Internal Set<Point> calculateInternal(Palette blockPalette, int chunkX, int chunkY, int chunkZ, int[] heightmap, int maxY, Light.LightLookup lightLookup) -
calculateExternal
@Internal Set<Point> calculateExternal(Palette blockPalette, Point[] neighbors, Light.LightLookup lightLookup, Light.PaletteLookup paletteLookup) -
getNeighbors
-