public class CoreComponentsOptions extends IOptionPage.SimpleOptionPage<CoreComponentsClientHandler>
IOptionPage.SimpleOptionPage<T extends IArmorUpgradeClientHandler<?>>| Constructor and Description |
|---|
CoreComponentsOptions(IGuiScreen screen,
CoreComponentsClientHandler upgradeHandler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
displaySettingsHeader()
Should the "Settings" header be displayed?
|
java.util.Optional<IKeybindingButton> |
getKeybindingButton()
Get the keybinding button for this page, if any.
|
void |
populateGui(IGuiScreen gui)
Here you can initialize your buttons and stuff like with a
Screen. |
getClientUpgradeHandler, getGuiScreen, getPageName, isToggleable, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseScrolled, renderPost, renderPreclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsettingsYposition, tickpublic CoreComponentsOptions(IGuiScreen screen, CoreComponentsClientHandler upgradeHandler)
public void populateGui(IGuiScreen gui)
IOptionPageScreen.populateGui in interface IOptionPagepopulateGui in class IOptionPage.SimpleOptionPage<CoreComponentsClientHandler>gui - the holding GUIpublic java.util.Optional<IKeybindingButton> getKeybindingButton()
IOptionPageIPneumaticHelmetRegistry.makeKeybindingButton(int, KeyBinding).Optional.empty() if there isn't onepublic boolean displaySettingsHeader()
IOptionPagedisplaySettingsHeader in interface IOptionPagedisplaySettingsHeader in class IOptionPage.SimpleOptionPage<CoreComponentsClientHandler>