Interface IThemeManager
public interface IThemeManager
Interface for accessing the theme manager
-
Method Summary
Modifier and TypeMethodDescriptiondefault PanelHandlerBase<?>
net.minecraft.client.gui.screens.Screen
default ITheme
Deprecated.net.minecraft.client.gui.screens.Screen
default HudHandlerBase
default WindowHandlerBase
net.minecraft.client.gui.screens.Screen
void
registerTheme
(ITheme theme) Registers a new theme
-
Method Details
-
registerTheme
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
-
getHudHandler
-
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.
-