public class JetBootsOptions extends AbstractSliderOptions<JetBootsClientHandler>
IOptionPage.SimpleOptionPage<T extends IArmorUpgradeClientHandler<?>>| Constructor and Description |
|---|
JetBootsOptions(IGuiScreen screen,
JetBootsClientHandler upgradeHandler) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<IKeybindingButton> |
getKeybindingButton()
Get the keybinding button for this page, if any.
|
protected net.minecraft.util.text.ITextComponent |
getPrefix() |
protected PointXY |
getSliderPos() |
protected net.minecraft.util.text.ITextComponent |
getSuffix() |
protected java.lang.String |
getTagName()
The NBT tag on the armor item under which this slider value should be saved.
|
void |
populateGui(IGuiScreen gui)
Here you can initialize your buttons and stuff like with a
Screen. |
void |
tick()
Called immediately after
Screen.tick() |
getRange, onChangeSliderValuedisplaySettingsHeader, getClientUpgradeHandler, getGuiScreen, getPageName, isToggleable, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseScrolled, renderPost, renderPreclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsettingsYpositionpublic JetBootsOptions(IGuiScreen screen, JetBootsClientHandler upgradeHandler)
public void populateGui(IGuiScreen gui)
IOptionPageScreen.populateGui in interface IOptionPagepopulateGui in class AbstractSliderOptions<JetBootsClientHandler>gui - the holding GUIprotected PointXY getSliderPos()
getSliderPos in class AbstractSliderOptions<JetBootsClientHandler>public void tick()
IOptionPageScreen.tick()tick in interface IOptionPagetick in class AbstractSliderOptions<JetBootsClientHandler>protected java.lang.String getTagName()
AbstractSliderOptionsAbstractSliderOptions.getSlot().getTagName in class AbstractSliderOptions<JetBootsClientHandler>protected net.minecraft.util.text.ITextComponent getPrefix()
getPrefix in class AbstractSliderOptions<JetBootsClientHandler>protected net.minecraft.util.text.ITextComponent getSuffix()
getSuffix in class AbstractSliderOptions<JetBootsClientHandler>public java.util.Optional<IKeybindingButton> getKeybindingButton()
IOptionPageIPneumaticHelmetRegistry.makeKeybindingButton(int, KeyBinding).Optional.empty() if there isn't one