public class ConfigGUI extends ElementGUI
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ConfigCategory> |
categories |
protected net.minecraft.client.gui.GuiScreen |
parent |
protected java.lang.String |
parentName |
protected java.util.Map<ConfigProperty,Element<ConfigGUI>> |
propertyElements |
static ColorScheme |
RETURN |
protected ConfigCategory |
selectedCategory |
static net.minecraft.util.ResourceLocation |
SETTINGS_ICON |
static ColorScheme |
SIDEBAR |
| Constructor and Description |
|---|
ConfigGUI(net.minecraft.client.gui.GuiScreen parent,
java.lang.Object mod,
net.minecraftforge.common.config.Configuration config) |
ConfigGUI(net.minecraft.client.gui.GuiScreen parent,
java.lang.Object mod,
net.minecraftforge.common.config.Configuration config,
java.lang.String parentName) |
| Modifier and Type | Method and Description |
|---|---|
void |
decoratePropertyElement(Element<ConfigGUI> element) |
void |
drawScreen(float mouseX,
float mouseY,
float partialTicks) |
int |
getAccentColor() |
int |
getContentBackgroundColor() |
net.minecraft.client.gui.GuiScreen |
getParent() |
ColorScheme |
getReturnButtonColorScheme() |
ColorScheme |
getSidebarColorScheme() |
int |
getTextColor() |
int |
getTopBackgroundColor() |
void |
initElements() |
void |
onGuiClosed() |
addElement, addElements, clearElements, drawScreen, getElementLock, getFontRenderer, getHeight, getPostOrderElements, getPreciseMouseX, getPreciseMouseY, getPreOrderElements, getTextureManager, getWidth, initGui, isElementOnTop, keyTyped, mouseClicked, mouseClickMove, mouseReleased, playClickSound, removeElement, renderElement, sendElementToBack, sendElementToFront, updateScreenactionPerformed, addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRectpublic static final ColorScheme RETURN
public static final ColorScheme SIDEBAR
public static final net.minecraft.util.ResourceLocation SETTINGS_ICON
protected net.minecraft.client.gui.GuiScreen parent
protected java.lang.String parentName
protected java.util.List<ConfigCategory> categories
protected java.util.Map<ConfigProperty,Element<ConfigGUI>> propertyElements
protected ConfigCategory selectedCategory
public ConfigGUI(net.minecraft.client.gui.GuiScreen parent,
java.lang.Object mod,
net.minecraftforge.common.config.Configuration config)
public ConfigGUI(net.minecraft.client.gui.GuiScreen parent,
java.lang.Object mod,
net.minecraftforge.common.config.Configuration config,
java.lang.String parentName)
public void initElements()
initElements in class ElementGUIpublic void drawScreen(float mouseX,
float mouseY,
float partialTicks)
drawScreen in class ElementGUIpublic void onGuiClosed()
onGuiClosed in class ElementGUIpublic ColorScheme getReturnButtonColorScheme()
public ColorScheme getSidebarColorScheme()
public int getTopBackgroundColor()
public int getContentBackgroundColor()
public int getAccentColor()
public int getTextColor()
public net.minecraft.client.gui.GuiScreen getParent()