Package net.minecraft.client.gui.widget
Class DoubleOptionSliderWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.SliderWidget
net.minecraft.client.gui.widget.OptionSliderWidget
net.minecraft.client.gui.widget.DoubleOptionSliderWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Selectable
,OrderableTooltip
@Environment(CLIENT)
public class DoubleOptionSliderWidget
extends OptionSliderWidget
implements OrderableTooltip
- Mappings:
Namespace Name official dxp
intermediary net/minecraft/class_4040
named net/minecraft/client/gui/widget/DoubleOptionSliderWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
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.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, y
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
ConstructorDescriptionDoubleOptionSliderWidget(GameOptions gameOptions, int x, int y, int width, int height, DoubleOption option, List<OrderedText> orderedTooltip)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
Methods inherited from class net.minecraft.client.gui.widget.SliderWidget
appendNarrations, getNarrationMessage, getYImage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderBackground
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getType, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, method_37021, method_37303, mouseClicked, mouseDragged, mouseReleased, onFocusedChanged, render, renderButton, renderToolTip, setAlpha, setFocused, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, 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
Ldxp;c:Ldvu;
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
Ldxp;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>
Ldxp;<init>(Ldvs;IIIILdvu;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
Ldww;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
Ldww;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 j
Ldxs;j()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;
-