Interface Light
public interface Light
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbyte[]array()static Lightblock()calculateExternal(Instance instance, Chunk chunk, int sectionY, Palette blockPalette) calculateInternal(Palette blockPalette, int chunkX, int chunkY, int chunkZ, int[] heightmap, int maxY, Light.NeighborLookup neighborLookup) 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
@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.NeighborLookup neighborLookup) -
calculateExternal
-
getNeighbors
-