public interface CustomToolBarBuilder
| Modifier and Type | Method and Description |
|---|---|
IThemeToolBar |
getNewToolbar(IThemeButton... themeButtons)
Gets a new toolbar instance.
|
IThemeButton |
getThemeButton(@NotNull java.lang.String label,
@NotNull net.minecraft.resources.ResourceLocation icon,
IThemeButton.Action onPress)
Creates and gets a theme button with a separate on/off label.
|
IThemeButton |
getThemeButton(@NotNull java.lang.String labelOn,
@NotNull java.lang.String labelOff,
@NotNull net.minecraft.resources.ResourceLocation icon,
IThemeButton.Action onPress)
Creates and gets a theme button with a separate on/off label.
|
IThemeButton |
getThemeToggleButton(@NotNull java.lang.String label,
@NotNull net.minecraft.resources.ResourceLocation icon,
IThemeButton.Action onPress)
Creates and gets a theme toggle button with a separate on/off label.
|
IThemeButton |
getThemeToggleButton(@NotNull java.lang.String labelOn,
@NotNull java.lang.String labelOff,
@NotNull net.minecraft.resources.ResourceLocation icon,
IThemeButton.Action onPress)
Creates and gets a theme toggle button with a separate on/off label.
|
IThemeButton getThemeToggleButton(@NotNull @NotNull java.lang.String labelOn, @NotNull @NotNull java.lang.String labelOff, @NotNull @NotNull net.minecraft.resources.ResourceLocation icon, @NotNull IThemeButton.Action onPress)
labelOn - - The on label, can be the display string or i18n key.labelOff - - The off label, can be the display string or i18n key.icon - - The icon name. Icon ResourceLocationonPress - - The onpress action.IThemeButton getThemeButton(@NotNull @NotNull java.lang.String labelOn, @NotNull @NotNull java.lang.String labelOff, @NotNull @NotNull net.minecraft.resources.ResourceLocation icon, @NotNull IThemeButton.Action onPress)
labelOn - - The on label, can be the display string or i18n key.labelOff - - The off label, can be the display string or i18n key.icon - - The icon name. Icon ResourceLocationonPress - - The onpress action.IThemeButton getThemeToggleButton(@NotNull @NotNull java.lang.String label, @NotNull @NotNull net.minecraft.resources.ResourceLocation icon, @NotNull IThemeButton.Action onPress)
label - - The label, can be the display string or i18n key.icon - - The icon name. Icon ResourceLocationonPress - - The onpress action.IThemeButton getThemeButton(@NotNull @NotNull java.lang.String label, @NotNull @NotNull net.minecraft.resources.ResourceLocation icon, @NotNull IThemeButton.Action onPress)
label - - The label, can be the display string or i18n key.icon - - The icon name. Icon ResourceLocationonPress - - The onpress action.IThemeToolBar getNewToolbar(IThemeButton... themeButtons)
themeButtons - - The theme buttons.