Package net.minecraft.client.gui.widget
Class OptionSlider
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.widget.Widget
net.minecraft.client.gui.widget.AbstractSlider
net.minecraft.client.gui.widget.GameSettingsSlider
net.minecraft.client.gui.widget.OptionSlider
- All Implemented Interfaces:
IBidiTooltip,IGuiEventListener,IRenderable
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.GameSettingsSlider
optionsFields inherited from class net.minecraft.client.gui.widget.AbstractSlider
valueFields inherited from class net.minecraft.client.gui.widget.Widget
active, alpha, height, isHovered, nextNarration, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, yFields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
ConstructorsConstructorDescriptionOptionSlider(GameSettings p_i51129_1_, int p_i51129_2_, int p_i51129_3_, int p_i51129_4_, int p_i51129_5_, SliderPercentageOption p_i51129_6_) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidMethods inherited from class net.minecraft.client.gui.widget.AbstractSlider
createNarrationMessage, getYImage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderBgMethods inherited from class net.minecraft.client.gui.widget.Widget
changeFocus, clearFGColor, clicked, getFGColor, getHeight, getMessage, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthMethods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.IGuiEventListener
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
option
-
-
Constructor Details
-
OptionSlider
public OptionSlider(GameSettings p_i51129_1_, int p_i51129_2_, int p_i51129_3_, int p_i51129_4_, int p_i51129_5_, SliderPercentageOption p_i51129_6_)
-
-
Method Details
-
applyValue
protected void applyValue()- Specified by:
applyValuein classAbstractSlider
-
updateMessage
protected void updateMessage()- Specified by:
updateMessagein classAbstractSlider
-
getTooltip
- Specified by:
getTooltipin interfaceIBidiTooltip
-