public class GuiConfigEntries extends GuiListExtended
| Modifier and Type | Class and Description | 
|---|---|
| static class  | GuiConfigEntries.ArrayEntryArrayEntry
 Provides a GuiButton with the list contents as the displayString. | 
| static class  | GuiConfigEntries.BooleanEntryBooleanPropEntry
 Provides a GuiButton that toggles between true and false. | 
| static class  | GuiConfigEntries.ButtonEntryButtonEntry
 Provides a basic GuiButton entry to be used as a base for other entries that require a button for the value. | 
| static class  | GuiConfigEntries.CategoryEntryCategoryEntry
 Provides an entry that consists of a GuiButton for navigating to the child category GuiConfig screen. | 
| static class  | GuiConfigEntries.ChatColorEntryChatColorEntry
 Provides a GuiButton that cycles through the list of chat color codes. | 
| static class  | GuiConfigEntries.CycleValueEntryCycleValueEntry
 Provides a GuiButton that cycles through the prop's validValues array. | 
| static class  | GuiConfigEntries.DoubleEntryDoubleEntry
 Provides a GuiTextField for user input. | 
| static interface  | GuiConfigEntries.IConfigEntryProvides an interface for defining GuiConfigEntry.listEntry objects. | 
| static class  | GuiConfigEntries.IntegerEntryIntegerEntry
 Provides a GuiTextField for user input. | 
| static class  | GuiConfigEntries.ListEntryBaseListEntryBase
 Provides a base entry for others to extend. | 
| static class  | GuiConfigEntries.NumberSliderEntryNumberSliderEntry
 Provides a slider for numeric properties. | 
| static class  | GuiConfigEntries.SelectValueEntrySelectValueEntry
 Provides a GuiButton with the current value as the displayString. | 
| static class  | GuiConfigEntries.StringEntryStringEntry
 Provides a GuiTextField for user input. | 
GuiListExtended.IGuiListEntry| Modifier and Type | Field and Description | 
|---|---|
| int | controlWidthThe width of the control. | 
| int | controlXThe x position where the control should be drawn. | 
| int | labelXThe x position where the label should be drawn. | 
| java.util.List<GuiConfigEntries.IConfigEntry> | listEntries | 
| int | maxEntryRightBoundThe max x boundary of all IConfigEntry objects. | 
| int | maxLabelTextWidthThe max width of the label of all IConfigEntry objects. | 
| Minecraft | mc | 
| GuiConfig | owningScreen | 
| int | resetXThe minimum x position where the Undo/Default buttons will start | 
| int | scrollBarXThe x position of the scroll bar. | 
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, width| Constructor and Description | 
|---|
| GuiConfigEntries(GuiConfig parent,
                Minecraft mc) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | areAllEntriesDefault(boolean includeChildren)Returns true if all IConfigEntry objects on this screen are set to default. | 
| boolean | areAnyEntriesEnabled(boolean includeChildren)Returns true if any IConfigEntry objects on this screen are enabled. | 
| void | drawScreenPost(int mouseX,
              int mouseY,
              float partialTicks)Calls the drawToolTip() method for all IConfigEntry objects on this screen. | 
| GuiConfigEntries.IConfigEntry | getListEntry(int index)Gets the IGuiListEntry object for the given index | 
| int | getListWidth()Gets the width of the list | 
| int | getScrollBarX() | 
| int | getSize() | 
| boolean | hasChangedEntry(boolean includeChildren)Returns true if any IConfigEntry objects on this screen are changed. | 
| protected void | initGui() | 
| void | keyTyped(char eventChar,
        int eventKey)This method is a pass-through for IConfigEntry objects that require keystrokes. | 
| void | mouseClickedPassThru(int mouseX,
                    int mouseY,
                    int mouseEvent)This method is a pass-through for IConfigEntry objects that contain GuiTextField elements. | 
| void | onGuiClosed()This method is a pass-through for IConfigEntry objects that need to perform actions when the containing GUI is closed. | 
| boolean | saveConfigElements()Saves all properties on this screen / child screens. | 
| void | setAllToDefault(boolean includeChildren)Sets all IConfigEntry objects on this screen to default. | 
| void | undoAllChanges(boolean includeChildren)Reverts changes to all IConfigEntry objects on this screen. | 
| void | updateScreen()This method is a pass-through for IConfigEntry objects that contain GuiTextField elements. | 
drawBackground, drawSlot, elementClicked, isSelected, mouseClicked, mouseReleased, updateItemPosactionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEnabled, getMaxScroll, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeftpublic final GuiConfig owningScreen
public final Minecraft mc
public java.util.List<GuiConfigEntries.IConfigEntry> listEntries
public int maxLabelTextWidth
public int maxEntryRightBound
public int labelX
public int controlX
public int controlWidth
public int resetX
public int scrollBarX
protected void initGui()
public GuiConfigEntries.IConfigEntry getListEntry(int index)
getListEntry in class GuiListExtendedpublic int getScrollBarX()
getScrollBarX in class GuiSlotpublic int getListWidth()
getListWidth in class GuiSlotpublic void keyTyped(char eventChar,
                     int eventKey)
public void updateScreen()
public void mouseClickedPassThru(int mouseX,
                                 int mouseY,
                                 int mouseEvent)
public void onGuiClosed()
public boolean saveConfigElements()
public boolean areAllEntriesDefault(boolean includeChildren)
public void setAllToDefault(boolean includeChildren)
public boolean hasChangedEntry(boolean includeChildren)
public boolean areAnyEntriesEnabled(boolean includeChildren)
public void undoAllChanges(boolean includeChildren)
public void drawScreenPost(int mouseX,
                           int mouseY,
                           float partialTicks)