Interface Light
public interface Light
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionbyte[]array()static Lightblock()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) voidflip()intgetLevel(int x, int y, int z) static Point[]getNeighbors(Chunk chunk, int sectionY) voidbooleanbooleanvoidset(byte[] copyArray) static Lightsky()
-
Method Details
-
sky
-
block
-
requiresSend
boolean requiresSend() -
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
-