Class HackOptions
java.lang.Object
me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage.SimpleOptionPage<HackClientHandler>
me.desht.pneumaticcraft.client.gui.pneumatic_armor.options.HackOptions
- All Implemented Interfaces:
IOptionPage
-
Nested Class Summary
Nested classes/interfaces inherited from interface me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage
IOptionPage.SimpleOptionPage<T extends IArmorUpgradeClientHandler<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the keybinding button for this page, if any.booleanCan this upgrade be toggled on & off? If true, a checkbox (with the ability to bind a key) will be automatically displayed in this upgrade's GUI.voidpopulateGui(IGuiScreen gui) Here you can initialize your buttons and stuff like with aScreen.Methods inherited from class me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage.SimpleOptionPage
displaySettingsHeader, getClientUpgradeHandler, getGuiScreen, getPageName, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseScrolled, renderPost, renderPreMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage
settingsYposition, tick
-
Constructor Details
-
HackOptions
-
-
Method Details
-
populateGui
Description copied from interface:IOptionPageHere you can initialize your buttons and stuff like with aScreen.- Specified by:
populateGuiin interfaceIOptionPage- Overrides:
populateGuiin classIOptionPage.SimpleOptionPage<HackClientHandler>- Parameters:
gui- the holding GUI
-
getKeybindingButton
Description copied from interface:IOptionPageGet the keybinding button for this page, if any. You can create a keybinding button withIPneumaticHelmetRegistry.makeKeybindingButton(int, KeyMapping).- Returns:
- the keybinding button, or
Optional.empty()if there isn't one
-
isToggleable
public boolean isToggleable()Description copied from interface:IOptionPageCan this upgrade be toggled on & off? If true, a checkbox (with the ability to bind a key) will be automatically displayed in this upgrade's GUI.- Specified by:
isToggleablein interfaceIOptionPage- Overrides:
isToggleablein classIOptionPage.SimpleOptionPage<HackClientHandler>- Returns:
- true if the upgrade is toggleable, false otherwise
-