Package | Description |
---|---|
net.minecraftforge.client.gui | |
net.minecraftforge.common.config | |
net.minecraftforge.fml.client | |
net.minecraftforge.fml.client.config |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<IConfigElement> |
ForgeGuiFactory.ForgeConfigGui.getConfigElements() |
Constructor and Description |
---|
AddModOverrideEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement prop) |
ChunkLoaderEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement prop) |
ClientEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement prop) |
GeneralEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement prop) |
ModIDEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement prop) |
ModOverridesEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement prop) |
VersionCheckEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement prop) |
Modifier and Type | Class and Description |
---|---|
class |
ConfigElement
This class bridges the gap between the FML config GUI classes and the Forge Configuration classes.
|
Modifier and Type | Method and Description |
---|---|
static IConfigElement |
ConfigElement.from(java.lang.Class<?> configClass)
Provides a ConfigElement derived from the annotation-based config system
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IConfigElement> |
ConfigElement.getChildElements() |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<IConfigElement> |
FMLConfigGuiFactory.FMLConfigGuiScreen.getConfigElements() |
Constructor and Description |
---|
CustomArrayEntry(GuiEditArray owningScreen,
GuiEditArrayEntries owningEntryList,
IConfigElement configElement,
java.lang.Object value) |
Modifier and Type | Class and Description |
---|---|
class |
DummyConfigElement
This class's main purpose is to provide the necessary objects for a sample Config GUI for FML, although
there may be practical uses for the objects defined here such as using the DummyCategoryElement object as a
wrapper for a custom IGuiConfigListEntry object that opens a special screen.
|
static class |
DummyConfigElement.DummyCategoryElement
This class provides a Dummy Category IConfigElement.
|
static class |
DummyConfigElement.DummyListElement
This class provides a dummy array-type IConfigElement.
|
Modifier and Type | Field and Description |
---|---|
protected IConfigElement |
GuiConfigEntries.ListEntryBase.configElement |
IConfigElement |
GuiEditArrayEntries.configElement |
protected IConfigElement |
GuiEditArrayEntries.BaseEntry.configElement |
protected IConfigElement |
GuiEditArray.configElement |
protected IConfigElement |
GuiSelectString.configElement |
IConfigElement |
GuiSelectStringEntries.configElement |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<IConfigElement> |
DummyConfigElement.childElements |
java.util.List<IConfigElement> |
GuiConfig.configElements |
Modifier and Type | Method and Description |
---|---|
IConfigElement |
GuiConfigEntries.ListEntryBase.getConfigElement() |
IConfigElement |
GuiConfigEntries.IConfigEntry.getConfigElement()
Gets the IConfigElement object owned by this entry.
|
IConfigElement |
DummyConfigElement.setArrayEntryClass(java.lang.Class<? extends GuiEditArrayEntries.IArrayEntry> clazz) |
IConfigElement |
DummyConfigElement.setConfigEntryClass(java.lang.Class<? extends GuiConfigEntries.IConfigEntry> clazz) |
IConfigElement |
DummyConfigElement.setRequiresMcRestart(boolean requiresMcRestart) |
IConfigElement |
DummyConfigElement.setRequiresWorldRestart(boolean requiresWorldRestart) |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<IConfigElement> |
GuiConfig.collectConfigElements(java.lang.Class<?>[] configClasses) |
java.util.List<IConfigElement> |
DummyConfigElement.getChildElements() |
java.util.List<IConfigElement> |
IConfigElement.getChildElements()
[Category] Gets this category's child categories/properties.
|
Constructor and Description |
---|
ArrayEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
BaseEntry(GuiEditArray owningScreen,
GuiEditArrayEntries owningEntryList,
IConfigElement configElement) |
BooleanEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
BooleanEntry(GuiEditArray owningScreen,
GuiEditArrayEntries owningEntryList,
IConfigElement configElement,
boolean value) |
ButtonEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
ButtonEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement,
GuiButtonExt button) |
CategoryEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
ChatColorEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
CycleValueEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
DoubleEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
DoubleEntry(GuiEditArray owningScreen,
GuiEditArrayEntries owningEntryList,
IConfigElement configElement,
java.lang.Double value) |
GuiEditArray(GuiScreen parentScreen,
IConfigElement configElement,
int slotIndex,
java.lang.Object[] currentValues,
boolean enabled) |
GuiEditArrayEntries(GuiEditArray parent,
Minecraft mc,
IConfigElement configElement,
java.lang.Object[] beforeValues,
java.lang.Object[] currentValues) |
GuiSelectString(GuiScreen parentScreen,
IConfigElement configElement,
int slotIndex,
java.util.Map<java.lang.Object,java.lang.String> selectableValues,
java.lang.Object currentValue,
boolean enabled) |
GuiSelectStringEntries(GuiSelectString owningScreen,
Minecraft mc,
IConfigElement configElement,
java.util.Map<java.lang.Object,java.lang.String> selectableValues) |
IntegerEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
IntegerEntry(GuiEditArray owningScreen,
GuiEditArrayEntries owningEntryList,
IConfigElement configElement,
java.lang.Integer value) |
ListEntryBase(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
NumberSliderEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
SelectValueEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement,
java.util.Map<java.lang.Object,java.lang.String> selectableValues) |
StringEntry(GuiConfig owningScreen,
GuiConfigEntries owningEntryList,
IConfigElement configElement) |
StringEntry(GuiEditArray owningScreen,
GuiEditArrayEntries owningEntryList,
IConfigElement configElement,
java.lang.Object value) |
Constructor and Description |
---|
DummyCategoryElement(java.lang.String name,
java.lang.String langKey,
java.util.List<IConfigElement> childElements) |
DummyCategoryElement(java.lang.String name,
java.lang.String langKey,
java.util.List<IConfigElement> childElements,
java.lang.Class<? extends GuiConfigEntries.IConfigEntry> customListEntryClass) |
GuiConfig(GuiScreen parentScreen,
java.util.List<IConfigElement> configElements,
java.lang.String modID,
boolean allRequireWorldRestart,
boolean allRequireMcRestart,
java.lang.String title)
GuiConfig constructor that will use ConfigChangedEvent when editing is concluded.
|
GuiConfig(GuiScreen parentScreen,
java.util.List<IConfigElement> configElements,
java.lang.String modID,
boolean allRequireWorldRestart,
boolean allRequireMcRestart,
java.lang.String title,
java.lang.String titleLine2)
GuiConfig constructor that will use ConfigChangedEvent when editing is concluded.
|
GuiConfig(GuiScreen parentScreen,
java.util.List<IConfigElement> configElements,
java.lang.String modID,
java.lang.String configID,
boolean allRequireWorldRestart,
boolean allRequireMcRestart,
java.lang.String title)
GuiConfig constructor that will use ConfigChangedEvent when editing is concluded.
|
GuiConfig(GuiScreen parentScreen,
java.util.List<IConfigElement> configElements,
java.lang.String modID,
java.lang.String configID,
boolean allRequireWorldRestart,
boolean allRequireMcRestart,
java.lang.String title,
java.lang.String titleLine2)
GuiConfig constructor that will use ConfigChangedEvent when editing is concluded.
|