Class CoreComponentsOptions
java.lang.Object
me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage.SimpleOptionPage<CoreComponentsClientHandler>
me.desht.pneumaticcraft.client.gui.pneumatic_armor.options.CoreComponentsOptions
- All Implemented Interfaces:
IOptionPage
public class CoreComponentsOptions
extends IOptionPage.SimpleOptionPage<CoreComponentsClientHandler>
-
Nested Class Summary
Nested classes/interfaces inherited from interface me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage
IOptionPage.SimpleOptionPage<T extends IArmorUpgradeClientHandler<?>> -
Constructor Summary
ConstructorsConstructorDescriptionCoreComponentsOptions(IGuiScreen screen, CoreComponentsClientHandler upgradeHandler) -
Method Summary
Modifier and TypeMethodDescriptionbooleanShould the "Settings" header be displayed?Get the keybinding button for this page, if any.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
getClientUpgradeHandler, getGuiScreen, getPageName, isToggleable, 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
-
CoreComponentsOptions
-
-
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<CoreComponentsClientHandler>- 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
-
displaySettingsHeader
public boolean displaySettingsHeader()Description copied from interface:IOptionPageShould the "Settings" header be displayed?- Specified by:
displaySettingsHeaderin interfaceIOptionPage- Overrides:
displaySettingsHeaderin classIOptionPage.SimpleOptionPage<CoreComponentsClientHandler>- Returns:
- true if the header should be displayed, false otherwise
-