Package net.minecraft.client.gui.widget
Class OptionSliderWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.AbstractButtonWidget
net.minecraft.client.gui.widget.SliderWidget
net.minecraft.client.gui.widget.OptionSliderWidget
- Direct Known Subclasses:
DoubleOptionSliderWidget
,SoundSliderWidget
@Environment(CLIENT) public abstract class OptionSliderWidget extends SliderWidget
- Mappings:
Namespace Name official drp
intermediary net/minecraft/class_4892
named net/minecraft/client/gui/widget/OptionSliderWidget
-
Field Summary
Fields Modifier and Type Field Description protected GameOptions
options
Fields inherited from class net.minecraft.client.gui.widget.SliderWidget
value
Fields inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, y
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Modifier Constructor Description protected
OptionSliderWidget(GameOptions options, int x, int y, int width, int height, double value)
-
Method Summary
Methods inherited from class net.minecraft.client.gui.widget.SliderWidget
applyValue, getNarrationMessage, getYImage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderBg, updateMessage
Methods inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFocused, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
options
- Mappings:
Namespace Name Mixin selector official a
Ldrp;a:Ldqo;
intermediary field_22738
Lnet/minecraft/class_4892;field_22738:Lnet/minecraft/class_315;
named options
Lnet/minecraft/client/gui/widget/OptionSliderWidget;options:Lnet/minecraft/client/option/GameOptions;
-
-
Constructor Details
-
OptionSliderWidget
protected OptionSliderWidget(GameOptions options, int x, int y, int width, int height, double value)- Mappings:
Namespace Name Mixin selector official <init>
Ldrp;<init>(Ldqo;IIIID)V
intermediary <init>
Lnet/minecraft/class_4892;<init>(Lnet/minecraft/class_315;IIIID)V
named <init>
Lnet/minecraft/client/gui/widget/OptionSliderWidget;<init>(Lnet/minecraft/client/option/GameOptions;IIIID)V
-