Class JetBootsOptions
java.lang.Object
me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage.SimpleOptionPage<T>
me.desht.pneumaticcraft.client.gui.pneumatic_armor.options.AbstractSliderOptions<JetBootsClientHandler>
me.desht.pneumaticcraft.client.gui.pneumatic_armor.options.JetBootsOptions
- 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.protected net.minecraft.network.chat.Componentprotected PointXYprotected net.minecraft.network.chat.Componentprotected StringThe NBT tag on the armor item under which this slider value should be saved.voidpopulateGui(IGuiScreen gui) Here you can initialize your buttons and stuff like with aScreen.voidtick()Called immediately afterScreen.tick()Methods inherited from class me.desht.pneumaticcraft.client.gui.pneumatic_armor.options.AbstractSliderOptions
getRangeMethods inherited from class me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage.SimpleOptionPage
displaySettingsHeader, 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
-
Constructor Details
-
JetBootsOptions
-
-
Method Details
-
populateGui
Description copied from interface:IOptionPageHere you can initialize your buttons and stuff like with aScreen.- Specified by:
populateGuiin interfaceIOptionPage- Overrides:
populateGuiin classAbstractSliderOptions<JetBootsClientHandler>- Parameters:
gui- the holding GUI
-
getSliderPos
- Overrides:
getSliderPosin classAbstractSliderOptions<JetBootsClientHandler>
-
tick
public void tick()Description copied from interface:IOptionPageCalled immediately afterScreen.tick()- Specified by:
tickin interfaceIOptionPage- Overrides:
tickin classAbstractSliderOptions<JetBootsClientHandler>
-
getTagName
Description copied from class:AbstractSliderOptionsThe NBT tag on the armor item under which this slider value should be saved. The item used is determined byAbstractSliderOptions.getSlot().- Specified by:
getTagNamein classAbstractSliderOptions<JetBootsClientHandler>
-
getPrefix
protected net.minecraft.network.chat.Component getPrefix()- Specified by:
getPrefixin classAbstractSliderOptions<JetBootsClientHandler>
-
getSuffix
protected net.minecraft.network.chat.Component getSuffix()- Specified by:
getSuffixin classAbstractSliderOptions<JetBootsClientHandler>
-
getKeybindingButton
Description copied from interface:IOptionPageGet the keybinding button for this page, if any. You can create a keybinding button withIClientArmorRegistry.makeKeybindingButton(int, KeyMapping).- Returns:
- the keybinding button, or
Optional.empty()if there isn't one
-