Interface Light
public interface Light
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
array()
static Light
calculateExternal
(Instance instance, Chunk chunk, int sectionY) calculateInternal
(Instance instance, int chunkX, int chunkY, int chunkZ) static boolean
compareBorders
(byte[] content, byte[] contentPropagation, byte[] contentPropagationTemp, BlockFace face) flip()
int
getLevel
(int x, int y, int z) static Point[]
getNeighbors
(Chunk chunk, int sectionY) void
void
boolean
boolean
void
set
(byte[] copyArray) static Light
-
Method Details
-
sky
-
block
-
requiresSend
boolean requiresSend() -
array
@Internal byte[] array() -
flip
-
calculateExternal
-
invalidatePropagation
@Internal void invalidatePropagation() -
getLevel
int getLevel(int x, int y, int z) -
calculateInternal
-
invalidate
void invalidate() -
requiresUpdate
boolean requiresUpdate() -
set
void set(byte[] copyArray) -
getNeighbors
-
compareBorders
@Internal static boolean compareBorders(byte[] content, byte[] contentPropagation, byte[] contentPropagationTemp, BlockFace face)
-