Class GuiTheme
java.lang.Object
meteordevelopment.meteorclient.gui.GuiTheme
- All Implemented Interfaces:
ISerializable<GuiTheme>
- Direct Known Subclasses:
MeteorGuiTheme
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanfinal Stringfinal Settingsprotected SettingsWidgetFactorystatic final doubleprotected final Map<String,WindowConfig> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract WAccountaccount(WidgetScreen screen, Account<?> account) voidblockPosEdit(net.minecraft.util.math.BlockPos value) protected abstract WButtonbutton(String text, GuiTexture texture) button(GuiTexture texture) abstract booleanabstract WCheckboxcheckbox(boolean checked) voiddoubleEdit(double value, double min, double max) doubleEdit(double value, double min, double max, double sliderMin, double sliderMax) doubleEdit(double value, double min, double max, double sliderMin, double sliderMax, int decimalPlaces, boolean noSlider) dropdown(T value) abstract <T> WDropdown<T>dropdown(T[] values, T value) abstract WFavoritefavorite(boolean checked) fromTag(net.minecraft.nbt.NbtCompound tag) abstract booleanhideHUD()abstract WHorizontalSeparatorhorizontalSeparator(String text) intEdit(int value, int min, int max, boolean noSlider) intEdit(int value, int min, int max, int sliderMin, int sliderMax) intEdit(int value, int min, int max, int sliderMin, int sliderMax, boolean noSlider) booleanisModulesScreen(net.minecraft.client.gui.screen.Screen screen) item(net.minecraft.item.ItemStack itemStack) itemWithLabel(net.minecraft.item.ItemStack stack) itemWithLabel(net.minecraft.item.ItemStack stack, String name) abstract WLabelabstract WMinusminus()abstract WWidgetmoduleScreen(Module module) doublepad()abstract WPlusplus()abstract WQuadabstract doublescale(double value) abstract WSectionabstract WSliderslider(double value, double min, double max) abstract Colorabstract Colorabstract Colorabstract Colorabstract Colorabstract Colorabstract Colorabstract Colorabstract Colorabstract Colortable()textBox(String text, String placeholder, CharFilter filter) abstract WTextBoxtextBox(String text, String placeholder, CharFilter filter, Class<? extends WTextBox.Renderer> renderer) textBox(String text, CharFilter filter) textBox(String text, CharFilter filter, Class<? extends WTextBox.Renderer> renderer) abstract ColordoubledoubletextHeight(boolean title) abstract TextRendererabstract Colordoubledoubleabstract WTooltipabstract WTopBartopBar()net.minecraft.nbt.NbtCompoundtoTag()abstract WTriangletriangle()abstract WVerticalSeparatorabstract WViewview()protected <T extends WWidget>
Tw(T widget) abstract WWindow
-
Field Details
-
TITLE_TEXT_SCALE
public static final double TITLE_TEXT_SCALE- See Also:
-
name
-
settings
-
disableHoverColor
public boolean disableHoverColor -
settingsFactory
-
windowConfigs
-
-
Constructor Details
-
GuiTheme
-
-
Method Details
-
beforeRender
public void beforeRender() -
window
-
window
-
label
-
label
-
label
-
label
-
horizontalSeparator
-
horizontalSeparator
-
verticalSeparator
-
button
-
button
-
button
-
minus
-
plus
-
checkbox
-
slider
-
textBox
public abstract WTextBox textBox(String text, String placeholder, CharFilter filter, Class<? extends WTextBox.Renderer> renderer) -
textBox
public WTextBox textBox(String text, CharFilter filter, Class<? extends WTextBox.Renderer> renderer) -
textBox
-
textBox
-
textBox
-
textBox
-
dropdown
-
dropdown
-
triangle
-
tooltip
-
view
-
verticalList
-
horizontalList
-
table
-
section
-
section
-
section
-
account
-
module
-
quad
-
topBar
-
favorite
-
item
-
itemWithLabel
-
itemWithLabel
-
texture
-
intEdit
public WIntEdit intEdit(int value, int min, int max, int sliderMin, int sliderMax, boolean noSlider) -
intEdit
-
intEdit
-
doubleEdit
public WDoubleEdit doubleEdit(double value, double min, double max, double sliderMin, double sliderMax, int decimalPlaces, boolean noSlider) -
doubleEdit
public WDoubleEdit doubleEdit(double value, double min, double max, double sliderMin, double sliderMax) -
doubleEdit
-
blockPosEdit
-
keybind
-
keybind
-
settings
-
settings
-
modulesScreen
-
isModulesScreen
public boolean isModulesScreen(net.minecraft.client.gui.screen.Screen screen) -
moduleScreen
-
accountsScreen
-
notebotSongs
-
proxiesScreen
-
textColor
-
textSecondaryColor
-
starscriptTextColor
-
starscriptBraceColor
-
starscriptParenthesisColor
-
starscriptDotColor
-
starscriptCommaColor
-
starscriptOperatorColor
-
starscriptStringColor
-
starscriptNumberColor
-
starscriptKeywordColor
-
starscriptAccessedObjectColor
-
textRenderer
-
scale
public abstract double scale(double value) -
categoryIcons
public abstract boolean categoryIcons() -
hideHUD
public abstract boolean hideHUD() -
textWidth
-
textWidth
-
textHeight
public double textHeight(boolean title) -
textHeight
public double textHeight() -
pad
public double pad() -
getWindowConfig
-
clearWindowConfigs
public void clearWindowConfigs() -
w
-
toTag
public net.minecraft.nbt.NbtCompound toTag()- Specified by:
toTagin interfaceISerializable<GuiTheme>
-
fromTag
- Specified by:
fromTagin interfaceISerializable<GuiTheme>
-