Class LightCoordsUtil

java.lang.Object
net.minecraft.util.LightCoordsUtil

public class LightCoordsUtil extends Object
  • Field Details

  • Constructor Details

    • LightCoordsUtil

      public LightCoordsUtil()
  • Method Details

    • pack

      public static int pack(int block, int sky)
    • block

      public static int block(int packed)
    • sky

      public static int sky(int packed)
    • withBlock

      public static int withBlock(int coords, int block)
    • smoothPack

      public static int smoothPack(int block, int sky)
    • smoothBlock

      public static int smoothBlock(int packed)
    • smoothSky

      public static int smoothSky(int packed)
    • addSmoothBlockEmission

      public static int addSmoothBlockEmission(int lightCoords, float blockLightEmission)
    • max

      public static int max(int coords1, int coords2)
    • lightCoordsWithEmission

      public static int lightCoordsWithEmission(int lightCoords, int emission)
    • smoothBlend

      public static int smoothBlend(int neighbor1, int neighbor2, int neighbor3, int center)
    • smoothWeightedBlend

      public static int smoothWeightedBlend(int coords1, int coords2, int coords3, int coords4, float weight1, float weight2, float weight3, float weight4)