Interface IThemeManager


public interface IThemeManager
Interface for accessing the theme manager
  • Method Details

    • registerTheme

      void registerTheme(ITheme theme)
      Registers a new theme
      Parameters:
      theme - the theme
    • getDefaultTheme

      ITheme getDefaultTheme()
      Returns:
      The default "Classic" theme
    • getClickGuiTheme

      ITheme getClickGuiTheme()
      Returns:
      The theme currently being used by the ClickGUI
    • getHudTheme

      ITheme getHudTheme()
      Returns:
      The theme currently being used by the HUD
    • getWindowsTheme

      ITheme getWindowsTheme()
      Returns:
      The theme currently being used by Windows
    • getClickGuiHandler

      default PanelHandlerBase<?> getClickGuiHandler()
    • getHudHandler

      default HudHandlerBase getHudHandler()
    • getWindowHandler

      default WindowHandlerBase getWindowHandler()
    • getClickGuiScreen

      net.minecraft.client.gui.screens.Screen getClickGuiScreen()
    • getHudEditorScreen

      net.minecraft.client.gui.screens.Screen getHudEditorScreen()
    • getWindowsScreen

      net.minecraft.client.gui.screens.Screen getWindowsScreen()
    • getCurrentTheme

      @Deprecated default ITheme getCurrentTheme()
      Deprecated.