Package net.minecraft.client.gui.widget
Class DoubleOptionSliderWidget
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
net.minecraft.client.gui.widget.DoubleOptionSliderWidget
- All Implemented Interfaces:
Drawable
,Element
,OrderableTooltip
@Environment(CLIENT) public class DoubleOptionSliderWidget extends OptionSliderWidget implements OrderableTooltip
- Mappings:
Namespace Name official dsk
intermediary net/minecraft/class_4040
named net/minecraft/client/gui/widget/DoubleOptionSliderWidget
-
Field Summary
Fields Modifier and Type Field Description private DoubleOption
option
private List<OrderedText>
orderedTooltip
Fields inherited from class net.minecraft.client.gui.widget.OptionSliderWidget
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 Constructor Description DoubleOptionSliderWidget(GameOptions gameOptions, int x, int y, int width, int height, DoubleOption option, List<OrderedText> orderedTooltip)
-
Method Summary
Modifier and Type Method Description protected void
applyValue()
List<OrderedText>
getOrderedTooltip()
protected void
updateMessage()
Methods inherited from class net.minecraft.client.gui.widget.SliderWidget
getNarrationMessage, getYImage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderBg
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
-
option
- Mappings:
Namespace Name Mixin selector official c
Ldsk;c:Ldqq;
intermediary field_18012
Lnet/minecraft/class_4040;field_18012:Lnet/minecraft/class_4067;
named option
Lnet/minecraft/client/gui/widget/DoubleOptionSliderWidget;option:Lnet/minecraft/client/option/DoubleOption;
-
orderedTooltip
- Mappings:
Namespace Name Mixin selector official d
Ldsk;d:Ljava/util/List;
intermediary field_27984
Lnet/minecraft/class_4040;field_27984:Ljava/util/List;
named orderedTooltip
Lnet/minecraft/client/gui/widget/DoubleOptionSliderWidget;orderedTooltip:Ljava/util/List;
-
-
Constructor Details
-
DoubleOptionSliderWidget
public DoubleOptionSliderWidget(GameOptions gameOptions, int x, int y, int width, int height, DoubleOption option, List<OrderedText> orderedTooltip)- Mappings:
Namespace Name Mixin selector official <init>
Ldsk;<init>(Ldqo;IIIILdqq;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_4040;<init>(Lnet/minecraft/class_315;IIIILnet/minecraft/class_4067;Ljava/util/List;)V
named <init>
Lnet/minecraft/client/gui/widget/DoubleOptionSliderWidget;<init>(Lnet/minecraft/client/option/GameOptions;IIIILnet/minecraft/client/option/DoubleOption;Ljava/util/List;)V
-
-
Method Details
-
applyValue
protected void applyValue()- Specified by:
applyValue
in classSliderWidget
- Mappings:
Namespace Name Mixin selector official a
Ldrr;a()V
intermediary method_25344
Lnet/minecraft/class_357;method_25344()V
named applyValue
Lnet/minecraft/client/gui/widget/SliderWidget;applyValue()V
-
updateMessage
protected void updateMessage()- Specified by:
updateMessage
in classSliderWidget
- Mappings:
Namespace Name Mixin selector official b
Ldrr;b()V
intermediary method_25346
Lnet/minecraft/class_357;method_25346()V
named updateMessage
Lnet/minecraft/client/gui/widget/SliderWidget;updateMessage()V
-
getOrderedTooltip
- Specified by:
getOrderedTooltip
in interfaceOrderableTooltip
- Mappings:
Namespace Name Mixin selector official k
Ldso;k()Ljava/util/List;
intermediary method_31047
Lnet/minecraft/class_5499;method_31047()Ljava/util/List;
named getOrderedTooltip
Lnet/minecraft/client/util/OrderableTooltip;getOrderedTooltip()Ljava/util/List;
-