Class LightCompute

java.lang.Object
net.minestom.server.instance.light.LightCompute

public final class LightCompute extends Object
  • Field Details

    • EMPTY_CONTENT

      public static final byte[] EMPTY_CONTENT
    • CONTENT_FULLY_LIT

      public static final byte[] CONTENT_FULLY_LIT
  • Constructor Details

    • LightCompute

      public LightCompute()
  • Method Details

    • getBlock

      public static Block getBlock(Palette palette, int x, int y, int z)
    • bake

      public static byte[] bake(byte[] content1, byte[] content2)
    • compareBorders

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