Class AbstractSliderOptions<T extends IArmorUpgradeClientHandler<?>>
java.lang.Object
me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage.SimpleOptionPage<T>
me.desht.pneumaticcraft.client.gui.pneumatic_armor.options.AbstractSliderOptions<T>
- All Implemented Interfaces:
IOptionPage
- Direct Known Subclasses:
JetBootsOptions,JumpBoostOptions,SpeedBoostOptions
public abstract class AbstractSliderOptions<T extends IArmorUpgradeClientHandler<?>>
extends IOptionPage.SimpleOptionPage<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface me.desht.pneumaticcraft.api.client.pneumatic_helmet.IOptionPage
IOptionPage.SimpleOptionPage<T extends IArmorUpgradeClientHandler<?>> -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract net.minecraft.network.chat.ComponentgetRange()protected PointXYprotected abstract net.minecraft.network.chat.Componentprotected abstract 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.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
getKeybindingButton, settingsYposition
-
Method Details
-
getSliderPos
-
getRange
-
getTagName
The NBT tag on the armor item under which this slider value should be saved. The item used is determined bygetSlot(). -
getPrefix
protected abstract net.minecraft.network.chat.Component getPrefix() -
getSuffix
protected abstract net.minecraft.network.chat.Component getSuffix() -
populateGui
Description copied from interface:IOptionPageHere you can initialize your buttons and stuff like with aScreen.- Specified by:
populateGuiin interfaceIOptionPage- Overrides:
populateGuiin classIOptionPage.SimpleOptionPage<T extends IArmorUpgradeClientHandler<?>>- Parameters:
gui- the holding GUI
-
tick
public void tick()Description copied from interface:IOptionPageCalled immediately afterScreen.tick()
-