public class ChestplateLauncherOptions extends IOptionPage.SimpleOptionPage<ChestplateLauncherClientHandler>
IOptionPage.SimpleOptionPage<T extends IArmorUpgradeClientHandler<?>>| Constructor and Description |
|---|
ChestplateLauncherOptions(IGuiScreen screen,
ChestplateLauncherClientHandler renderHandler) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<IKeybindingButton> |
getKeybindingButton()
Get the keybinding button for this page, if any.
|
boolean |
isToggleable()
Can this upgrade be toggled off & on? If true, a checkbox (with the ability to bind a key) will be
automatically displayed in this upgrade's GUI.
|
void |
populateGui(IGuiScreen gui)
Here you can initialize your buttons and stuff like with a
Screen. |
displaySettingsHeader, getClientUpgradeHandler, getGuiScreen, getPageName, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseScrolled, renderPost, renderPreclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsettingsYposition, tickpublic ChestplateLauncherOptions(IGuiScreen screen, ChestplateLauncherClientHandler renderHandler)
public void populateGui(IGuiScreen gui)
IOptionPageScreen.populateGui in interface IOptionPagepopulateGui in class IOptionPage.SimpleOptionPage<ChestplateLauncherClientHandler>gui - the holding GUIpublic java.util.Optional<IKeybindingButton> getKeybindingButton()
IOptionPageIPneumaticHelmetRegistry.makeKeybindingButton(int, KeyBinding).Optional.empty() if there isn't onepublic boolean isToggleable()
IOptionPageisToggleable in interface IOptionPageisToggleable in class IOptionPage.SimpleOptionPage<ChestplateLauncherClientHandler>