Interface Light


public interface Light
  • Method Details

    • sky

      static Light sky(@NotNull @NotNull Palette blockPalette)
    • block

      static Light block(@NotNull @NotNull Palette blockPalette)
    • requiresSend

      boolean requiresSend()
    • array

      @Internal byte[] array()
    • flip

      Set<Point> flip()
    • calculateExternal

      @Internal Light calculateExternal(Instance instance, Chunk chunk, int sectionY)
    • invalidatePropagation

      @Internal void invalidatePropagation()
    • getLevel

      int getLevel(int x, int y, int z)
    • calculateInternal

      @Internal Light calculateInternal(Instance instance, int chunkX, int chunkY, int chunkZ)
    • invalidate

      void invalidate()
    • requiresUpdate

      boolean requiresUpdate()
    • set

      void set(byte[] copyArray)
    • getNeighbors

      @Internal static Point[] getNeighbors(Chunk chunk, int sectionY)
    • compareBorders

      @Internal static boolean compareBorders(byte[] content, byte[] contentPropagation, byte[] contentPropagationTemp, BlockFace face)