Class LibGui

java.lang.Object
io.github.cottonmc.cotton.gui.client.LibGui

public final class LibGui extends Object
This class provides access to LibGui configuration and other global data.
Since:
4.0.0
  • Method Details

    • isDarkMode

      public static boolean isDarkMode()
      Returns whether LibGui is running in dark mode and widgets should use dark theming.
      Returns:
      true if widgets should use dark theming, false otherwise