Class ExtraLightCoordsUtil

java.lang.Object
net.fabricmc.fabric.api.client.renderer.v1.render.ExtraLightCoordsUtil

public final class ExtraLightCoordsUtil extends Object
Covers some light-related utilities that LightCoordsUtil does not.
  • Method Details

    • smoothMax

      public static int smoothMax(int coords1, int coords2)
      Parameters:
      coords1 - Packed block- and skylight 1
      coords2 - Packed block- and skylight 2
      Returns:
      The maximum block- and skylight of the two inputs, packed "smoothly".