public class ForgeGuiFactory extends java.lang.Object implements IModGuiFactory
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ForgeGuiFactory.ForgeConfigGui | 
IModGuiFactory.RuntimeOptionCategoryElement, IModGuiFactory.RuntimeOptionGuiHandler| Constructor and Description | 
|---|
| ForgeGuiFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| IModGuiFactory.RuntimeOptionGuiHandler | getHandlerFor(IModGuiFactory.RuntimeOptionCategoryElement element)Return an instance of a  IModGuiFactory.RuntimeOptionGuiHandlerthat handles painting the
 right hand side option screen for the specifiedIModGuiFactory.RuntimeOptionCategoryElement. | 
| void | initialize(Minecraft minecraftInstance)Called when instantiated to initialize with the active minecraft instance. | 
| java.lang.Class<? extends GuiScreen> | mainConfigGuiClass()Return the name of a class extending  GuiScreen. | 
| java.util.Set<IModGuiFactory.RuntimeOptionCategoryElement> | runtimeGuiCategories()Return a list of the "runtime" categories this mod wishes to populate with
 GUI elements. | 
public void initialize(Minecraft minecraftInstance)
IModGuiFactoryinitialize in interface IModGuiFactoryminecraftInstance - the instancepublic java.lang.Class<? extends GuiScreen> mainConfigGuiClass()
IModGuiFactoryGuiScreen. This class will
 be instantiated when the "config" button is pressed in the mod list. It will
 have a single argument constructor - the "parent" screen, the same as all
 Minecraft GUIs. The expected behaviour is that this screen will replace the
 "mod list" screen completely, and will return to the mod list screen through
 the parent link, once the appropriate action is taken from the config screen.
 A null from this method indicates that the mod does not provide a "config"
 button GUI screen, and the config button will be hidden/disabled.
 This config GUI is anticipated to provide configuration to the mod in a friendly
 visual way. It should not be abused to set internals such as IDs (they're gonna
 keep disappearing anyway), but rather, interesting behaviours. This config GUI
 is never run when a server game is running, and should be used to configure
 desired behaviours that affect server state. Costs, mod game modes, stuff like that
 can be changed here.mainConfigGuiClass in interface IModGuiFactorypublic java.util.Set<IModGuiFactory.RuntimeOptionCategoryElement> runtimeGuiCategories()
IModGuiFactoryruntimeGuiCategories in interface IModGuiFactorypublic IModGuiFactory.RuntimeOptionGuiHandler getHandlerFor(IModGuiFactory.RuntimeOptionCategoryElement element)
IModGuiFactoryIModGuiFactory.RuntimeOptionGuiHandler that handles painting the
 right hand side option screen for the specified IModGuiFactory.RuntimeOptionCategoryElement.getHandlerFor in interface IModGuiFactoryelement - The element we wish to paint for